mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
0030575: Tests - v3d/materials unstable image screenshots of alpha-blending on GeForce with MSAA
testdiff now looks for "IMAGE_COLOR_TOLERANCE: Tol" statements in log to execute diffimage with -toleranceOfColor Tol parameter. Image difference is first performed with 0 tolerance and then optionally with non-zero tolerance, so that the log always includes information that some images are different, but with two different messages: - "IMAGE differs" for images failed comparison; - "IMAGE is similar" for images passed comparison only with non-zero tolerance. v3d/materials - disabled MSAA and removed duplicate. demo/samples/materials - compare screenshots with 0.8% color tolerance (2/255).
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
# test for visual properties of materials in 3d viewer
|
||||
puts "Test visual properties of materials in 3d viewer"
|
||||
|
||||
puts "Workaround instability on GeForce cards with MSAA at semitransparent sphere"
|
||||
puts "IMAGE_COLOR_TOLERANCE: 0.008"
|
||||
|
||||
source $env(CSF_OCCTSamplesPath)/tcl/materials.tcl
|
||||
|
||||
# make a snapshot
|
||||
|
Reference in New Issue
Block a user