Archived issue #0027337
[Regression vs. 6.9.1] Selection highlight is poor in ray traced mode with FSAA
Description
The problem is observed in DRAW samples Penrose.tcl and raytrace.tcl
When ray tracing is enabled with FSAA, selection highlight looks like it does not take into account depth buffer properly: even edges which are behind shaded objects are highlighted, and at the same time all highlight lines are 'dashed'. Note that the 'dashing' is different each next time, which suggests that some non-initialized data are used.
See attached picture for illustration.
When ray tracing is enabled with FSAA, selection highlight looks like it does not take into account depth buffer properly: even edges which are behind shaded objects are highlighted, and at the same time all highlight lines are 'dashed'. Note that the 'dashing' is different each next time, which suggests that some non-initialized data are used.
See attached picture for illustration.
Steps to reproduce
pload MODELING VISUALIZATION
box b 10 10 10
vdisplay b
vsetdispmode 1
vfit
vrenderparams -rayTrace -fsaa
vmoveto 200 200
box b 10 10 10
vdisplay b
vsetdispmode 1
vfit
vrenderparams -rayTrace -fsaa
vmoveto 200 200
Public activity
8 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Participant.
[revision removed]
Detailed log of new commits:
Author: duv
Date: Mon Apr 4 12:16:49 2016 +0300
0027337: [Regression vs. 6.9.1] Selection highlight is poor in ray traced mode with FSAA
[revision removed]
Detailed log of new commits:
Author: duv
Date: Mon Apr 4 12:16:49 2016 +0300
0027337: [Regression vs. 6.9.1] Selection highlight is poor in ray traced mode with FSAA
Dear kgv,
please review the patch.
please review the patch.
For FSAA mode we now store the depth values from first sample in myRaytraceFBO1 and do not modify it while collecting the rest of samples. When all samples are gathered we fetch color from myRaytraceFBO2 and depth from myRaytraceFBO1 and display it to the current FBO.
Branch [archived branch] has been updated by Author.
[revision removed]
Detailed log of new commits:
Author: duv
Date: Mon Apr 4 12:16:49 2016 +0300
0027337: [Regression vs. 6.9.1] Selection highlight is poor in ray traced mode with FSAA
For FSAA mode we now store the depth values from first sample in myRaytraceFBO1 and do not modify it while collecting the rest of samples.
When all samples are gathered we fetch color from myRaytraceFBO2 and depth from myRaytraceFBO1 and display it to the current FBO.
Test bugs vis bug27237 added.
[revision removed]
Detailed log of new commits:
Author: duv
Date: Mon Apr 4 12:16:49 2016 +0300
0027337: [Regression vs. 6.9.1] Selection highlight is poor in ray traced mode with FSAA
For FSAA mode we now store the depth values from first sample in myRaytraceFBO1 and do not modify it while collecting the rest of samples.
When all samples are gathered we fetch color from myRaytraceFBO2 and depth from myRaytraceFBO1 and display it to the current FBO.
Test bugs vis bug27237 added.
I have added a test case and tested on Windows on my workstation; please compile and run test bugs vis bug27337 on Linux and Windows in test environment to ensure that new test passes
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: apv
Date: Mon Apr 4 15:41:20 2016 +0300
Renaming of test case according to the issue #0027337
[revision removed]
Detailed log of new commits:
Author: apv
Date: Mon Apr 4 15:41:20 2016 +0300
Renaming of test case according to the issue #0027337
Dear Commenter 1,
Branch CR27337 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms.
[revision removed]
Number of compiler warnings:
occt component:
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS: 0 (0 on master)
products component:
Linux: 68
Windows: 0
MacOS: 1125
Testing cases:
bugs vis bug27337 - OK
http://occt-tests/CR27337-master-OCCT/Debian70-64/bugs/vis/bug27337.html
http://occt-tests/CR27337-master-OCCT/Windows-64-VC10/bugs/vis/bug27337.html
Branch CR27337 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms.
[revision removed]
Number of compiler warnings:
occt component:
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS: 0 (0 on master)
products component:
Linux: 68
Windows: 0
MacOS: 1125
Testing cases:
bugs vis bug27337 - OK
http://occt-tests/CR27337-master-OCCT/Debian70-64/bugs/vis/bug27337.html
http://occt-tests/CR27337-master-OCCT/Windows-64-VC10/bugs/vis/bug27337.html
Branch [archived branch] has been deleted by Commenter 3.
[revision removed]
[revision removed]
Related records