Apps Any way to release texture memory in acPython?

I usually watch Miami Vice on a second monitor when playing. In VR I lost that. I have built a couple of video players inside an AC app.

One with ac.setBackgroundTexture(drawable, imagefile) and one with newTexture and ac.glQuadTexture. I was hoping for, but was as expected disappointed, that one of these would release texture memory on reassignment of the drawable or via garbage collection. I was also hoping to get away with just piling up memory for at least a couple of laps, given enough physical memory. Also doesn't work, AC crashes hard on a limit that doesn't seem to be linear to RAM.

Did somebody figure out how to release texture memory? Maybe by plugging in an interface to the C OpenGL library? I have seen some mods (for environment effects) that drag an OpenGL lib around.

I did verify that newTexture returns a texture identifier (not the size of the Texture as some old documentation says). The number looks like it is a native openGL identifier (not remapped by Kunos).

Any ideas?
 

Latest News

To join the OverTake Racing Club races I want them to be: (multiple choice)

  • Free to access

    Votes: 199 88.4%
  • Better structured events

    Votes: 37 16.4%
  • Better structured racing club forum

    Votes: 30 13.3%
  • More use of default game content

    Votes: 32 14.2%
  • More use of fixed setups

    Votes: 62 27.6%
  • No 3rd party registration pages

    Votes: 77 34.2%
  • Less casual events

    Votes: 19 8.4%
  • More casual events

    Votes: 74 32.9%
  • Other, specify in thread

    Votes: 13 5.8%
Back
Top