MantisBT - Community
View Issue Details
0023886Community[OCCT] OCCT:Visualizationpublic2013-04-09 16:462014-11-11 13:01
Pawel 
bugmaster 
normalminor 
closedfixed 
WindowsVC++ 200864 bit
[OCCT] 6.6.0 
[OCCT] 6.8.0[OCCT] 6.8.0 
bugs vis(004) bug23886_1,bug23886_2,bug23886_3
0023886: Visualizing planar faces with "notches" depends heavily on the deflection coefficient
Attached some sample BREP files with affected planar faces (they seem to be valid).

If the deflection coefficient is too big the faces are visualized incorrectly in the shaded mode.

On the attached pictures it can be seen what deflection values were used for each face.
pload ALL
restore face_01.brep s
vinit
vdisplay s
vfit
vsetdispmode s 1
vsetshading s 0.00001
vsetshading s 0.01
No tags attached.
related to 0024959closed bugmaster Open CASCADE GCPnts_TangentialDeflection does not implement functionality by its meaning in case of BSpline with local splash 
? face_01.brep (10,954) 2013-04-09 16:46
https://tracker.dev.opencascade.org/
png face_01.png (20,721) 2013-04-09 16:46
https://tracker.dev.opencascade.org/
? face_02.brep (15,501) 2013-04-09 16:47
https://tracker.dev.opencascade.org/
png face_02.png (16,703) 2013-04-09 16:47
https://tracker.dev.opencascade.org/
? face_03.brep (16,636) 2013-04-09 16:47
https://tracker.dev.opencascade.org/
png face_03.png (19,779) 2013-04-09 16:47
https://tracker.dev.opencascade.org/
Issue History
2013-04-09 16:46PawelNew Issue
2013-04-09 16:46PawelAssigned To => bugmaster
2013-04-09 16:46PawelFile Added: face_01.brep
2013-04-09 16:46PawelFile Added: face_01.png
2013-04-09 16:47PawelFile Added: face_02.brep
2013-04-09 16:47PawelFile Added: face_02.png
2013-04-09 16:47PawelFile Added: face_03.brep
2013-04-09 16:47PawelFile Added: face_03.png
2013-04-12 15:31PawelProduct Version6.6.0 => 6.7.0
2013-04-12 15:34PawelProduct Version6.7.0 => 6.6.0
2013-04-12 15:34PawelTarget Version => 6.7.0
2013-04-12 15:43abvNote Added: 0024119
2013-12-12 10:57sanTarget Version6.7.0 => 6.7.1
2014-04-04 18:32abvTarget Version6.7.1 => 6.8.0
2014-05-26 16:24oanRelationship addedrelated to 0024959
2014-09-26 12:16abvNote Added: 0032215
2014-09-26 12:16abvStatusnew => feedback
2014-09-26 14:23bugmasterAssigned Tobugmaster => mkv
2014-10-08 20:42gitNote Added: 0032849
2014-10-09 10:34mkvNote Added: 0032861
2014-10-09 10:35mkvTest case number => bugs vis(004) bug23886_1,bug23886_2,bug23886_3
2014-10-09 10:35mkvAssigned Tomkv => abv
2014-10-09 10:43abvNote Added: 0032865
2014-10-09 10:50abvAssigned Toabv => mkv
2014-10-09 13:37mkvNote Added: 0032882
2014-10-09 13:37mkvAssigned Tomkv => bugmaster
2014-10-09 13:37mkvStatusfeedback => tested
2014-10-13 10:48oanNote Added: 0033002
2014-10-13 10:48oanAssigned Tobugmaster => mkv
2014-10-13 10:48oanStatustested => feedback
2014-10-13 10:49oanNote Edited: 0033002bug_revision_view_page.php?bugnote_id=33002#r8345
2014-10-13 10:50oanNote Edited: 0033002bug_revision_view_page.php?bugnote_id=33002#r8346
2014-10-13 17:52bugmasterChangeset attached => occt master de6f281f
2014-10-13 17:52bugmasterAssigned Tomkv => bugmaster
2014-10-13 17:52bugmasterStatusfeedback => verified
2014-10-13 17:52bugmasterResolutionopen => fixed
2014-10-21 16:42gitNote Added: 0033418
2014-11-11 12:43aivFixed in Version => 6.8.0
2014-11-11 13:01aivStatusverified => closed

Notes
(0024119)
abv   
2013-04-12 15:43   
I guess there is an option to define angular deflection which can help getting better result while keeping linear deflection reasonably high...
(0032215)
abv   
2014-09-26 12:16   
The problem can be avoided by setting appropriate angular deflection, e.g.:

vdefaults angDefl=1

I propose adding a test case and closing the issue
(0032849)
git   
2014-10-08 20:42   
Branch CR23886 has been created by mkv.

SHA-1: 6319164c6ba9bed9194afeb3286aa5b91e54a034


Detailed log of new commits:

Author: mkv
Date: Wed Oct 8 20:41:47 2014 +0400

    Test cases for issue CR23886
(0032861)
mkv   
2014-10-09 10:34   
Dear BugMaster,
Test cases bugs/vis(004)/bug23886_1,bug23886_2,bug23886_3 is created and pushed to new branch CR23886 of occt git-repository.

Test cases bugs/vis(004)/bug23886_2,bug23886_3 are OK.

http://occt-tests/master-CR25323-occt/Debian60-64/bugs/vis/bug23886_2.html [^]
http://occt-tests/master-CR25323-occt/Windows-32-VC10/bugs/vis/bug23886_2.html [^]

http://occt-tests/master-CR25323-occt/Debian60-64/bugs/vis/bug23886_3.html [^]
http://occt-tests/master-CR25323-occt/Windows-32-VC10/bugs/vis/bug23886_3.html [^]


Test case bugs/vis(004)/bug23886_1 have different images. Dear abv, it is normal?

http://occt-tests/master-CR25323-occt/Debian60-64/bugs/vis/bug23886_1.html [^]
http://occt-tests/master-CR25323-occt/Windows-32-VC10/bugs/vis/bug23886_1.html [^]
(0032865)
abv   
2014-10-09 10:43   
Yep, it is normal that images are different for different deflections used
(0032882)
mkv   
2014-10-09 13:37   
OK.
(0033002)
oan   
2014-10-13 10:48   
(edited on: 2014-10-13 10:50)
Dear MKV,
please remove line

vdefaults angDefl=1

from test cases, use test script provided by reporter and run tests again.

Bug should be solved using functionality from 0024959 without any cheats.

(0033418)
git   
2014-10-21 16:42   
Branch CR23886 has been deleted by inv.

SHA-1: 6319164c6ba9bed9194afeb3286aa5b91e54a034