[osg-users] Get current Billboard ModelView matrix?

Philipp Meyer philipp.meyer at fh-bielefeld.de
Wed Jun 29 04:18:27 PDT 2016


Hi,

is it possible to retrieve the current modelView matrix of a billboard node?
For matrix transforms, one can simply use ->getMatrix() and multiply that with the current view matrix.

I noticed that there is a method called "computeMatrix", but I'm a little bit confused in how to use it. What exactly are the "pos_local" and "eye_local" parameters?

My goal is to retrieve the final modelView matrix of the billboard node (including all parent transforms).

Thank you!

Cheers,
Philipp

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67896#67896








More information about the osg-users mailing list