On 6/8/07, Tim Moore <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mathias Fröhlich wrote:
> Hi Robert,
>
> I intent to implement something for OpenGL Hints.
> Just because, flightgear currently uses them with direct OpenGL calls in the
> hope that the main threads current context is the only one that can ever
> exist. IMO osg should handle them.
>
See <osg/Hint> in osg SVN.

hint hint :)

Earlier in the week Tim sent me a Hint StateAttribute implementation,
I reviewed this and saw a simpler route which is in fact inspired by
Tim's submission but using a little insider knowledge of
StateAttribute, so I put together a Hint StateAttribute and checked it
in.  You can use it like:

stateset->setAttribute(new osg::Hint(GL_LINE_SMOOTH_HINT, GL_NICEST));

This functionality is in 1.9.8.

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

Reply via email to