Hi Luis,

On 8 November 2012 20:54, Louis Bouchard <lwi.bouch...@gmail.com> wrote:

> for my project, I need to derive Billboard and override computeMatrix().
>  However, computeMatrix is not defined as virtual, so my redefined method
> is never called from within the osg pipeline since billboards, like
> everything else, are referred to via their normal osg class.
>

You will probably be better served by implementing your own custom node and
have it compute the required matrices and manage the CullVisitor's
modelviewmatrix is the most efficient manner for the task you have.

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

Reply via email to