MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0027130Open CASCADE[OCCT] OCCT:Visualizationpublic2016-02-05 10:432020-09-21 17:42
Reporterkgv 
Assigned Tomzernova 
PrioritynormalSeverityminor 
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 7.0.0 
Target Version[OCCT] 7.6.0*Fixed in Version 
Summary0027130: Visualization, Ray tracing - skip structures with transformation persistence flag
DescriptionTransformation persistence is not supported by Ray Tracing core. Thus, such structures should not be identified as ray-traceable and should be rendered using rasterization approach.
Steps To Reproduce
test bugs vis bug26719_1 1
vraytrace 1

TagsNo tags attached.
Test case number
Attached Filespng file icon zoompers_raytrace_KO.png (3,405 bytes) 2016-02-05 10:43
png file icon zoompers_raster_OK.png (19,942 bytes) 2016-02-05 10:43

- Relationships

-  Notes
(0093055)
git (administrator)
2020-07-09 11:33

Branch CR27130 has been created by mzernova.

SHA-1: 0e53cca0a4c70160baefcf63a5539a61c6c3b883


Detailed log of new commits:

Author: mzernova
Date: Thu Jul 9 11:32:40 2020 +0300

    0027130: Visualization, Ray tracing - skip structures with transformation persistence flag
    
    Added myHasPersistence flag into Graphic3d_PrimitiveArray and Graphic3d_Group
    It is allows to determine objects with transform persistence as non ray-traceable
    and render them using the rasterization approach
(0093061)
mzernova (developer)
2020-07-09 14:17

http://vm-jenkins-test-12.nnov.opencascade.com:8080/view/CR27130-master-mzernova [^]
(0093071)
kgv (developer)
2020-07-09 18:27

OpenGl_Structure::SetTransformPersistence() is not handled by the patch.

   OpenGl_PrimitiveArray* anArray = new OpenGl_PrimitiveArray (aDriver, theType, theIndices, theAttribs, 
theBounds);
+  anArray->SetPersistence (HasPersistence());

There is no reason for OpenGl_PrimitiveArray or OpenGl_Group to be aware of transformation persistence assigned to entire structure.

--- a/tests/bugs/vis/bug26719_1
+++ b/tests/bugs/vis/bug26719_1

+vraytrace 1
+vdump ${imagedir}/${casename}_raytrace.png

This test case is dedicated to another issue.
Ray-Tracing test cases should be defined independently in v3d/raytrace test grid.

- Issue History
Date Modified Username Field Change
2016-02-05 10:43 kgv New Issue
2016-02-05 10:43 kgv Assigned To => kgv
2016-02-05 10:43 kgv File Added: zoompers_raytrace_KO.png
2016-02-05 10:43 kgv File Added: zoompers_raster_OK.png
2016-10-25 09:41 kgv Target Version 7.1.0 => 7.2.0
2017-07-20 10:52 kgv Target Version 7.2.0 => 7.4.0
2019-09-04 12:48 abv Target Version 7.4.0 => 7.5.0
2020-07-02 10:09 kgv Assigned To kgv => mzernova
2020-07-02 10:09 kgv Status new => assigned
2020-07-09 11:33 git Note Added: 0093055
2020-07-09 14:17 mzernova Note Added: 0093061
2020-07-09 18:27 kgv Note Added: 0093071
2020-09-21 17:42 kgv Target Version 7.5.0 => 7.6.0*


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker