Re: [osg-users] osg::LineStipple - dashed lines unexpected behaviour

2012-11-15 Thread Darren Graham
Got something working based on the osgtexture1D example.

Cheers,
Darren

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51104#51104





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osg::LineStipple - dashed lines unexpected behaviour

2012-11-13 Thread Darren Graham

> create the lines yourself and then use a 1D texture to create the stipple 
> effect


are there any examples I can look at?

Cheers,
Darren

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51080#51080





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] osg::LineStipple - dashed lines unexpected behaviour

2012-11-13 Thread Darren Graham
Hi,

I am using osg to display just a simple cube using lines in 3D.  This is fine 
if I use a solid line (no pattern).  but I get an odd effect when I use 
linestipple to create a dashed line.  When I move the camera around the dashes 
move up/down the length of the line.  This looks wrong to me.  I would like the 
dashes to not move along the lines as the camera is rotated.  Is this possible?

Thank you!

Cheers,
Darren

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51075#51075





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] HUD - force refresh

2011-01-11 Thread Darren Graham
Have you tried:

hudText->setUpdateCallback(0);

or

hudText->removeUpdateCallback(bfCb);

HTH.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=35523#35523





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org