Re: [osg-users] PLacing the osg objetcts in different locations

2011-02-05 Thread Mukund Keshav
Hi Paul , Thanks for the suggestions. Mukund -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36394#36394 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/

Re: [osg-users] PLacing the osg objetcts in different locations

2011-02-05 Thread Paul Martz
What could be wrong with my code? Can anyone please point out what im doing wrong? 1) If you're using a camera manipulator, your view matrix is probably being overwritten. (If you believe you're not using one, then set a breakpoint in the TrackballManipulator constructor just to make sure.)

Re: [osg-users] PLacing the osg objetcts in different locations

2011-02-05 Thread Mukund Keshav
Hi J-S, Thanks for the reply. i will look into it. Thanks, Mukund -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36391#36391 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://list

Re: [osg-users] PLacing the osg objetcts in different locations

2011-02-05 Thread Jean-Sébastien Guay
Hi Mukund, Well i tried using osgconv to place objects in world space. [...] i tried reading it in my program. But it just doesn't show anything. I can't believe you're still struggling with this. Why don't you just use a camera manipulator, see where your camera needs to be to see the o

[osg-users] PLacing the osg objetcts in different locations

2011-02-05 Thread Mukund Keshav
Hi everyone, Well i tried using osgconv to place objects in world space. i tried this osgconv.exe -t 0,0,-2000 cow.osg cow1.osg i tried reading it in my program. But it just doesn't show anything. Code: viewer->getCamera()->setProjectionMatrixAsFrustum(-640, 640, -480, 480, 1900, 20)