|
From: doug s. <hig...@ho...> - 2013-05-29 17:06:42
|
> . > gm compare -metric mse fixture/1_wrl.0001.png playback/1_wrl.0001.png > (shows a statistical table with 0.00000 difference) > gm compare fixture/1_wrl.0001.png playback/1_wrl.0001.png -file diff.png -highlight-color purple -highlight-style Assign > # win32: gm convert diff.bmp win: > # linux: gm display diff.png > gm display diff.png > (shows a .png snapshot image with any different pixels highlighted in purple - no differences) > . . in win32 I got a gm compare difference when I did freewrl 1.wrl -R -F freewrl 1.wrl -P to generate the fixture while recording. I got a few pixels different. . When I did it in 3 steps: freewrl 1.wrl -R freewrl 1.wrl -F freewrl 1.wrl -P Then the fixture and playback images are identical. . Hypotheses: H0: it has something to do with the cursor, which is over the window during -R H1: random - need to do more tests to see if it happens again . -Doug |