1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
kgv c585f731eb 0032579: Draw Harness, ViewerTest - extend vbackground -cubemap syntax to configure sRGB flag
Command vbackground has been refactored to simplify logic and relax syntax.
Added -srgb argument to vbackground and vtexture commands.
2021-09-22 20:11:44 +03:00

15 lines
410 B
Plaintext

puts "================"
puts "0032579: Draw Harness, ViewerTest - extend vbackground -cubemap syntax to configure sRGB flag"
puts "================"
puts ""
pload VISUALIZATION
vcaps -noExtensions
vinit View1
vbackground -image [locate_data_file carrelage1.gif] -srgb 0
vdump $imagedir/${casename}_nosrgb.png
vbackground -image [locate_data_file carrelage1.gif] -srgb 1
vdump $imagedir/${casename}_srgb.png