mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
Removed testgrids 'bugs/vis' and '3rdparty'; tests have been redistributed across other grids. Moved testgrid 'v3d/ivtk' into dedicated 'vtk/ivtk'. Added testgrid 'vselect' dedicated to 3D viewer picking/selection functionality and filled with tests from 'v3d/vertex', 'v3d/face' and similar groups. Added testgrid 'opengl' dedicated to OpenGL driver low-level functionality (GLSL programs and similar) and filled with tests from 'v3d/glsl', 'v3d/raytrace', '3rdparty/fonts', 'bugs/vis' (portion) and similar. Added testgrid 'opengles3' dedicated to OpenGL ES 3.0 driver low-level functionality and reusing tests from 'opengl' testgrid. Subgroup 'opengles3/raytrace' is disabled on Windows, as Ray-Tracing currently requires OpenGL ES 3.2. while ANGLE library implements only OpenGL ES 3.0. Added testgrid 'opengles2' dedicated to OpenGL ES 2.0 driver low-level functionality and reusing a limited subset of passing tests from 'opengl' testgrid. Currently testgrid is activated only on Windows platform when using ANGLE library (properietary OpenGL ES drivers do not allow creation of restricted 2.0 context). Test cases have been cleaned out to put bug description into log, to properly load necessary plugins and to explicitly dump viewer.
76 lines
3.0 KiB
Plaintext
76 lines
3.0 KiB
Plaintext
puts "============"
|
|
puts "OCC21747"
|
|
puts "============"
|
|
puts ""
|
|
|
|
pload VISUALIZATION
|
|
vinit View1
|
|
|
|
puts "Type=NONE, Color from RED to BLUE"
|
|
vbackground -gradient RED BLUE -gradientMode NONE
|
|
vdump $imagedir/${casename}_none.png
|
|
|
|
puts "Type=HORIZONTAL, Color from RED to BLUE, Direction from LEFT to RIGHT"
|
|
vbackground -gradient RED BLUE -gradientMode HORIZONTAL
|
|
vdump $imagedir/${casename}_hor1.png
|
|
|
|
puts "Type=HORIZONTAL, Color from BLUE to RED, Direction from LEFT to RIGHT"
|
|
vbackground -gradient BLUE RED -gradientMode HORIZONTAL
|
|
vdump $imagedir/${casename}_hor2.png
|
|
|
|
puts "Type=VERTICAL, Color from RED to BLUE, Direction from TOP to BOTTOM"
|
|
vbackground -gradient RED BLUE -gradientMode VERTICAL
|
|
vdump $imagedir/${casename}_vert1.png
|
|
|
|
puts "Type=VERTICAL, Color from BLUE to RED, Direction from TOP to BOTTOM"
|
|
vbackground -gradient BLUE RED -gradientMode VERTICAL
|
|
vdump $imagedir/${casename}_vert2.png
|
|
|
|
puts "Type=DIAGONAL1, Color from RED to BLUE, Direction from LEFT TOP CORNER to RIGHT BOTTOM CORNER"
|
|
vbackground -gradient RED BLUE -gradientMode DIAGONAL1
|
|
vdump $imagedir/${casename}_diag1.png
|
|
|
|
puts "Type=DIAGONAL1, Color from BLUE to RED, Direction from LEFT TOP CORNER to RIGHT BOTTOM CORNER"
|
|
vbackground -gradient BLUE RED -gradientMode DIAGONAL1
|
|
vdump $imagedir/${casename}_diag2.png
|
|
|
|
puts "Type=DIAGONAL2, Color from RED to BLUE, Direction from RIGHT TOP CORNER to LEFT BOTTOM CORNER"
|
|
vbackground -gradient RED BLUE -gradientMode DIAGONAL2
|
|
vdump $imagedir/${casename}_diag3.png
|
|
|
|
puts "Type=DIAGONAL2, Color from BLUE to RED, Direction from RIGHT TOP CORNER to LEFT BOTTOM CORNER"
|
|
vbackground -gradient BLUE RED -gradientMode DIAGONAL2
|
|
vdump $imagedir/${casename}_diag4.png
|
|
|
|
puts "Type=CORNER1, Color from RED to BLUE, Direction from LEFT TOP CORNER"
|
|
vbackground -gradient RED BLUE -gradientMode CORNER1
|
|
vdump $imagedir/${casename}_corn1.png
|
|
|
|
puts "Type=CORNER2, Color from RED to BLUE, Direction from RIGHT TOP CORNER"
|
|
vbackground -gradient RED BLUE -gradientMode CORNER2
|
|
vdump $imagedir/${casename}_corn2.png
|
|
|
|
puts "Type=CORNER3, Color from RED to BLUE, Direction from RIGHT BOTTOM CORNER"
|
|
vbackground -gradient RED BLUE -gradientMode CORNER3
|
|
vdump $imagedir/${casename}_corn3.png
|
|
|
|
puts "Type=CORNER4, Color from RED to BLUE, Direction from LEFT BOTTOM CORNER"
|
|
vbackground -gradient RED BLUE -gradientMode CORNER4
|
|
vdump $imagedir/${casename}_corn4.png
|
|
|
|
puts "Type=CORNER1, Color from BLUE to RED, Direction from LEFT TOP CORNER"
|
|
vbackground -gradient BLUE RED -gradientMode CORNER1
|
|
vdump $imagedir/${casename}_corn5.png
|
|
|
|
puts "Type=CORNER2, Color from BLUE to RED, Direction from RIGHT TOP CORNER"
|
|
vbackground -gradient BLUE RED -gradientMode CORNER2
|
|
vdump $imagedir/${casename}_corn6.png
|
|
|
|
puts "Type=CORNER3, Color from BLUE to RED, Direction from RIGHT BOTTOM CORNER"
|
|
vbackground -gradient BLUE RED -gradientMode CORNER3
|
|
vdump $imagedir/${casename}_corn7.png
|
|
|
|
puts "Type=CORNER4, Color from BLUE to RED, Direction from LEFT BOTTOM CORNER"
|
|
vbackground -gradient BLUE RED -gradientMode CORNER4
|
|
vdump $imagedir/${casename}_corn8.png
|