[osg-users] Get current Billboard ModelView matrix?

Robert Osfield robert.osfield at gmail.com
Wed Jun 29 06:32:26 PDT 2016


Hi Philip,

The accumulation of the modelview matrix is done with the osgUtil::CullVisitor.

Rather than get bogged down into to answer specifics of how you are
going about things I think it would be far more useful to get an
explanation from you about what you are actually trying to achieve
rather than how you are trying to achieve it.

Often there are far better ways of solving problems, and the solutions
are often to specific to nature of the problem.   Knowing the end
result you are trying to achieve will give us an idea of how you
should go about it.

Robert.

On 29 June 2016 at 12:18, Philipp Meyer <philipp.meyer at fh-bielefeld.de> 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=67896#67896
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



More information about the osg-users mailing list