> I'm now trying to texture map images onto some surfaces in my > Fl_Gl_Window. Erco's code shows how to apply texture maps but > I can't see how to load them from images. I've been trying to > use OpenGL tutorials and Fl_BMP_Image but I'm not having any success. > > Any help would again be very much appreciated,
Which bit isn't working? It probably ought to work - maybe it is getting at the image data that is a problem? You do that via the img->data()[0] pointer. This HowTo touches on some stuff that may be relevant in terms of getting at the image data: http://www.fltk.org/articles.php?L468 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 mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

