0027715: Visualization - turn off deprecated OpenGL fixed-function pipeline by default
[occt.git] / tests / bugs / vis / bug22368
CommitLineData
7faaccfd 1puts "========================"
2puts "OCC22368"
3puts "========================"
4puts ""
5#######################################################################
6# AIS_Trihedron's highlight presentation isn't updated on trihedron relocation
7#######################################################################
8
9set BugNumber OCC22368
10
be375252 11# enable FFP until bug-fix for GLSL
12vcaps -ffp 1
13
7faaccfd 14vinit
15vtrihedron trihedron
16OCC74_set trihedron 3
17
18set x1 200
19set x2 220
20set x3 210
21
22set y 190
23
24vselect ${x3} ${y}
25
26set new_x 100
27set new_y 100
28set new_z 100
29
30vsetlocation trihedron ${new_x} ${new_y} ${new_z}
31
32set status 0
33for {set i ${x1} } {$i <= ${x2} } {incr i} {
34 checkcolor ${i} ${y} 0 0 0
35}
36
5747059b 37checkview -screenshot -3d -path ${imagedir}/${test_image}.png