Hi Robert, The scenegraph is constructed programmatically (based on our own input files) and I don't use any optimization since the structure needs to be preserved so it can be modified at runtime. Does OSG have any procedure for testing its file loaders?
On 9/22/06, Robert Osfield <[EMAIL PROTECTED]> wrote:
Hi Chris, There shouldn't be an order dependency of the writing out or reading of .osg or .ive files. My guess is that the Optimizer is what is probably jumbling things around. Try switching off the optimizer in your tests. Robert. On 9/22/06, c sklu <[EMAIL PROTECTED]> wrote: > > Hi, > > We're using the osgDB::WriteNodeFile functionality to write our > scenegraph to a file which can then be used for testing purposes. > Unfortunately and surprisingly, the layout of the file is not the same > on different platforms. We are developing on: Windows, Linux (RH and > SuSE), Irix, Sun, HP-UX, and AIX. I expected that the UniqueID field > would be different which our testnig scripts can deal with, but we've > found that the order of nodes can also be different across platforms. > Is there any reason for this and is there any way of enforcing a > certain order or is there any other better way to make regression > tests for our osg-based application. > > Thanks, > Chris > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
