[osg-users] Updating node position in event handler.

2008-02-25 Thread Kim C Bale
I have written a small set of user ortho 2d interface classes one of which includes a slider bar control. I detect the intersection with the slider's geometry to check the mouse has a hold of it and then update it's position based on the coordinates I get from the event handlers 'drag' event.

[osg-users] Updating node position in event handler.

2008-02-25 Thread Kim C Bale
I have written a small set of user ortho 2d interface classes one of which includes a slider bar control. I detect the intersection with the slider's geometry to check the mouse has a hold of it and then update it's position based on the coordinates I get from the event handlers 'drag' event.

Re: [osg-users] Updating node position in event handler.

2008-02-25 Thread Kim C Bale
? From: [EMAIL PROTECTED] on behalf of Kim C Bale Sent: Mon 25/02/2008 14:53 To: osg-users@lists.openscenegraph.org Subject: [osg-users] Updating node position in event handler. I have written a small set of user ortho 2d interface classes one of which includes a slider bar control

Re: [osg-users] Updating node position in event handler.

2008-02-25 Thread Robert Osfield
? From: [EMAIL PROTECTED] on behalf of Kim C Bale Sent: Mon 25/02/2008 14:53 To: osg-users@lists.openscenegraph.org Subject: [osg-users] Updating node position in event handler. I have written a small set of user ortho 2d interface classes one of which

Re: [osg-users] Updating node position in event handler.

2008-02-25 Thread Vican, Justin E.
also resolve the issue. Hope this Helps, Justin From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kim C Bale Sent: Monday, February 25, 2008 10:29 AM To: OpenSceneGraph Users Subject: RE: [osg-users] Updating node position in event handler. Ah ok, bit of a follow up

Re: [osg-users] Updating node position in event handler.

2008-02-25 Thread Kim C Bale
Thanks, that worked a treat! Regards, Kim. From: [EMAIL PROTECTED] on behalf of Robert Osfield Sent: Mon 25/02/2008 15:34 To: OpenSceneGraph Users Subject: Re: [osg-users] Updating node position in event handler. Hi Kim, Try changing your viewer to run

Re: [osg-users] Updating node position in event handler.

2008-02-25 Thread Kim C Bale
/2008 15:39 To: OpenSceneGraph Users Subject: Re: [osg-users] Updating node position in event handler. I have also noticed problems with updating osgText::Text objects in the wrong stage of traversal. I think this has something to do with threading. Are you crashing in the osgText::Text

Re: [osg-users] Updating node position in event handler.

2008-02-25 Thread Robert Osfield
Users Subject: RE: [osg-users] Updating node position in event handler. Hi justin, Cheers for the heads up but changing the data variance seems to have solved it. It's odd though because it was working fine as it was, but just recently started crashing.. K

Re: [osg-users] Updating node position in event handler.

2008-02-25 Thread Vican, Justin E.
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Monday, February 25, 2008 11:30 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Updating node position in event handler. Hi Justin, I've written a lot about threading models over the past six months