Re: [osg-users] giving thickness/color to line segments

2013-11-17 Thread Patrick Keenan
Hello, Check out http://forum.openscenegraph.org/viewtopic.php?p=53988#53988 for plotting the lines! Patrick -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=57258#57258 ___ osg-users mailing list

Re: [osg-users] giving thickness/color to line segments

2011-06-17 Thread Jordan Sotomayer
and now for plotting line segments? i only ask because i am following along with this thread in interest... -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40644#40644 ___ osg-users mailing list

[osg-users] giving thickness/color to line segments

2011-06-15 Thread basil huffman
I am looking to figure out how to give thickness to line segments. I am creating them as follows Code: osg::ref_ptrosg::Geometry geom = new osg::Geometry; osg::ref_ptrosg::DrawArrays drawArrayLines = new osg::DrawArrays(osg::PrimitiveSet::LINE_STRIP);

Re: [osg-users] giving thickness/color to line segments

2011-06-15 Thread Jeremy Moles
On Wed, 2011-06-15 at 19:06 +0200, basil huffman wrote: I am looking to figure out how to give thickness to line segments. I am creating them as follows Code: osg::ref_ptrosg::Geometry geom = new osg::Geometry; osg::ref_ptrosg::DrawArrays drawArrayLines = new

Re: [osg-users] giving thickness/color to line segments

2011-06-15 Thread Jean-Sébastien Guay
Hi Basil, Thanks for starting a separate topic :-) How can I give these line segments thickness and color? Also, is this the best way to plot line segments? You want to useosg/LineWidth for this if you're using the FFP. Jeremy answered for thickness, I'll answer for color: Just set a