Could it be that you aren't setting up the QT GLWidget to recieve mouse and keyboard events?
I find it surprising that you need to modify so much osg osgsipleviewerqt3, you should have all the controls you need. Everything works fine for me without any mods. What version of QT are you using?
Robert.
I split those classes from osgsimpleviewerqt3.cpp into different header and .cpp files. Then I added a lot of things to graphicswindowqt, which are from the constructor of qosgwidget (this was necessary to display the 3D nodes), and added the request redraw functions and others. I was having a similar problem when I was using qosgwidget with control, remember, but now it is not allowing me any movement control. Before it was just not stopping the camera before it went to the center of the scene. I'm not sure what to do now. If anybody has any thoughts let me know, please.
Thanks,
-John
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Robert Osfield
Sent: Monday, November 13, 2006 2:34 PM
To: osg users
Subject: Re: [osg-users] Simple Viewer for QT
Hi John,
I developed osgsipleviewerqt3 under linux and it works just fine, the trackball manipulator it sets up work just as it does in osgviewer.
What mods did you make to osgsimpleviewerQT3?
Robert.On 11/13/06, Whitfield, John M. (SED/TMI) <[EMAIL PROTECTED]> wrote:
I hacked the osgsimpleviewerqt3 to the point of displaying the right
stuff, by using parts from the qosgwidget, but now I am not getting any
form of camera manipulation, anybody know of any issues with
cameramanipulators using osgsimpleviewerqt3 with linux?
Thanks,
-John
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Whitfield,
John M. (SED/TMI)
Sent: Friday, November 10, 2006 2:46 PM
To: osg users
Subject: RE: [osg-users] Simple Viewer for QT
I'll try the GLUT
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Robert
Osfield
Sent: Friday, November 10, 2006 2:43 PM
To: osg users
Subject: Re: [osg-users] Simple Viewer for QT
Hi John,
Could you try the osgsimpleviewerGLUT and Producer versions?
They all have the same basic core, the only difference is the graphics
window set up and event handling.
Robert.
On 11/10/06, Whitfield, John M. (SED/TMI)
<[EMAIL PROTECTED]> wrote:
> I am unable to send a screenshot, but it mostly the blue background
with
> some green and red kind of randomly placed. Just colors no models, and
I
> am unable to manipulate it.
>
> -John
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Robert
> Osfield
> Sent: Friday, November 10, 2006 1:51 PM
> To: osg users
> Subject: Re: [osg-users] Simple Viewer for QT
>
> Hi John,
>
> On 11/10/06, Whitfield, John M. (SED/TMI)
> < [EMAIL PROTECTED]> wrote:
> > I have finally built the simpleviewerqt3 and gotten it running. It
> seems to
> > be displaying some strange unexpected 3D, ie. Not the model I am
> feeding it.
> > Anybody have any ideas about that.
>
> Mark just got osgsimpleviewerQT3 working, and I've had it working for
a
> while.
>
> There really much code to go wrong, so my guess would be a build issue
> of some kind.
>
> Could you send a screenshot.
>
>
> > Also, I am trying to pass it into a class that adds nodes to, but
they
> > aren't loading. This may be due to the fact that I am converting to
> this
> > from qosgwidget.
> >
> > Anybody ever tried this before?
>
> I haven't qosgwidget so can't comment.
>
> Robert.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
