jit.gl.hap - problems with "dispose" message

mr.l's icon

Hey,

the "dispose" message doesn't work well for me on the jit.gl.hap object. It stops the movie, but keeps the last image in the render-context. (and if I start a new movie with another scale I still see the old frame beneath...).
How to solve that?

Thanks, luke

Tobias Rosenberger's icon

jit.gl.hap just outputs a texture, which needs another gl.object (f.e. a videoplane) to become visible in a render context. so it is f.e. the videoplane that continues to show the last texture that it has received, also if the moviefile has already been disposed from jit.gl.hap....

mr.l's icon

Hi Tobi,

die Erklärung von vor 2 Jahren hab ich verstanden ;) Nur die Lösung nicht... Wenn dispose das moviefile aus dem hap-objekt löscht, aber die Texture sich das letzte Bild merkt, wie krieg ich denn dann nun diese Texture gesäubert?