View Issue Details

IDProjectCategoryView StatusLast Update
0026863CommunityOCCT:Visualizationpublic2017-04-28 13:07
ReporterRoman Lygin Assigned Tobugmaster  
PrioritynormalSeverityfeature 
Status closedResolutionduplicate 
PlatformWindowsOSVC++ 2013 
Product Version6.9.1 
Target Version7.2.0 
Summary0026863: Weird visualization of the shape located at a very far point from axis origin
DescriptionThe enclosed small cone (about 5x5x5 mm) is located in a very far point (1200m, 800m, 0m). The model is real-world coming from a customer file.

Shading is very weird (see shading.png) and rotation triggers a lot of flickering.
Triangulation is fine - see triangulation.png

After moving the shape close to origin (0,0,0) display is fine.
Steps To Reproducerestore t.brep t
bounding t #small bounding box located very far
vinit
vdisplay t #weird display

restore t.brep t
ttranslate t 1199982.5707560785 800037.71111409366 -4.7890963413671246
vclear
vdisplay t #OK

TagsNo tags attached.
Test case number

Attached Files

  • t.zip (5,844 bytes)
  • shading.png (77,920 bytes)
  • triangulation.png (124,747 bytes)
  • shading_ok.png (83,674 bytes)

Activities

Roman Lygin

2015-11-11 19:34

developer  

t.zip (5,844 bytes)

Roman Lygin

2015-11-11 19:34

developer  

shading.png (77,920 bytes)

Roman Lygin

2015-11-11 19:35

developer  

triangulation.png (124,747 bytes)

Roman Lygin

2015-11-11 19:35

developer  

shading_ok.png (83,674 bytes)

kgv

2015-11-11 20:29

developer   ~0048081

Dear Roman,

this is a known limitation caused by limited precision of float numbers (visualization uses single precision, thus precision issues occurs earlier than on modeling level usually using double precision floats).

Roman Lygin

2015-11-11 20:37

developer   ~0048082

Thank you Kirill. That was among the guesses we had in a team.
Good to know you seem to be working already on this (#24393 is not accessible though).

kgv

2017-04-28 10:07

developer   ~0065631

Dear bugmaster,

please close the issue as duplicate.

Issue History

Date Modified Username Field Change
2015-11-11 19:34 Roman Lygin New Issue
2015-11-11 19:34 Roman Lygin Assigned To => kgv
2015-11-11 19:34 Roman Lygin File Added: t.zip
2015-11-11 19:34 Roman Lygin File Added: shading.png
2015-11-11 19:35 Roman Lygin File Added: triangulation.png
2015-11-11 19:35 Roman Lygin File Added: shading_ok.png
2015-11-11 20:24 kgv Severity minor => feature
2015-11-11 20:24 kgv Target Version 7.0.0 => 7.1.0
2015-11-11 20:29 kgv Note Added: 0048081
2015-11-11 20:37 Roman Lygin Note Added: 0048082
2016-10-25 09:43 kgv Target Version 7.1.0 => 7.2.0
2017-04-28 10:07 kgv Note Added: 0065631
2017-04-28 10:07 kgv Assigned To kgv => bugmaster
2017-04-28 10:07 kgv Status new => feedback
2017-04-28 10:07 kgv Resolution open => duplicate
2017-04-28 13:07 bugmaster Status feedback => closed