mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
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.
This commit is contained in:
14
tests/opengl/data/background/srgb
Normal file
14
tests/opengl/data/background/srgb
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
Reference in New Issue
Block a user