mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
V3d_View::GetGraduatedTrihedron() - return configuration structure directly. OpenGl_View::TriedronDisplay() - do not re-create trihedron on each Display call. OpenGl_Trihedron::Setup() - eliminate global variables. OpenGl_PrimitiveArray::buildVBO() - release old VBOs before initialization. ViewerTest.hxx - move out package header from .cdl file. ViewerTest::ParseColor() - add new method to parse color arguments in common way. vzbufftrihedron - improve command syntax. vgraduatedtrihedron - add options -drawgrid and -drawaxes.
24 lines
679 B
Plaintext
24 lines
679 B
Plaintext
puts "============"
|
|
puts "OCC23484"
|
|
puts "============"
|
|
puts ""
|
|
############################################################################################
|
|
puts "Visualization, TKOpenGl - primitive arrays to become the only way to render geometry"
|
|
puts "Tests wireframe trihedron rendering with primitive arrays"
|
|
############################################################################################
|
|
|
|
set anImage1 $imagedir/${casename}_1.png
|
|
set anImage2 $imagedir/${casename}_2.png
|
|
|
|
vinit View1
|
|
vfit
|
|
vaxo
|
|
|
|
vzbufftrihedron -scale 0.1 -type wireframe -position left_lower
|
|
vdump $anImage1
|
|
|
|
vzbufftrihedron -scale 0.1 -type wireframe -position center
|
|
vdump $anImage2
|
|
|
|
vclear
|