1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/vis/bug23883
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
631 B
Plaintext

puts "=========="
puts "OCC23883"
#################################################################################
puts "Bound color in the primitive array do not work when displayed using VBO"
#################################################################################
set x_coord 321
set y_coord 200
vinit
vvbo 0
vdrawparray pl01 polylines 0 v 0 0 0 v 0 10 0 v 0 10 10 v 0 0 0 b 4 c 1 0 0
vfit
checkcolor $x_coord $y_coord 1 0 0
vclear
vvbo 1
vdrawparray pl01 polylines 0 v 0 0 0 v 0 10 0 v 0 10 10 v 0 0 0 b 4 c 1 0 0
checkcolor $x_coord $y_coord 1 0 0
checkview -screenshot -3d -path ${imagedir}/${test_image}.png