nevermind. I looked up in the archove (years ago :-) ...) and I find it. Ping me if you came across similar problem. I will provide hints
Nick p.s. How useful is this list !!! On Wed, Mar 13, 2013 at 3:44 PM, Trajce Nikolov NICK < trajce.nikolov.n...@gmail.com> wrote: > Hi Community, > > I have done this before but it seams I forgot all of it now :-). Here is > the story: > > I have GLSL code for pixel based lighting and my LightSource is attached > to a matrixtrasnform which has updatecallback to update the position and > orientation based on the camera view matrix (the pseudo code would look > like this): > > osg::Matrixd mx = _camera->getInverseViewMatrix(); > mxt (MatrixTransform is this)->setMatrix(mx) > > however, it doesnt follow the orientation, only the translation > > Any hints? > > Thanks a bunch > > Nick > > -- > trajce nikolov nick > -- trajce nikolov nick
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org