0022196: Problem with puting texture on the bottle.brep shape
[occt.git] / tests / bugs / modalg_2 / bug22196
CommitLineData
809eca9d 1puts "================"
2puts "OCC22196"
3puts "================"
4puts ""
5#######################################################################################
6# Problem with putting texture on the bottle.brep shape
7######################################################################################
8
876d1f2a 9box b 1 2 3
10vdisplay b
11vfit
12vsetdispmode 1
13explode b f
14vdisplay b_2
15vtexture b_2 [locate_data_file OCC23385-carrelage1.gif]
16vtexrepeat b_2 3 2
17set scale 236.95268872530238
18set proj_X 0.92521193709866123
19set proj_Y -0.1940727987718808
20set proj_Z -0.32606536189388785
21set up_X 0.2658610208502189
22set up_Y -0.28157324388568683
23set up_Z 0.92197311561681172
24set at_X 0.58906967866866666
25set at_Y 0.98487348454501
26set at_Z 1.4950272490152485
27set eye_X 3.7940978443168705
28set eye_Y 0.31258558886503313
29set eye_Z 0.36550370223815498
30vviewparams -scale ${scale} -eye ${eye_X} ${eye_Y} ${eye_Z} -proj ${proj_X} ${proj_Y} ${proj_Z} -up ${up_X} ${up_Y} ${up_Z} -at ${at_X} ${at_Y} ${at_Z}
31
32set only_screen 1
809eca9d 33
809eca9d 34
809eca9d 35
36
809eca9d 37