Animated Texture maps ?

Started by nixx, December 11, 2009, 11:54:49 AM

Previous topic - Next topic

nixx

Hey all,

Well, as the subject says, can we use image sequences as textures in TG2 ?

Here's hoping :)

thanks,
nick
I 'm child, and man, then child again; the boy never gets older

Matt

Yes, by replacing the frame number with '%04d' or similar. For example, if you have a sequence of images called map.0001.tga, map.0002.tga etc., enter map.%04d.tga. The '04' is the number of digits in the frame number, and it will work with other numbers. The frame number is the same as the frame number being rendered; currently it's not possible to offset or scale the number to something different.

Matt
Just because milk is white doesn't mean that clouds are made of milk.

nixx

Perfect !

So basically, it's the same "rule" as with sequence rendering, with the %04d padding. So easy, I should have tried it before I asked :)

Thanks for the immediate reply Matt.

nick
I 'm child, and man, then child again; the boy never gets older

Hetzen

Ooooh, not tried this yet! Awesome.