[osg-users] Get current Billboard ModelView matrix?

Philipp Meyer philipp.meyer at fh-bielefeld.de
Fri Jul 1 01:14:48 PDT 2016


Hi,

I'm using shaders to do some pre computations for a realtime radar simulation. (Some further processing is done with CUDA) The delta distance is required for the calculation of the doppler effect.

So yes, I guess I'm using shaders in a weird way. Unfortunately it would be very difficult do migrate to CUDA, because that would require me to do all graphics calculations by myself in the cuda kernel (Z test etc.)

So, to get back to my original question, is there any way to get a current Billboards modelMatrix? How do I use billboard->computeMatrix() properly?

Thank you!

Cheers,
Philipp

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








More information about the osg-users mailing list