Hi,

Its kinda hard to guess what can go wrong.
If you calculate transform in cull callback - most likely you are changing your 
transform after cullvisitor already grabbed old one for current frame.
Can you post your code for computing transform? When it executed, how\when you 
update your camera matrices?

Cheers.

23.07.2012, 19:37, "Adrien Hamelin" <[email protected]>:
> Hi,
>
> I did just that, but a new problem appeared.
> To get the camera matrix, I created a new class which derive from a 
> Transform. Then, at each culling traversal of the graph, I update my matrix.
> The problem is that the update pass is just before, and if  I move my camera 
> quickly enough the particles I display form a trail following my camera's 
> path.
> Do you have a solution?
>
> Thank you!
>
> Cheers,
> Adrien
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=48993#48993
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to