Hi, I tried out this example. I got it compiled, and removed the #if so it would force it to run using the createOverlay code. Forgive me if I am missing something, but I don't see any grid lines being rendered on the terrain. Does this particular example have a bug? I've tested this a few times and can verify that the overlay code is running but I just don't see the grid lines.
Thanks, Jason On 4/20/07, Jason <[EMAIL PROTECTED]> wrote:
Jason, This looks very promising. Thanks for the tip. Jason On 4/20/07, Jason Beverage <[EMAIL PROTECTED]> wrote: > Hi Jason, > > > > OverlayNode would definitely be of use to you here. There used to be an > example of exactly what you are trying to do in the osgspheresegment > example, but it is no longer in there. You can see it here though: > > > http://www.openscenegraph.org/viewcvs/examples/osgspheresegment/osgspheresegment.cpp?rev=1.18&view=markup > > > > Just do a search for createOverlay and you'll find it. > > > > Good luck! > > > > Jason > > > > > ------------------------------ > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Jason > *Sent:* Friday, April 20, 2007 10:36 A > *To:* [email protected] > *Subject:* [osg-users] Advice on laying gridlines on a terrain > > > > Hi, > > > > I'm currently developing an application that loads in either an FLT or a > TXP terrain. I'm interested in laying down grid lines where the spacing can > be changed by the user. Maybe I'm overthinking this, but I'm looking for a > way to basically lay the gridlines down directly on the 3 dimensional > terrain. > > > > Is there something in OSG that allows someone to lay a texture upon > another texture or am I better off using shaders, or something else to > achieve this effect? > > > > I've checked out various examples...would OverlayNode or TexGenNode be > of any use to me? > > > > Thanks, > > Jason > > > > > > _______________________________________________ > 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/
