2 puts "0031302: Visualization, TKOpenGl - wrong tangent space calculation for normal maps"
3 puts "Test for tangent space orientation."
6 pload XDE OCAF MODELING VISUALIZATION
8 # PBR doesn't work with Compatible Profile on macOS
9 if { $::tcl_platform(os) == "Darwin" } { vcaps -core }
14 vinit v -w 1024 -h 1024
16 vbackground -cubemap [locate_data_file Circus_CubeMap_V.png]
17 vrenderparams -shadingModel PBR
23 ReadGltf D [locate_data_file bug31302_NormalTangentTest.gltf]
24 XDisplay -dispmode 1 D
28 vdump $imagedir/${casename}_front.png
31 vdump $imagedir/${casename}_back.png