I think one thing that may alleviate the blending a bit is to set your
texture filters to nearest neighbour ( but you will never remove this type
of issue with textures and lines due to mip-maping among other things)



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cole,
Charles E. (LARC-B702)[GENEX SYSTEMS]
Sent: Tuesday, February 19, 2008 10:05 AM
To: OpenSceneGraph Users
Subject: [osg-users] Crisp texture mapping with OverlayNode

Hi,

I'm trying to create a grid overlay on a TerraPage database.  I searched the
archives and examples and found the osgsimulation, osgspheresegment, and
osgscribe examples to be very helpful.  I've implemented a grid overlay (and
the code is very similar to osgspheresegment).  However, I'm getting some
"fuzziness" to the grid lines.  

I've attached two screen captures.  The first is the grid that I'd like to
overlay.  The second is the grid overlaid on the terrain using the
osgSim::OverlayNode.  What's happening is the grid lines are getting "fuzzy"
when applied as a texture.  What I'd like is the crispness of the grid as
shown in the first picture to be overlaid on the terrain.
Does anyone know some quick hints or explanation of why this is and what I
can do to get a more crisp line on the terrain?

I'm a definite newbie when it comes to textures.  So, there may be something
very simple here, but I've tried to do some searching on this behavior and I
just can't find anything.

Any help or guidance with this would be greatly appreciated.

chuck



_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to