1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/vis/bug21757_1
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

24 lines
533 B
Plaintext

puts "============"
puts "OCC21757"
puts "============"
puts ""
#######################################################################
# Funny (giraffe-like) shading of torus meshed with specific parameters (WNT)
#######################################################################
set BugNumber OCC21757
vinit
vsetdispmode 1
vclear
# variant 1: mesh explicitly
ptorus result 200 50 45
incmesh result 0.4
vdisplay result
vfit
checkcolor 200 200 0.89 0.63 0.109
checkview -screenshot -3d -path ${imagedir}/${test_image}.png