Robert,

I am not familiar with the way normals are set. In fact, I have not
explicitly set any normals at all. From what you are saying, it sounds
like the normals on the outer surface of my globe would be exactly what
one would expect when standing on the surface. How can I create normals
that comply with this on my Geode?

Thanks again,
John 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Friday, July 21, 2006 10:42 AM
To: osg users
Subject: Re: [osg-users] Textured Geode and Lighting

On 7/21/06, Argentieri, John-P63223 <[EMAIL PROTECTED]> wrote:
> Yes, I generated the database with osgdem. The geode construction is 
> done in a routine that I wrote. Its geometry is a single triangle 
> strip that starts left-to-right at the top row, sends the last vertex 
> in that row again, then right-to-left in the bottom row, etc. It is a 
> grid so there are several rows like this but it is constructed as a 
> single triangle strip. This was a method I found in an old OpenGL
book.

Well if its geometry you've created then I'm afraid its down to you to
spot the problem and fix it.  Basically you need to flip your normals so
they point with +ve z up, as this is the orientaition that the
osgTerrain uses for its local tiles.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to