[osg-users] osg+QT MODKEY How to

2009-03-07 Thread legeochen
Hi all, I'm trying to add a Modkey event handler to my application with osg and qt4. But it seems that the getModKeyMask() fuction fails to work. Return value of getModKeyMask() always is 0, even if I have a MODKEY pressed. And, this is my code: if ( ea.getEventType() ==

Re: [osg-users] OSG 2.6.1 and VPB

2009-03-07 Thread Robert Osfield
Hi Michael, You either have to install OSG and VPB or set up LD_LIBARARY and PATH env vars to point to respective lib and bin directories. Robert. On Sat, Mar 7, 2009 at 1:01 AM, Michael W. Hall hal...@att.net wrote: I appreciate the reply.  I got OSG 2.6.1 and followed the info you provided

Re: [osg-users] osg+QT MODKEY How to

2009-03-07 Thread Robert Osfield
Hi Legeo, How are you integrating OSG and QT? Robert. On Sat, Mar 7, 2009 at 8:14 AM, legeochen legeoc...@gmail.com wrote: Hi all,    I'm trying to add a Modkey event handler to my application with osg and qt4. But it seems that the getModKeyMask() fuction fails to work. Return value of

Re: [osg-users] Help with adding a player model

2009-03-07 Thread tuandoviet
Hi! Could I ask 1 more question? I want to ride a vehicle in the cockpit, Which solution could I use? When I use NodeTracker, the vehicle is always at center of the screen. Thanks in advance! ___ osg-users mailing list

[osg-users] Animated HeightField

2009-03-07 Thread Giovanni
Hi... I want to build an animated HeightField (Heights of certain cells changes during the execution). I try with a callback that modify the heights ( with setHeight() function). The data are modify but the shape no. I tried to set the data variance ad dynamic but doesent't work. Thanks for

Re: [osg-users] Animated HeightField

2009-03-07 Thread Ümit Uzun
Hi Giovanni, what are you tying to acvhive by changing HightField dynamicly. If you want save your performance I suggest you to use shader (GLSL) for kind of this works. It would be so easier and performance saver. Regards. 2009/3/7 Giovanni osgfo...@tevs.eu Hi... I want to build an

Re: [osg-users] WPF and OpenGL popup window problem

2009-03-07 Thread Jean-Sébastien Guay
Hi Himar, W.r.t. whether you are fool to use WPF or Qt or wxWidgets or whatever windowing technology you use: They are tools, you as programmer are the artisan. Sorry if it looked as if I were trying to imply anyone was a fool, that's not the case. I have used this same argument a lot

Re: [osg-users] Animated HeightField

2009-03-07 Thread Ulrich Hertlein
Hi Giovanni, On 8/3/09 1:56 AM, Giovanni wrote: I want to build an animated HeightField (Heights of certain cells changes during the execution). I try with a callback that modify the heights ( with setHeight() function). The data are modify but the shape no. I tried to set the data variance

Re: [osg-users] osg+QT MODKEY How to

2009-03-07 Thread legeochen
Hi Robert I wrote a ViewerQT class according to the osgviewerQT in examples. Then set Central Widget of a form to this viewerQT instance. Is it a proper way to intergrate ogs and qt? Thanks! legeo 2009/3/7 Robert Osfield robert.osfi...@gmail.com Hi Legeo, How are you integrating OSG and QT?

Re: [osg-users] Configuring OSG for stereo

2009-03-07 Thread Eric Heft
Robert, I converted all the measurements to meters. As I suspected there were no changes since the units should fall out of the calculations. So the question remains. What controls the depth plane? If I use the trackball manipulator and press space the depth plane is set to the center of