Forums > Jitter

advice on loading many movies into gl.texture on windows

March 1, 2007 | 10:07 am

hi,
if anyone can offer tips for efficient usage of many video textures in
opengl.
i made a poly~ object the dynamicaly loads movies to texture. but
performance degrades with more then 5…

from what i understand.

1. don’t read into the texture qt.movie you don’t need.

2. use colormode uyvy to pass data into (and out off) opengl
—-this apply to mac, on pc is there some pre processing you can use to
make qt movie uyvy?
—-i understood qt7 does this on the fly but this didn’t work

#P window setfont "Sans Serif" 14.;
#P window linecount 1;
#P newex 82 110 225 9109518 jit.gl.texture goo @colormode uyvy;
#P newex 82 82 192 9109518 jit.qt.movie @colormode uyvy;
#P connect 0 0 1 0;
#P window clipboard copycount 2;

using an inbtween object like jit.rgba2uyvy does

3. use poweroftwo texture dim
—-so better 256X256 then 320X240, 512X512 then 640 480
—-what is rect_tex 0 and when and where to apply it?

4. don’t read twice.
—–is there a way to load movies into opengl vram like the loadram
message?


Viewing 1 post (of 1 total)