Hi Daniele, there is an example in OpenSG/Tutorials/18opengl_slave.cpp
The following should do the trick. Andreas mgr = new SimpleSceneManager; mgr->setWindow(pwin ); mgr->setRoot (scene); ViewportPtr vp = pwin->getPort(0); MatrixCameraPtr newcam = MatrixCamera::create(); beginEditCP(vp); vp->setCamera(newcam); // replace the cam endEditCP(vp);
Hi all, I want to use a custom matrix for projection. I'm using SimpleSceneManager and I want to set a MatrixCamera with my matrix and pass it to SSM. How can I do that? thanks Daniele ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
