[osg-users] Get current Billboard ModelView matrix?

Julien Valentin julienvalentin51 at gmail.com
Wed Jun 29 06:15:47 PDT 2016


Hi mille25
computeMatrix parameters are out params, so pass whatever you want you'll have result you desire in it.
I guess you should learn a bit more about C++ syntax to avoid this kind of question

Julien


mille25 wrote:
> 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=67902#67902








More information about the osg-users mailing list