-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Robert Osfield wrote: > Hi Jan, ... > Does osgproducerviewer work fine for you? We just need to track down > the relevant code and see how we can map it across. I shouldn't be > difficult, alternatively we just look at Present3D's code for doing > this.
Yes, we are currently using it. > You'll be able to set up the projection matrix yourself as you can do > with Producer. At the moment we are using env. variables or Producer camera file for this. Hmm, strange thing - I have checked our production machine and the values are actually not used anywhere in that code neither. However, we are still getting a correct picture, because we are providing a Producer camera config file where we have the horizontal and vertical opening angles for the camera specified (BTW, how do I specify the window size and the camera parameters with osgViewer? Only by manually changing the settings from code?). Weird - what were these values supposed to achieve? I recall that I had to set them once to the size of our screen in order to remove the distortion, however then we have have provided a config file for Producer and I guess we didn't notice when they actually stopped working. I will try to unset them tomorrow and check whether the rendering on the wall is actually correct without them. If it is not, then they are still used somewhere and we need to dig deeper. Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org iD8DBQFGZxi1n11XseNj94gRAsTeAKCHhatCv1w5h4mVMOVW5ZkwoiRpUwCfdP42 fUP6q1AYzfq2ozB3o4cRAQM= =kUHw -----END PGP SIGNATURE----- _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
