Hi Daniel,

On Thu, 2005-09-08 at 11:02 -0700, Daniel Sperka wrote:
> Hi all -
> 
> I am working with an application that displays a plane with a grid of 
> lines. As the camera moves across the plane the lines appear/disappear 
> at random, presumably because they are 1 pixel wide. I'd like to make 
> the lines thicker and possibly antialias them - but I can't figure out how.
> 
> Is there a way to specify line width and/or antialiasing 
> (glEnable(GL_LINE_SMOOTH) )?

sure. You just need to add a LineChunk to your material that has the
settings that you want (setWidth(), setSmooth()).

> p.s. For other reasons I'm going to replace the lines with a texture, 
> but I'd still like to know the answer.

I'd have recommended that anyway, because it's probably going to be much
faster. ;)

Yours

        Dirk




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to