Re: [osg-users] inactivate the camera manipulator
Thank you I resolve the problem using: m_Viewer-getCamera()-setViewMatrixAsLookAt(eye, centre, up); -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22896#22896 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] inactivate the camera manipulator
hello I set up the TrackballManipulator to move the camera with the mouse but I would like to active and inactive the manipulator. It is probably very simple but I can’t find who to inactivate the TrackballManipulator. Thank you -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22726#22726 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] inactivate the camera manipulator
When I do that it deletes all possibility to manipulate the camera. I want to be able to manipulate the camera in code and remove the control for the user. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22734#22734 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] How to open OSG in a CView MFC ?
Hi Cory No it don’t do what I want. In fact the CMDIChildWnd in which the 3D scene should be open is at the good place But the 3D scene is not in the CMDIChildWnd If I do a ctrl+tab I have this result : -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17935#17935 attachment: screen.jpg___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] How to open OSG in a CView MFC ?
Resolution of the problem: If someone has the same problem as me, fallow this explication: http://www.openscenegraph.org/projects/osg/changeset/7152 for me it work -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17987#17987 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] How to open OSG in a CView MFC ?
Hi, no I do not us osg::DIsplaySetting. but as I didn't have the file osgViewer/StataHanler in the instalation of osg and do not manage to instal it. I delete the EventHandler, do you think that it could be the reason why when I use m_G = new osgViewer::GraphicsWindow; m_G- setWindowRectangle(100, 100, 200, 200); it don't do anything ? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17876#17876 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [build] How to open OSG in a CView MFC ?
Hi, I have an MFC application with tow CView, I would like to use osg in those view to manipulate the display model with MFC window. I am a complete beginner with OSG and after a long time of research I still don’t fin the way to do it. Should I resize my osg window and put it over the CView or make the osg as child of the CView? And how to do it? Please give me some tips or some indication on what should I look for. An example will be the best. Thank you -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17823#17823 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] How to open OSG in a CView MFC ?
Hi Thanks’ for your answer I already work on this example but the 3d model is open in full screen and I don’t manage to change that. Hi Thanks’ for your answer I already work on this example but the 3d model is open in full screen and I don’t manage to change that. I sougth that the window parameters was set there // Setup the traits parameters traits-x = 0; traits-y = 0; traits-width = rect.right - rect.left; traits-height = rect.bottom - rect.top; traits-windowDecoration = false; traits-doubleBuffer = true; traits-sharedContext = 0; traits-setInheritedWindowPixelFormat = true; traits-inheritedWindowData = windata; but I change it and nothing hapen -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17838#17838 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org