Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Moving Textures?

Lucynda Boffin
Registered User
Join date: 11 Jan 2005
Posts: 45
03-19-2005 12:00
Can anyone tell me how you would make textures move? Like a waterfall for example. Or, I saw a dance floor with the texture moving on a square. If this info is elsewhere, just send me that way, please...lol.
Maeve Morgan
ZOMG Resmod!
Join date: 2 Apr 2004
Posts: 1,512
03-19-2005 13:56
There is a waterfall kit in the Sl Library that has just about everything you need for a waterfall not sure about dancefloors though.
_____________________


Located in Shark
Everything under $100L
Lucynda Boffin
Registered User
Join date: 11 Jan 2005
Posts: 45
03-19-2005 14:05
Thanks Maeve ;)
jester Knox
Sculpter of Water
Join date: 22 Apr 2004
Posts: 204
03-19-2005 23:44
i think you are looking for an anim SMOOTH script, it will make textures flow across a prim face.

IM me and ill drop you a copy :-)



jester


.
_____________________
people tell me my fountains are cool, come check them out at JesAma Fountains, Alviso (190,45) or if you arent in SL try Gigas (secondserver.net) or SLBoutique to shop for my products.
Spuds Milk
Registered User
Join date: 28 Sep 2004
Posts: 94
03-20-2005 13:33
This is actually a scripting question, but you use llOffsetTexture or llRotateTexture to animate a texture.

most dancefloors are built from a base piece, and 1 cube for each color-spot, then llSetColor to set that location's color.


Note: most people use cubes such that only 1 face is visible. you could cut the number of prims by 2/3's by flattening the cube, and shrinking the top to be 1/3 the size of the bottom (so the left and right edges also face 'up' XYText uses this to save prims
Forseti Svarog
ESC
Join date: 2 Nov 2004
Posts: 1,730
03-21-2005 12:08
another really neat function is the llSetTextureAnim, which allows your texture to have multiple "frames" -- think of your texture like a film strip, and the texture animation function moves along those frames. (you can determine how many frames there are in your grid on the texture)

http://secondlife.com/badgeo/wakka.php?wakka=llSetTextureAnim
Meilian Shang
crass and pornographic
Join date: 22 Mar 2005
Posts: 242
03-24-2005 10:09
I assume these techniques would not work for texture clothing? But would for, say, a prim skirt?

How likely are they to contribute to killing peoples' framerates?
Mustikos Roo
Registered User
Join date: 29 Jan 2005
Posts: 20
03-30-2005 17:06
hiya...

Try looking in inventory... LIBRARY... (at the top) and in the SCRIPTS FOLDER.. there is a script there for animating ....
Spuds Milk
Registered User
Join date: 28 Sep 2004
Posts: 94
03-30-2005 17:12
From: Meilian Shang
I assume these techniques would not work for texture clothing? But would for, say, a prim skirt?

How likely are they to contribute to killing peoples' framerates?


There's no way of animating a non-prim clothing piece, so you'd have to do it via prim attachments.

I suspect that texture animating wouldn't work on an attachment due to texture 'baking' of avatars, but haven't tested this.
Beryl Greenacre
Big Scaredy-Baby
Join date: 24 Jun 2003
Posts: 1,312
03-30-2005 17:13
From: Meilian Shang
I assume these techniques would not work for texture clothing? But would for, say, a prim skirt?

How likely are they to contribute to killing peoples' framerates?
You can animate textures on pretty much any prim, even those attached to your avatar; however, you are correct, you cannot animate textures on actual clothing items. Any scripts running in a sim can affect FPS rates. However, it depends on how many and what types of scripts are running at any given time, in any given area as to how it will affect FPS. In other words, your mileage will vary, so experiment.
_____________________
Swell Second Life: Menswear by Beryl Greenacre
Miramare 105, 82/ Aqua 192, 112/ Image Reflections Design, Freedom 121, 121
Meilian Shang
crass and pornographic
Join date: 22 Mar 2005
Posts: 242
03-30-2005 19:07
Ah well. Thanks for the confirmation Beryl :)