[osg-submissions] Changing the keys for StateSetManipulator
Robert Osfield
robert.osfield at gmail.com
Wed Mar 5 02:43:25 PST 2008
Thanks J-S, changes to StateSetManipulator merged and submitted to SVN.
On Tue, Mar 4, 2008 at 5:42 PM, Jean-Sébastien Guay
<jean-sebastien.guay at cm-labs.com> wrote:
> Hello,
>
> I changed osgGA::StateSetManipulator to mirror the
> osgViewer::StatsHandler and other handlers which allow you to change the
> key(s) you would press to get them to do something. Pretty simple change
> but useful in our context and possibly in others too.
>
> Also attached is a modified osgViewer which demonstrates that it works.
> The StateSetManipulator functions are remapped to F1-F4. It also
> demonstrates that in the 'h' help, the Fn function keys get displayed
> incorrectly, but that's a fix for another time. :-)
>
> Note that I didn't know what to do about the #if
> COMPILE_TEXENVFILTER_USAGE functionality, which seems like a relic from
> the past (based on the fact that it used the 'm' key which is now the
> threading mode). You can either just put the code back to defer a
> decision to later, or leave it as it is if you know it's not used
> anymore (and will not be in the foreseeable future).
>
> Thanks,
>
> J-S
> --
> ______________________________________________________
> Jean-Sebastien Guay jean-sebastien.guay at cm-labs.com
> http://www.cm-labs.com/
> http://whitestar02.webhop.org/
>
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
More information about the osg-submissions
mailing list