Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Aniamted Textures

Rick Murray
Junior Member
Join date: 11 Sep 2003
Posts: 2
05-02-2004 12:29
:confused: :confused: :confused: :confused: :confused: :confused:

Ok here it goes,

HI all id like to know about animated textures. Think of the 1.1 ballon flame. You know how all the different flames are stitched together.....well i need to know the easiest program out there thatll do that for me(not copy and paste theres too many images:p :p ).

So help me out all you skilled ppl.:D
Zero Grace
Homunculus
Join date: 13 Apr 2004
Posts: 237
05-02-2004 14:28
I have a total newb question to add to the list: Does SL support animated GIF textures? I assume so based on what I've seen inworld but couldn't find search results for "gif" in the Knowledge Base.
_____________________
Zero Grace, agent of Tony Walsh
Read Tony's Second Life weblog entries at Clickable Culture
Reitsuki Kojima
Witchhunter
Join date: 27 Jan 2004
Posts: 5,328
05-02-2004 16:21
From: someone
Originally posted by Zero Grace
I have a total newb question to add to the list: Does SL support animated GIF textures? I assume so based on what I've seen inworld but couldn't find search results for "gif" in the Knowledge Base.


No.

Textures can be animated one of two ways.

Make multiple frames and script the animation as cycling the frames. Thats one way. Much like animated gifs.

Harder, but in my opinion producing better results, is to make one texture with all the frames on it, and change what is getting displayed at any one time.
Zero Grace
Homunculus
Join date: 13 Apr 2004
Posts: 237
05-02-2004 17:01
Thanks, Reitsuki- I now recall seeing old game textures (Quake maybe?) with animation frames on them. Now that I know about how animation is done from a texture angle, I need to find a script to reposition the texture to specific coordinates to simulate animation.
_____________________
Zero Grace, agent of Tony Walsh
Read Tony's Second Life weblog entries at Clickable Culture
Rick Murray
Junior Member
Join date: 11 Sep 2003
Posts: 2
same here
05-03-2004 05:25
I have already uploaded a the texture i just need a good scripter to get the sizex and sizey cords to fit and ill be happy.
:D :D :D :D :D
Julian Fate
80's Pop Star
Join date: 19 Oct 2003
Posts: 1,020
05-03-2004 12:09
The scripting side is pretty straight forward. If you have a texture that contains the frames of your animation just use llSetTextureAnim. It has parameters that let you describe the layout of frames in your texture so you can do it as a block (example: 4x4 frames) or a strip (1x16).

Just be sure your texture's dimensions conform to powers of 2. It's unrelated to animation but it prevents on the fly resizing in-game and possible loss of quality.
Zero Grace
Homunculus
Join date: 13 Apr 2004
Posts: 237
05-03-2004 12:20
Thanks for the handy tip, Julian!
_____________________
Zero Grace, agent of Tony Walsh
Read Tony's Second Life weblog entries at Clickable Culture