Yup, that worked like a charm! Thanks!
- Steve
On Tue, 27 Mar 2007, Paul Martz wrote:
Date: Tue, 27 Mar 2007 13:41:27 -0600
From: Paul Martz <[EMAIL PROTECTED]>
Reply-To: osg users <[email protected]>
To: 'osg users' <[email protected]>
Subject: RE: [osg-users] Just drawing a line?
Assuming "state" is your StateSet, call the following method:
State->setMode( GL_LINE_SMOOTH, osg::StateAttribute::ON );
-Paul
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, March 27, 2007 1:29 PM
To: osg users
Subject: Re: [osg-users] Just drawing a line?
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/
_______________________________________________
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/