Re: [osg-users] Increasing line width

2012-10-22 Thread Filip Arlet
Chris Hanson wrote: On Wed, Oct 17, 2012 at 9:18 AM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC () wrote: Take a look at the createAxis() in the osgbillboard.cpp file for the osgbillboard example. There's code in there to set linewidth...   Rather than altering the model

Re: [osg-users] Increasing line width

2012-10-22 Thread Chris Hanson
Yes, cloning entity and setting linewidth to higher number works, only problem is with cloning big entity, its slow operation for realtime highlighting. I was wondering if this can be achieved without cloning entire entity. Well, if you can use shaders or stencil buffers, you could write

[osg-users] Increasing line width

2012-10-17 Thread Filip Arlet
Hi, I want to highlight part of CAD model. I have big symbol with lines, that have different line width. Now I want to render that lines with +4.0f linewidth according to original width of every line. What is the best approach? Thank you! Cheers, Filip -- Read this topic

Re: [osg-users] Increasing line width

2012-10-17 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Sent: Wednesday, October 17, 2012 3:55 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Increasing line width Hi, I want to highlight part of CAD model. I have big symbol with lines, that have different line width. Now I want to render that lines with +4.0f linewidth according

Re: [osg-users] Increasing line width

2012-10-17 Thread Chris Hanson
On Wed, Oct 17, 2012 at 9:18 AM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC shayne.tuel...@hill.af.mil wrote: Take a look at the createAxis() in the osgbillboard.cpp file for the osgbillboard example. There's code in there to set linewidth... Rather than altering the model (which break