0025507: Visualization - the method V3d_View::Place() is incorrect
[occt.git] / tests / bugs / vis / bug137_4
CommitLineData
63c629aa 1
2puts "========================"
3puts "OCC137"
4puts "========================"
5###############################################################
6#Patch description:
7#
8#MIT010717 : 3D selection management
9#>>> MIT010717 : Selection management
10#
11# * Package OpenGl (OpenGl_execstruct.c)
12#
13# @ Avoid drawing quality problem on selected face,
14# enable/disable Z offset on highlighted faces.
15#
16#>>> MIT010717 : drawing management
17#
18# * Package OpenGl (OpenGl_indexpolygon.c, ...)
19#
20# @ Avoid to undraw faces with confused points
21###############################################################
22puts "========================"
23
24vinit
25box b 10 10 10
26vdisplay b
27vfit
28vsetdispmode 1
29
30puts "Only bottom face should be highlighted."
31
32vselmode 4 1
33
34OCC137 1
35OCC137_z
36
37set x_coord 105
38set y_coord 348
39
40vmoveto $x_coord $y_coord
41
42set x_coord 105
43set y_coord 340
44
45checkcolor $x_coord $y_coord 0 1 1
46
47set x_coord 105
48set y_coord 340
49vviewparams -scale 60.6309 -proj 0.592163 -0.60038 -0.537482 -up 0.369921 -0.390032 0.843228 -at 3.29057034725635 6.73314999296002 6.55157729015654
50
51checkcolor $x_coord $y_coord 0.78 0.54 0.09
52
53set only_screen 1