0025507: Visualization - the method V3d_View::Place() is incorrect
[occt.git] / tests / bugs / vis / bug23747_2
CommitLineData
269294d6 1puts "============"
2puts "CR23747"
3puts "Checking environment mapping in general"
4puts "============"
5puts ""
6
7vinit
8vclear
9vaxo
b5ac8292 10psphere b 20
269294d6 11vdisplay b
12vsetdispmode b 1
13vfit
14
15puts "Applying standard environment textures"
16set max_textures 8
17for {set i 0} {$i < $max_textures} {incr i} {
18 vtextureenv on $i
19 vdump $imagedir/${casename}_std_texture_${i}.png
20}
21
22puts "Varying parameters of the 6th std texture (black stripes on white background)"
23puts "Trying modulate flag"
24vtextureenv on 6 clamp modulate trilinear 1 1 0 0 0
25vdump $imagedir/${casename}_modulate.png
26
27puts "Trying nearest texture filtering mode"
28vtextureenv on 6 clamp decal nearest 1 1 0 0 0
29vdump $imagedir/${casename}_nearest.png
30
31puts "Trying scaling of s and t texture coordinates by 5 (texture repeat on)"
32vtextureenv on 6 repeat decal trilinear 5 5 0 0 0
33vdump $imagedir/${casename}_scaled.png
34
35puts "Trying translation of s and t texture coordinates by 0.5 (texture repeat on)"
36vtextureenv on 6 repeat decal trilinear 1 1 0.5 0.5 0
37vdump $imagedir/${casename}_translated.png
38
39puts "Trying rotation of texture coordinates by 90 degrees around the texture center (texture repeat on)"
40vtextureenv on 6 repeat decal trilinear 1 1 0 0 90
41vdump $imagedir/${casename}_rotated.png
42