Hi Michael,
>> Not sure what the 3rd one means, but handling mouse events is described, 
>> too.If you have ever used 3DsMax, AutoCAD (If I'm not wrong, even 
>> Blender)and those sort of applicationsyou would notice that user doesn't 
>> have to pan and zoom any targeted object on the viewport. Instead pointing 
>> mouse cursor to the intended object on scene and zooming will directly zoom 
>> and pan simultaneously to that object with smooth transition. 
The glitch here is that: programatically It may seem that having zoom and after 
pan or vice versa may bring the same effect but it doesn't. 
Any entry point will be appreciated,Regards,Date: Sun, 11 May 2014 20:30:12 
+0700
From: korn...@gmail.com
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] Couple of questions related to OSG

Hi.I won't go into each of the questions, but I recommend you read 
"OpenSceneGraph 3.0: Beginner's guide" and OpenSceneGraph 3 Cookbook". The 
first book describes your first 2 questions with working examples. Not sure 
what the 3rd one means, but handling mouse events is described, too.

Examples' source code is available at 
https://github.com/xarray/osgRecipes/tree/master/cookbook



2014-05-11 15:16 GMT+07:00 Sonya Blade <sonyablade2...@hotmail.com>:







Dear All,
I'm working with OSG 3.0 in C::B with GNU compiler, I have the following 
questions, probably those can be found by delving deep into the source code but 
by and large its troublsome and time consuming.


How to embedd the OSG rendering context into another window or widget? What I 
want to create is usually a standart concept in stand-alone applications e.g. 
AutoCAD, : a user interface where generally you have many toolbuttons, 
top/side/dockbars, statusbar etc.. but graphic context of OSG should be limited 
to the client-area where above mentioned tool areas are excluded.
What is the name and location of container class responsible for maintaining 
all the scene nodes in the scene, where I can iterate through all the nodes of 
scene if any need arises? 
From where to start in order to implement the mouse position oriented zooming ? 
Please express whether it's verbose or not, so I can elaborate it.




                                          

_______________________________________________

osg-users mailing list

osg-users@lists.openscenegraph.org

http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

                                          
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to