0027986: Visualization - AIS_InteractiveContext::SetLocation() does not update dynami...
[occt.git] / tests / bugs / vis / bug26149
CommitLineData
eae454e3 1puts "==========="
2puts "0026149: Visualization - depth buffer should not be written within Z-layers without Graphic3d_ZLayerDepthWrite flag"
3puts "Check that objects drawn in Graphic3d_ZLayerId_BotOSD layer do not overlap objects in Graphic3d_ZLayerId_Default layer."
4puts "==========="
5
6fb1a930 6vfont add [locate_data_file DejaVuSans.ttf] SansFont
7
eae454e3 8pload MODELING VISUALIZATION
9vinit View1
10vclear
11vaxo
12
6fb1a930 13text2brep tcc "Center" -font SansFont -height 30
778cd667 14vdisplay tcc -2d center -underlay
eae454e3 15polyline lcc -50 -50 0 -50 50 0 50 50 0 50 0 0 0 -50 0 -50 -50 0
778cd667 16vdisplay lcc -2d center -underlay
eae454e3 17
6fb1a930 18text2brep tbl "Bottom-Left" -font SansFont -height 30
778cd667 19vdisplay tbl -2d bottomLeft 5 5 -underlay
eae454e3 20polyline lbl 0 0 0 0 100 0 100 100 0 100 50 0 50 0 0 0 0 0
778cd667 21vdisplay lbl -2d bottomLeft 3 3 -underlay
eae454e3 22
6fb1a930 23text2brep ttl "Top-Left" -font SansFont -height 30 -pos -27 0 0
778cd667 24vdisplay ttl -2d topLeft 30 30 -underlay
eae454e3 25polyline ltl 0 -100 0 0 0 0 100 0 0 100 -50 0 50 -100 0 0 -100 0
778cd667 26vdisplay ltl -2d topLeft 3 3 -underlay
eae454e3 27
6fb1a930 28text2brep ttr "Top-Right" -font SansFont -height 30 -pos -100 0 0
778cd667 29vdisplay ttr -2d topRight 30 30 -underlay
eae454e3 30polyline ltr -100 -100 0 -100 0 0 0 0 0 0 -50 0 -50 -100 0 -100 -100 0
778cd667 31vdisplay ltr -2d topRight 3 3 -underlay
eae454e3 32
6fb1a930 33text2brep tbr "Bottom-Right" -font SansFont -height 30 -pos -165 0 0
778cd667 34vdisplay tbr -2d bottomRight 5 5 -underlay
eae454e3 35polyline lbr -100 0 0 -100 100 0 0 100 0 0 50 0 -50 0 0 -100 0 0
778cd667 36vdisplay lbr -2d bottomRight 3 3 -underlay
eae454e3 37
38box b 1 2 3
39vdisplay b
40vfit
41vsetdispmode b 1
42
43vdump ${imagedir}/${casename}.png