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.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Friday, July 21, 2006 10:28 AM To: osg users Subject: Re: [osg-users] Textured Geode and Lighting Looks like the normals are reversed for some reason on the insert. How did you generate the database? osgdem? On 7/21/06, Argentieri, John-P63223 <[EMAIL PROTECTED]> wrote: > Hi Robert. > I owe you one. Here are two screens. The problem is most > noticable as the map goes from positive to negative Z. It is dark at > positive Z and light at negative Z, while the rest of the globe is > relatively uniform. > > Thanks much, > John > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Robert > Osfield > Sent: Friday, July 21, 2006 10:00 AM > To: osg users > Subject: Re: [osg-users] Textured Geode and Lighting > > Hi John > > I have a number of datasets that fit what you have done but haven't > noticed any significant issue with difference in lighting. > > Could you provide a screenshots? > > Robert. > > On 7/21/06, Argentieri, John-P63223 <[EMAIL PROTECTED]> wrote: > > > > > > > > Hello All. > > > > I am using a bluemarble paged database of the globe that I created, > > and over top of it creating a geode with map data image textured to > > it. It works very well thanks to all the help that I've received, > > but there is one remaining issue. The geode I create is a much > > smoother geometry than the globe itself, since it has higher > > resolution. It is > > > responding very different to the lighting than the rest of the globe. > > My viewer is set up with HEAD_LIGHT. Is there some way for me to set > > the lighting to affect both the globe and the textured geode > > identically? Thank you so much for all the help. > > > > Sincerely, > > John Argentieri > > _______________________________________________ > > 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/ > > > _______________________________________________ > 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/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
