1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
occt/tests/bugs/vis/bug23804
dbp 7389f96df0 0023804: Visualization - unexpected color modulation during texture mapping
AIS_TexturedShape - use material set to the Drawer, not default undefined one

Test case for issue CR23804
2014-05-08 11:27:28 +04:00

26 lines
523 B
Plaintext

puts "============"
puts "CR23804"
puts "============"
puts ""
############################################################
# Unexpected color modulation during texture mapping
############################################################
box b 100 100 100
vinit
vdisplay b
vfit
vsetdispmode b 1
vsetmaterial b plastic
vdump $imagedir/${casename}_1.png
vsetcolor b ANTIQUEWHITE
vdump $imagedir/${casename}_2.png
vtexture b 3
vdump $imagedir/${casename}_3.png
vsetcolor b ANTIQUEWHITE
vdump $imagedir/${casename}_4.png