Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()?

2011-03-03 Thread Brad Colbert
-boun...@lists.openscenegraph.org] On Behalf Of Brad Colbert Sent: Thursday, February 03, 2011 10:11 AM To: 'OpenSceneGraph Users' Subject: Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()? Simplifying my example, my PostDrawCallback now simply prints

Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()?

2011-03-03 Thread Robert Osfield
: Thursday, February 03, 2011 10:27 AM To: 'OpenSceneGraph Users' Subject: Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()? One more update: I modified the code slightly in both the Pre and Post draw callbacks to compare frame numbers.  I would expect

[osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()?

2011-02-03 Thread Brad Colbert
I'm resending this with a new Subject: line. Worried that it was a little too cryptic. I'm trying to understand how the threading works in OSG when DrawThreadPerContext with respect to which process is on which frame at which time. It appears to me that the draw frame is skipping values in

Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()?

2011-02-03 Thread Robert Osfield
Hi Brad, I couldn't make sense of your original email and same with this one, I'm confused by the role of your map and would suspect that your method is the cause of the odd output. The way I'd check the current frame number is to simply have a draw callback directly output the frame number.

Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()?

2011-02-03 Thread Brad Colbert
, and how I should deal with it. -B -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent: Thursday, February 03, 2011 9:14 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Why does Draw skip

Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()?

2011-02-03 Thread Brad Colbert
Osfield Sent: Thursday, February 03, 2011 9:14 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()? Hi Brad, I couldn't make sense of your original email and same with this one, I'm confused by the role of your map

Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()?

2011-02-03 Thread Brad Colbert
...@lists.openscenegraph.org] On Behalf Of Brad Colbert Sent: Thursday, February 03, 2011 10:11 AM To: 'OpenSceneGraph Users' Subject: Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()? Simplifying my example, my PostDrawCallback now simply prints the pointer value

Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()?

2011-02-03 Thread Robert Osfield
: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()? Simplifying my example, my PostDrawCallback now simply prints the pointer value of *this (to determine that it's the same PostDrawCallback instance) and the frame number and I get the following (snipet

Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()?

2011-02-03 Thread Brad Colbert
- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent: Thursday, February 03, 2011 10:57 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber

Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()?

2011-02-03 Thread Robert Osfield
To: OpenSceneGraph Users Subject: Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()? Hi Brad, What happens when you run SingleThreaded or CullDrawThreadPerContext? Robert. On Thu, Feb 3, 2011 at 6:27 PM, Brad Colbert bcolb...@rscusa.com wrote: One

Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()?

2011-02-03 Thread Brad Colbert
To: OpenSceneGraph Users Subject: Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()? Hi Brad, Could it be simply that the same FrameStamp is used by the Viewer for all frames with the frame number + time being updated rather than it creating a new FrameStamp every

Re: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()?

2011-02-03 Thread Brad Colbert
: [osg-users] Why does Draw skip frame number as reported from FrameStamp::getFrameNumber()? Robert, I'm not sure. I'll try making my own frame stamp and see what I get. -B -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun