Re: [Opengc-devel] Issues loading texture
Status: Pre-Alpha
Brought to you by:
madmartigan
|
From: Damion S. <da...@op...> - 2003-10-23 05:13:01
|
Hi, It's possible that because of the way in which FLTK does things that the OpenGL device context was not correctly initialized while the gauges were being loaded. I modified the AppObject class to force a display redraw prior to loading the gauges; assuming your code was working fine in the render loop, this is the only event that was NOT occurring prior to the gauges being loaded. Grab a CVS update and let me know if this fixed your problem. -Damion- On Wednesday, October 22, 2003, at 10:53 PM, Stein,Jeffrey L. wrote: > The following has been tested on both a linux build and a windows > visual c++ build of open glass cockpit. > In trying to load a texture in a gauge constructor the texture is > never displayed. However if the texture is loaded in the gauges > render loop it displays fine. We suspect that openGL is not correctly > initialized to the point that it is able to hold textures during the > time that gauges are constructed. Does anybody have any information > on this? > > -Jeff --------- Damion Shelton The Open Source Glass Cockpit Project (OpenGC) Carnegie Mellon University, Robotics Institute http://www.opengc.org da...@op... |