hello
i am trying to implement animated textures.
has anyone experiences with that?
right now i am thinking about using the Quicktime API, since it solves a lot of codec issues.
is java fast enough for realtime decompression etc.
anyone?
hello
i am trying to implement animated textures.
has anyone experiences with that?
right now i am thinking about using the Quicktime API, since it solves a lot of codec issues.
is java fast enough for realtime decompression etc.
anyone?
[quote]is java fast enough for realtime decompression etc.
[/quote]
why realtime? load in the animation, decompress it and save the images in an array. but this solution may need a lot of memory.
mfg
wiesi
entschuldigung
oh yes it does. just some quick math:
128x128 px with RGBA is uncompressed 64kb
64kb x 30frames x 60 seconds is about 115200kb for just one minute and a little animated thumbnail.
actually i got it almost working. at least i got continous byte arrays coming out of my ‘movie reader’ which i could bind as a texture…
i have no idea about performance yet
PRETTY! i got my animated textures with QT working.
it s speed is acceptable on MAC and on WIN even more.
PRO
you can use a lot of different movie formats, all that quicktime supports. with the right codec you can even use alpha-channels.
CON
you need quicktime installed. it s not certain what happens with the API in the future. but what is then?
if anyone is interested i can supply some code.
it s still in a spaghetti-state so i hesitate to post it here