mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-16 13:20:33 +08:00
0031039: Visualization - add elliptical gradient background style
Added new elliptical gradient fill method and updated vbackground command. Renamed enum values of Aspect_GradientFillMethod and defined aliases for old ones. Changed draw mode in OpenGl_BackgroundArray from triangle-strip to GL_TRIANGLES.
This commit is contained in:
10
tests/opengl/data/background/elliptical
Normal file
10
tests/opengl/data/background/elliptical
Normal file
@@ -0,0 +1,10 @@
|
||||
puts "============"
|
||||
puts "0031039: Visualization - add elliptical gradient background style"
|
||||
puts "============"
|
||||
puts ""
|
||||
|
||||
pload VISUALIZATION
|
||||
vinit View1
|
||||
|
||||
vbackground -gradient WHITE BLACK -gradientMode ELLIPTICAL
|
||||
vdump $imagedir/${casename}.png
|
||||
Reference in New Issue
Block a user