On Tue, Mar 11, 2008 at 7:05 AM, IceSharK <[EMAIL PROTECTED]> wrote:
> Hi~
>
> scene have a model and a compass which using camere hud.
>
> how to rotate compass follow model's rotation making by user input ?

You need to use extract the rotation part of the the master camera's
view matrix to give you the rotation, then use this when computing the
rotation matrix for your compass model.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to