|
From: doug s. <hig...@ho...> - 2013-06-06 14:13:21
|
> 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 . Paulo, IDEA: instead of perl reading the .fwplay to get the scenefile, let freewrl read it and set its own scene file. I'll try it. -Doug more.. Notice you have to specify the .wrl file as well as the test file on the command line. The plan was that perl would read the first 2 lines of the .fwplay: window_wxh = 600, 400 scenefile = 1.wrl 1 55342.921000 "" "" ... and use the scenefile = value to set the scene file on the freewrl command line. One idea that just popped to mind 5 minutes ago: in freewrl if no scenefile is specified during -F / --fixture or -P / --playback , but a -N <nametest> is specified, then freewrl would set it's own scene file and width x height. Proposed like this: freewrl 1.wrl -R -N fly2 (generate the recording/fly2.fwplay) freewrl -F -N fly2 (read fly2.fwplay and set scene to 1.wrl) freewrl -P -N fly2 (read fly2.fwplay and set scene to 1.wrl) |