[fxruby-users] OpenGL selection

Björn Bergqvist bjorn.bergqvist at gmail.com
Wed Dec 14 02:32:46 EST 2005


Hi,
Thank you for the answer.

Still I think there should be some highlight feature.
FXGLShape::onDNDDrop exist, why not a FXGLShape::onMouseClicked??

Bjorn Bergqvist

On 12/7/05, Riccardo Giannitrapani <riccardo at fisica.uniud.it> wrote:
> Hi
>
> as far as I know you need to use the standard OpenGL selection mode to be
> able to "pick" objects in a GL canvas (maybe I'm wrong and FOX provide
> some standard method) .. I can suggest you this tutorial
>
> http://www.lighthouse3d.com/opengl/picking/
>
> that is really simple, clear and very well done (imho). Hope it can be
> useful
>
> See you, Riccardo :)
>
>
> On Wed, 07 Dec 2005 13:50:47 +0100, Björn Bergqvist
> <bjorn.bergqvist at gmail.com> wrote:
>
> > Hello
> > I would like to highlight a FXGLLine when it gets selected/deselected.
> > How do I achieve that? (maybe there is som built in support for this
> > FXGLObject::SEL_HIGHTLIGHT??)
> >
> > Regards
> > Bjorn Bergqvist
> >
> > _______________________________________________
> > fxruby-users mailing list
> > fxruby-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/fxruby-users
>
>
>
> --
> Riccardo Giannitrapani
> I.N.F.N - Sezione di Trieste and Dipartimento di Fisica
> Universita` di Udine - Via delle Scienze, 206  Udine (Italy)
> Room L1-14-BE   Tel (Office): +39-0432-558209
> Home Page: http://www.fisica.uniud.it/~riccardo
> ICQ# 86590904
>
> ----
> There are only 10 kinds of people in this world:
> those who understand binary and those who don't.
> (Anonymous)
> _______________________________________________
> fxruby-users mailing list
> fxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/fxruby-users
>



More information about the fxruby-users mailing list