occt: master f2b42160

Author Committer Branch Timestamp Parent
kgv apn master 2019-03-14 21:12:12 master 6072d597
Affected Issues  0030575: Tests - v3d/materials unstable image screenshots of alpha-blending on GeForce with MSAA
Changeset 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).
mod - samples/tcl/materials.tcl Diff File
mod - src/DrawResources/TestCommands.tcl Diff File
mod - tests/demo/samples/materials Diff File
mod - tests/v3d/materials/bug24855 Diff File
rm - tests/v3d/materials/bug24872_1 Diff File
rm - tests/v3d/materials/bug24872_2 Diff File
add - tests/v3d/materials/phong1 Diff File
add - tests/v3d/materials/raytrace1 Diff File