Hi Maia,

On 12 June 2012 15:50, Maia Randria
<[email protected]> wrote:
> Sorry for bothering you with this but I think I don't really understand how 
> to use viewer.advance() with viewer.getFrameStamp()->getReferenceTime(). 
> Could you give an example, please ?

Go have a look at the source code in the examples and the OSG code
base, use a search on FrameStamp.

> In fact, what I would want to do is to compute and record the elapsed time 
> between the time a scene is rendered on the screen ( i.e., the time at which 
> the user is viewing the scene) and an event (e.g. the user is clicking on an 
> object on the viewport).

The events have a time stamp, as does the event visitors and viewer.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to