Re: [osg-users] Does OSG have INI config file reader?

2012-07-01 Thread Simon Hammett
Well there's osgDB::XmlParser if you can live with xml. http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/include/osgDB/XmlParser On 1 July 2012 04:55, michael kapelko korn...@gmail.com wrote: Well, my intention is not bring any additional dependency apart from OSG

[osg-users] Ho to change slave cameras offset matrix later on?

2012-07-01 Thread Torben Dannhauer
Hi, I would like to change a slave cameras viewOffset and projectionOffset matrix _after_ I added the camera via viewer-addSlavecamera(camera, viewoffset,projOffset). Is there a interface to set the offsets later on? I haven't found anything. What would you recommend to achieve the desired

Re: [osg-users] Does OSG have INI config file reader?

2012-07-01 Thread Paul Martz
OSG is a 3D graphics scene graph SDK. While a significant amount of non-graphics functionality has crept in over the years, OSG is still not, and probably shouldn't be, a general-purpose application SDK. For this reason, the config file and .ini support you are looking for is not present in

Re: [osg-users] Does OSG have INI config file reader?

2012-07-01 Thread Paul Martz
Oops, forgot to mention... You can store configuration information in a custom osg::Object. In essence, you would do the same thing with your config data as OSG does with its internal Objects (such as osg::Image, as one example). To do this, you would need to declare the custom Object class

[osg-users] Issue using TrackballManipulator with GraphicsWindowEmbedded

2012-07-01 Thread Preet
Hey all. I'm having some trouble using TrackballManipulator with GraphicsWindowEmbedded. The two main problems are: * I have to pass normalized x,y coordinates (ie, x/width(), y/height()) to the graphics window's event queue. Looking at other examples, this doesn't seem right. * Zoom and Pan

Re: [osg-users] Issue using TrackballManipulator with GraphicsWindowEmbedded

2012-07-01 Thread Preet
Ah, forgot to call viewer-realize() Sorry for the spam :) Preet On Sun, Jul 1, 2012 at 4:42 PM, Preet prismatic.proj...@gmail.com wrote: Hey all. I'm having some trouble using TrackballManipulator with GraphicsWindowEmbedded. The two main problems are: * I have to pass normalized x,y

Re: [osg-users] QUAD_BUFFER Stereo on Vista

2012-07-01 Thread Su Gang
Hi everyone, In osgviewerQt, I also have this problem. As in topic: http://forum.openscenegraph.org/viewtopic.php?t=7860 In function createCamera, if I add this code: Code: traits-quadBufferStereo = true; , QUAD_BUFFER stereo works fine. Cheers, Su -- Read this topic