mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024393: Visualization - objects position with enchanced precision
Graphic3d_ZLayerSettings - public fields have been replaced by methods. Added new property Origin defining local coordinate system for all Layer objects. Syntax of Draw Harness command VZLayer has been redesigned. Graphic3d_CStructure now stores bounding box with double precision floats. OpenGl_BVHTreeSelector - frustum culling now works with double precision floats.
This commit is contained in:
@@ -11,11 +11,11 @@ vertex v 100 -300 0
|
||||
vclear
|
||||
vinit View1
|
||||
catch { vzlayer del 1 }
|
||||
vzlayer add 1
|
||||
vzlayer enable 1 depthclear
|
||||
set aLayerId [vzlayer add]
|
||||
vzlayer ${aLayerId} -enable depthClear
|
||||
vaxo
|
||||
vdisplay -noupdate -dispMode 1 -highMode 1 b1
|
||||
vdisplay -noupdate -dispMode 1 -highMode 1 -layer 1 b2
|
||||
vdisplay -noupdate -dispMode 1 -highMode 1 -layer ${aLayerId} b2
|
||||
vsetcolor -noupdate b1 RED
|
||||
vsetcolor -noupdate b2 GREEN
|
||||
vfit
|
||||
|
Reference in New Issue
Block a user