|
From: doug s. <hig...@ho...> - 2013-06-06 13:31:54
|
> > On 03/06/13 00:24, doug sanden wrote: >> On linux, for -F --fixture and -P --playback testing modes only, I changed Snapshot.c to save to windows .bmp format which has a 58 byte header, and stores uncompressed -instead of .rgb which has no header, or .png which by default gets some compression. GraphicsMagick on linux will display it: >> gm display 1_wrl.0001.bmp >> There's no date stamp or filename stored in the .bmp header, so 2 test fixtures should not differ in the header, so perl compare should work as well as gm compare. And any differences won't be due to compression since there isn't any. > I'll try and run some tests on this... > OK. Let me know your experience and thoughts! -Doug more.. Here's a sample recording.zip - the kind that will be passed around between platforms. You would unzip it in the tests/ folder so you get tests/1.wrl tests/recording/*.fwplay http://dug.userssourceforge.net/web3d/recording.zip -there's a logging test that uses /tests/KeySensor/(...).x3d - for the tests/KeySensor folder unzip the following in /tests: http://dug9.users.sourceforge.net/web3d/tests/KeySensor/KeySensorTests.zip . Example for /recording/fly.fwplay navigate to the tests directory To generate /fixture/fly.bmp freewrl 1.wrl -F -N fly To generate /playback/fly.bmp freewrl 1.wrl -P -N fly . |