mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-20 11:10:05 +08:00
Color scale is implemented on AIS. Draw command vcolorscale now works with AIS_ColorScale. In a qt sample VoxelDemo there was added a field AIS_ColorScale myColorsScale to control a color scale. Method displayColorScale and other methods were changed in order to work with this field.
20 lines
357 B
Plaintext
Executable File
20 lines
357 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC22819"
|
|
puts "Redesign of OpenGl driver(Tests ColorScale)"
|
|
puts "============"
|
|
puts ""
|
|
|
|
set BugNumber OCC22819
|
|
|
|
plane p 100 100 100 0 0 1 1 0 0
|
|
psphere result p 30
|
|
vinit View1
|
|
vdisplay result
|
|
vsetmaterial result SILVER
|
|
vsettransparency result 0.6
|
|
vcolorscale cs -demo
|
|
vsetdispmode result 1
|
|
|
|
set square 11309.6
|
|
set only_screen 1
|