Re: [osg-users] 3D mice

2013-05-20 Thread Thomas Lerman
Yeah, it was no big deal. I did check out osgWorks and osgVRPN (part of osgToy). The only thing is it appears osgVRPN is on an old version of osg (2.2). -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=54060#54060

Re: [osg-users] 3D mice

2013-05-20 Thread Jan Ciger
On Mon, May 20, 2013 at 3:43 PM, Thomas Lerman osgfo...@tevs.eu wrote: Yeah, it was no big deal. I did check out osgWorks and osgVRPN (part of osgToy). The only thing is it appears osgVRPN is on an old version of osg (2.2). It is likely simpler to just instantiate your vrpn_TrackerRemote and

Re: [osg-users] 3D mice

2013-05-20 Thread Chris Hanson
osgVRPN does has some nice convenience code, which is really its main purpose. I'm sure Mike would love some help updating the osgVRPN build. On Mon, May 20, 2013 at 8:18 AM, Jan Ciger jan.ci...@gmail.com wrote: On Mon, May 20, 2013 at 3:43 PM, Thomas Lerman osgfo...@tevs.eu wrote: Yeah, it

Re: [osg-users] 3D mice

2013-05-20 Thread Thomas Lerman
Thank you Jan. I will have to check it out. I will take a look at the tutorial you mentioned previously to see how to do that (I presume that is where you would suggest looking). It would be great if it is 10-15 lines of code, no additional dependencies other than VRPN, and creates nice smooth

Re: [osg-users] 3D mice

2013-05-20 Thread Jan Ciger
Hello Thomas, On Mon, May 20, 2013 at 4:25 PM, Thomas Lerman osgfo...@tevs.eu wrote: Thank you Jan. I will have to check it out. I will take a look at the tutorial you mentioned previously to see how to do that (I presume that is where you would suggest looking). It would be great if it is

Re: [osg-users] osgParticle::ExplosionEffect: assistance needed

2013-05-20 Thread Mike Metcalf
Sergey, Thanks for the info on particle systems. I'll dig into it and see what I'm doing with my transforms. Out of frustration, I had implemented something similar to your suggestion for handling QT resources. I simply read a png directly from the QT resource and then write it out to the

Re: [osg-users] 3D mice

2013-05-20 Thread Aric Aumann
There was an osgVRPN update from Will Hollingsworth last summer, it worked with OSG 3+ See: http://forum.openscenegraph.org/viewtopic.php?p=50550 IIRC, to get Mike Weiblen's last commit compiling against OSG 3, the main thing is to change TrackerManipulator's base class from the

[osg-users] [Viewer] Detecting mouse move

2013-05-20 Thread Asher Kamiraze
Hi all, In some of my application, I would like to detect when a clic + mouse move event happen. My goal is to display on screen during the clic + mouse move only objects bounding boxes. Do you have any hint on how to do this? Maybe some tips starting from osgviewer could help! Best regards,

Re: [osg-users] AlphaPixel Whitepaper on VirtualPlanetBuilder/OSGDEM

2013-05-20 Thread David Glenn
Chris Hanson wrote: As promised last week: http://alphapixel.com/content/openscengraph-virtual-planet-builder-osgdem (http://alphapixel.com/content/openscengraph-virtual-planet-builder-osgdem) Feedback welcomed. -- Chris 'Xenon' Hanson, omo sanza lettere.

Re: [osg-users] 3D mice

2013-05-20 Thread Thomas Lerman
Thank you, I will check it out. The difficulty that I see with osgWorks and osgToy is that they seem to maintain their own internal data that is used to set the view matrix. This is problematic for me as I want to still allow mouse and keyboard manipulation of the camera. So far, I have not

[osg-users] [Viewer] Detecting mouse move

2013-05-20 Thread Sergey Kurdakov
Hi Asher In some of my application, I would like to detect when a clic + mouse move event happen. My goal is to display on screen during the clic + mouse move only objects bounding boxes. see osgkeyboardmouse example, have an additional flag for clicked stateL pseudocode:

Re: [osg-users] 3D mice

2013-05-20 Thread Thomas Lerman
Also, I actually really would like to interact with VRPN directly instead of yet another dependency (as Jan stated). I have it working where I see the vrpn_Analog vrpn_Button classes. I need to take a look at vrpn_Tracker_AnalogFly (as Jan pointed out) to see if that is more useful. As

Re: [osg-users] 3D mice

2013-05-20 Thread Paul Martz
I'm not sure what you want to control with the spaceball, but... I'd like to point out that osgwMx (part of osgWorks) controls a matrix. You can use that matrix for whatever you want, such as controlling a view position or MatrixTransform. So you should be able to use osgGA mouse/kbd to control

Re: [osg-users] AlphaPixel Whitepaper on VirtualPlanetBuilder/OSGDEM

2013-05-20 Thread Chris Hanson
Glad it helped you out! On Mon, May 20, 2013 at 5:13 PM, David Glenn da...@dglenn.com wrote: Chris Hanson wrote: As promised last week: http://alphapixel.com/content/openscengraph-virtual-planet-builder-osgdem(

[osg-users] DatabasePager setTargetMaximumNumberOfPageLOD behavior

2013-05-20 Thread Farshid Lashkari
Hi, I'm hoping to get some clarification on how the DatabasePager::setTargetMaximumNumberOfPageLOD is supposed to work. I am setting this value to 3 in my application. I then use the following function to create and add PagedLODs the the scene: void AddPagedLOD() { osg::ref_ptrosg::PagedLOD

Re: [osg-users] 3D mice

2013-05-20 Thread Thomas Lerman
I do not want the SpaceMouse to be completely independent of the mouse/keyboard control of the view . . . I was to be able to control it with either or both. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=54080#54080