Official Forum
You are not logged in.
6smith wrote:
How do you do it? its great!
There is a parameters for texture in Script menu named "textureMatrix". Try to modify it to see how it works.
In particular case I've set horizontal shift depends on system.time {[x, x, x, system.time/50 ,x ,x ,x ,x, x]}
Offline
Kilinich wrote:
6smith wrote:
How do you do it? its great!
There is a parameters for texture in Script menu named "textureMatrix". Try to modify it to see how it works.
In particular case I've set horizontal shift depends on system.time {[x, x, x, system.time/50 ,x ,x ,x ,x, x]}
Oh thanks!
Offline
I wondered about the texture matrix a few minutes ago. Then it came up here. Funny.
Here is the values I understand. I could not get any reaction from the last three.
[x-size, x-distort, x-displace, y-distort, y-size, y-displace, wont-work, wont-work, wont-work]
Offline
The last couple have to be about rotation or something, right?
Killinch, you are an excellent phunner (lol, phunner).
Game = Gamer
Phun = Phunner
Last edited by Iggyhopper (2009-04-03 14:42:01)
Offline
Kasper Hviid wrote:
I wondered about the texture matrix a few minutes ago. Then it came up here. Funny.
Here is the values I understand. I could not get any reaction from the last three.
[x-size, x-distort, x-displace, y-distort, y-size, y-displace, wont-work, wont-work, wont-work]
The last 3 do something with polygon textures. It's hard to say what though.
EDIT: Actually the last parameter seems to change the scale.
Last edited by RBS (2009-04-03 23:50:16)
Offline
But does this mean that we can have animated GIFs as textures?

Offline
Dakta wrote:
But does this mean that we can have animated GIFs as textures?
No. Here the texture is all the same image just it's position on the shape is being modified.
Offline
Dakta wrote:
But does this mean that we can have animated GIFs as textures?
Well, yes we can but it's pretty tricky. You need large texture with all frames and function that will instantly switch texture position in particular time.
Offline
Animated .gif could as well be very easy, depending on how many frames it is, and how big it is.
The file size would definitely be a problem if it was a big .gif.
What is actually going to happen is you will need file names like "img1.gif", "img2.gif", "img3.gif", "img4.gif". Play those over again by increasing and resetting the number.
There is another way, which might be easier. You will need to split up the .gif, then append all the frames into one image, horizontally. You can then edit the texture matrix, I would think that is much easier.
Offline