[osg-users] Quaternion problem

2009-03-16 Thread Antonin Linares
Hi osg users I use an intersectionVisitor to place tank model on my terrain i made something like that: [...] if(lsi-containIntersection()) { //get height and normal under the tank osg::Vec3f pos = lsi-getFirstIntersection()-getWorldIntersectionPoint(); osg::Vec3f normal =

Re: [osg-users] Quaternion problem

2009-03-17 Thread Antonin Linares
rotate with. Antonin Linares Steven Saunderson a écrit : Have you tried : pat-setAtitude(rot*corect); ? I'm wondering if the factor that should be applied last (i.e. rot) should be first in the multiply here. -- Steven Saunderson -- Read this topic

Re: [osg-users] Quaternion problem

2009-03-17 Thread Antonin Linares
2.8 an getRotate seem to returns angle and vector. Antonin Linares Steven Saunderson a écrit : Hi Antonin, I may be getting way out of my depth here but when I saw your problem this morning it looked very similar to a problem I had just recently. Looking at your original post : Antonin

Re: [osg-users] ViewDependentShadow and Lod

2009-04-30 Thread Antonin Linares
Hi Wojtek, Yes reference frame is set in StandardShadowMap, i didn't notice it yesterday. I made test and i found something new: It's not a lod problem but a Lighting problem (geometry is good). Actually i take a look in StandardShadowMap shader, if you have any idea. [...] Find where is

Re: [osg-users] ViewDependentShadow and Lod

2009-05-04 Thread Antonin Linares
Hi all, Finally i find where is the lighting problem, it's the specular computation. Here's the change i made in the main vertex shader: void DirectionalLight(in int i,\n in vec3 normal,

Re: [osg-users] ViewDependentShadow and Lod

2009-05-04 Thread Antonin Linares
Again, Please don't care of my previous message, i'm wrong. Some part of my terrain database use pure glColor(), so the shader miss compute this part of database. Sorry all. ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] ViewDependentShadow and Lod

2009-05-05 Thread Antonin Linares
. Cheers, Wojtek - Original Message - From: Antonin Linares antonin.lina...@onera.fr To: OpenSceneGraph Users osg-users@lists.openscenegraph.org Sent: Monday, May 04, 2009 4:11 PM Subject: Re: [osg-users] ViewDependentShadow and Lod Again, Please don't care of my previous message, i'm

Re: [osg-users] QT and ModularEmitter (((

2009-05-13 Thread Antonin Linares
Hi Gammer I v' the same trouble few day ago, i solved it by add -DQT_NO_EMIT to the compilation flags. cheers, Antonin Linares Максим Гаммер a écrit : Hi List. Problem QT and OSG ModularEmitter make ... ... /usr/local/include/osgParticle/ModularEmitter:89: error: expected unqualified