Re: [osg-users] Camera config file problems

2010-10-14 Thread Robert Osfield
Hi Javier, On Thu, Oct 14, 2010 at 4:06 PM, Javier Taibo wrote: >   Anyway, is it OK to use osgDB::writeObjectFile on the osgViewer::Viewer > object to > create the config file? In theory this is how I'd like it to work - you can serialize in and out the view configuration. This isn't fully imp

Re: [osg-users] Camera config file problems

2010-10-14 Thread Javier Taibo
I have not an extremely deep knowledge of the intricacies of OSG code, but if there is something I can help with, let me know. Anyway, is it OK to use osgDB::writeObjectFile on the osgViewer::Viewer object to create the config file? Best regards, Javier Taibo. On Thu, Oct 14, 2010 at 9:

Re: [osg-users] Camera config file problems

2010-10-14 Thread Robert Osfield
Hi Javier, Thanks for pointing these problems out, I hadn't tested the viewer configuration plugin recently so hadn't spotted the regression. I suspect the regression happened when we merged the new serialization support. I'll put fix the viewer configuration on my TODO list for the week. Cheer

[osg-users] Camera config file problems

2010-10-13 Thread Javier Taibo
Hi, I am trying to figure how to use config files for camera definition with osgviewer. After some search in the list and browsing the code, it seems that camera config files can be passed to osgviewer in two ways: the environment variable OSG_CONFIG_FILE and the command-line option "-c". Ther