Hi mille25 sorry for my previous post Further, i was wrong, eyepos/poslocal are inout params and I don't have any exp with osgBillboard as I'd rather use shaders to achieve this effect
Please, forgive my lost of temper mp3butcher wrote: > 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=67915#67915 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org