0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git] / tests / v3d / glsl / pbr_tangent_normal
CommitLineData
65584001 1puts "========"
2puts "0031302: Visualization, TKOpenGl - wrong tangent space calculation for normal maps"
3puts "Test for tangent space orientation."
4puts "========"
5
6pload XDE OCAF MODELING VISUALIZATION
7
8vclear
9vclose ALL
10
11vinit v -w 1024 -h 1024
12vcamera -persp
13vbackground -cubemap [locate_data_file Circus_CubeMap_V.png]
14vrenderparams -shadingModel PBR
15
16vlight -clear
17vlight -add ambient
18
19catch { Close D }
20ReadGltf D [locate_data_file bug31302_NormalTangentTest.gltf]
21XDisplay -dispmode 1 D
22
23vfront
24vfit
25vdump $imagedir/${casename}_front.png
26
27vback
28vdump $imagedir/${casename}_back.png