[osg-users] dragger corrupts in ViewQT

2008-06-16 Thread Xinyu Zhang
I am trying to have the examples/osgmanipulator run in a Qt viewer. I have kept most of the code including createDragger(), addeDraggerToScene()..., only the main() was replaced by cMainWindow below. Whenever I select the dragger, it corrupts. When I trace it back, it goes to _draggerSelectionM

[osg-users] how to debug a program

2008-06-17 Thread Xinyu Zhang
What tools can I use to debug my program? I am using Windows XP and mingw32. I know there is a reference pointer changed somehow, but could not figure out where and how. I posted the problem two days ago. See below. It happened at _draggerSelectionMap.count(&dragger) in CommandManager::addSel

[osg-users] help on picking and draggers?

2008-06-19 Thread Xinyu Zhang
Is there any document or tutorial on how to use picking and draggers in OSG? I am struggling on this. Thanks. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.o

Re: [osg-users] help on picking and draggers?

2008-06-19 Thread Xinyu Zhang
t: Re: [osg-users] help on picking and draggers? there is the osgpick example. do you have a small example that demonstrates the issues you're struggle with? -- mew On Thu, Jun 19, 2008 at 8:40 AM, Xinyu Zhang <[EMAIL PROTECTED]> wrote: > Is there any document or tutorial on how to

[osg-users] question on compositeviewer

2008-06-24 Thread Xinyu Zhang
What is the way to change the number of views in a CompositeViewer? say change from three views to two views at run time. I tried to remove a view and change the viewports of other views. The removed view is still displayed. Do I have to create a new CompositeViewer instead? Thanks.

[osg-users] osgsimulation

2008-07-11 Thread Xinyu Zhang
when I run the osgsimulation with OSG_NOTIFY_LEVEL set to DEBUG_INFO, the program crashes and I get the following output. Can anyone give me an idea on what causes this and how to fix it? Thanks. GraphicsContext::setWindowingSystemInterface() 0x3d9790Graph0x1029dac0 CullSettings::readEnviro

Re: [osg-users] osgsimulation

2008-07-11 Thread Xinyu Zhang
s supported. OpenGL extension 'GL_ARB_shading_language_100' is supported. OpenGL extension 'GL_EXT_geometry_shader4' is not supported. OpenGL extension 'GL_EXT_gpu_shader4' is not supported. glVersion=2, isGlslSupported=YES, glslLanguageVersion=1.1 OpenGL extension &#x

Re: [osg-users] osgsimulation

2008-07-13 Thread Xinyu Zhang
?? () #15 0x in ?? () (gdb) stop - Original Message From: Robert Osfield <[EMAIL PROTECTED]> To: OpenSceneGraph Users Sent: Friday, July 11, 2008 3:28:26 PM Subject: Re: [osg-users] osgsimulation Hi Xinu, On Fri, Jul 11, 2008 at 8:14 PM, Xinyu Zhang <[EMAIL PROTECTED]>

[osg-users] how to get input from force feedback joysticks?

2008-07-16 Thread Xinyu Zhang
It seems the DirectInput can get the inputs of force feedback joysticks. How can I integrate DirectInput into my project? Is there any other way to get the joystick input? Thanks ___ osg-users mailing list osg-users@lists.openscenegraph.org h

[osg-users] sensors and engines

2008-07-22 Thread Xinyu Zhang
In Open Inventor, there are sensors and engines to detect changes of an object and connect the related motions. Does OSG have similar stuff? How should these functions be done? Thanks in advance. - Original Message From: J.P. Delport <[EMAIL PROTECTED]> To: OpenSceneGraph Users Se