Texture Animator

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

Texture Animator // Interactive Artwork

1  |  

Post by Délé // Sep 14, 2006, 10:58pm

Délé
Total Posts: 1374
pic
Hey guys,


In shared space last night I remembered about a new script I was going to post. So here it is. It's called "Texture Animator". This is intended to create an animated texture for a projector light. Be warned, it will bog down if you try to use it with an objects texture. This only works with a projector lights texture.


If you select the "set" tab, you can drag and drop frames from your bitmap library into the numbered slots (up to 25 frames). Then in the "default" aspect, you can set the speed (fps) and how many frames you want to loop through. So if you only have a 10 frame animation, set the "Frames" to 10. The check box will alllow you to play the frames in reversed order. Then just link a timer into the "TimerIN" and link the bitmap output into the texture input for your projector light.


This works nicely to create real time animated lighting effects such as underwater lighting.

Post by peterma // Sep 15, 2006, 9:50pm

peterma
Total Posts: 48
Nice one, Dele. Looking at the script, I'm sure you will benefit from ts7.5 improvements like unlimited connector count for script objects, arrays etc. :)
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn