Some textures can be loaded dynamically indeed, and that is why I'm attempting to grab them from within the API. Just looking at the DeltaGlider code:
strcpy (fname+n, scramjet ? "dgmk4_2.dds" : "dgmk4_2_ns.dds"); skin[1] = oapiLoadTexture (fname);
Currently, I enumerate the vessel meshes and...
Yes, of course, but I am trying to enumerate vessels from within the API. The path to the vessel config file might be sufficient, so that I could access it.
Otherwise, I need to save the textures somewhere.
Hi, first post, be gentle! :)
How would I be able to save mesh textures to file? I've read several threads here and tested a few things, but I can not get it to work. More specifically, the following are my stumbling blocks:
- The use of oapiGetDC or Sketchpad->GetDC return null values most of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.