Is there a way to set in the stateset (or other) a method for drawing an anti-aliased line? I don't need to anti-alias the entire view.

- Steve

On Mon, 26 Mar 2007, Robert Osfield wrote:

Date: Mon, 26 Mar 2007 21:32:21 +0100
From: Robert Osfield <[EMAIL PROTECTED]>
Reply-To: osg users <[email protected]>
To: osg users <[email protected]>
Subject: Re: [osg-users] Just drawing a line?

Hi Steve,

osg::LineSegment is really just for intersection computation work so
doesn't have any rendering capability.

To draw lines use osg::Geometry, to see how to do it see the
osggeometry example.

Robert.

On 3/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
How do I go about just drawing a wireframe-type line?

I got an osg::LineSegment stuck in place, but I can't attach it to a geode
or positioner.  Is that the right thing to do?  Is there a better way to
just draw a line?  :)

- Steve

--
EMAIL: (h) [EMAIL PROTECTED]  WEB: http://badcheese.com/~steve

_______________________________________________
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/


--
EMAIL: (h) [EMAIL PROTECTED]  WEB: http://badcheese.com/~steve

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

Reply via email to