octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenGL object selection


From: Jacob Dawid
Subject: Re: OpenGL object selection
Date: Wed, 4 Jul 2012 19:11:30 +0200

Michael,

I have done a similar thing in an application that I wrote. For
collision detection I tool I took the projection of the mouse pointer
from the viewing frustrum's front plane to the backplane. See here
(method "ray");

http://code.google.com/p/glee3d/source/browse/libglee3d/display.cpp

Jacob

2012/7/4 Michael Goffioul <address@hidden>:
> Hi,
>
> For people interested, I've started to implement object selection for the
> OpenGL renderer. This is one of the missing piece in the OpenGL-based
> backends. It allows to select objects with the mouse and trigger the
> appropriate callbacks. At the moment, the code is in QtHandles, but
> eventually the plan will be to move the opengl_selector class in main octave
> source tree.
>
> It's still in development (and probably buggy), but it's already usable and
> I created a simple test script to demonstrate the "picking" capability (see
> https://github.com/goffioul/QtHandles/blob/master/tests/test1.m).
>
> Feedback and suggestions welcome.
>
> Michael.
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]