> > Link: http://www.fltk.org/str.php?L1773 > Version: 2.0-feature > > > The idea is to use the openGL 3d capabilities to create > controls with true > depth in the Z direction and have the parallax change with > the position of > the mouse cursor. The effect would be like looking at a > control panel or > keyboard looking down at it and moving your head in the X and Y > directions. Notice the parallax on the keys. I'm not thinking > to scroll > the window around just change the perspective point in the > single point > perspective view. > > Is it feasible to extend FLTK in this way?
This is an interesting idea, but I have a few comments: - This kind of assumes that the fltk widgets are rendered using OpenGL, and that you could then leverage that to render the widgets with "depth"... However, whilst fltk has extensive support for OpenGL, the bulk of the widgets are rendered using the platform native 2D API's. So you first have to re-write all the widgets to be rendered with OpenGL and then make your change. That's a fair bit of work, but maybe not impossible... However, if you were going to do that it might be as well to check out whether Cairo or similar might be an alternate option... - Whilst this might be a really cool effect, I suspect it might bug the *&^% out of me after about 5 minutes...! SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
