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 =
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
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
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
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,
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
.
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
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
8 matches
Mail list logo