|
Shaden Sura
Registered User
Join date: 10 Oct 2006
Posts: 68
|
07-28-2008 16:23
=/ I am having problems w/ Texture Anim, when I put the animation script it Strech the texture to Reapeat per face to H:1.00 V:1.00 when I had set it to H:10.00 V:1.00, Rotacion (degrees) 90, any1 know how I can fix and the Texture Anim no screw the texute parametes this the script I use if some can help I'll thank any help.
float Rate = 0.2;
default { state_entry() { llSetTextureAnim(ANIM_ON | SMOOTH | LOOP, ALL_SIDES,0,0,0.0, 1,Rate); } }
|
|
Anya Ristow
Vengeance Studio
Join date: 21 Sep 2006
Posts: 1,243
|
07-28-2008 19:47
You can't prevent this. The texture anim overrides the repeats, rotation and offsets.
|
|
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
|
07-28-2008 19:52
It's sad... I have a 1024x1024 surface I want to do a water animation on... the animated texture should be 16x16 and tiled... but I need to make a 1024x1024 texture instead D:
|
|
Shaden Sura
Registered User
Join date: 10 Oct 2006
Posts: 68
|
07-28-2008 20:00
soo for about this I need to do the textue more big ? like Day Oh say like 1024x1024 or higher
|
|
Anya Ristow
Vengeance Studio
Join date: 21 Sep 2006
Posts: 1,243
|
07-28-2008 20:52
Waitaminit. I just occurred to me that I have a scaled texture that animates just fine. Here's the script in it...
default { state_entry() { llSetTextureAnim(ANIM_ON | SMOOTH | LOOP, 0,0,0,0,0,0.02); // when you first see the object the texture repeats are not correct // so set them periodically llSetTimerEvent( 4.); } timer() { llScaleTexture( 8, 12, ALL_SIDES); } }
This was just a test I did some time ago and I didn't try to see if I could increase the timer interval. Once you see it correctly the timer shouldn't be necessary at all, for you, but it must keep running so that new arrivals will see it correctly, too. A larger interval would probably serve just as well.
It seems to work.
|
|
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
|
07-28-2008 21:12
Holy hey! It's working!
|
|
Shaden Sura
Registered User
Join date: 10 Oct 2006
Posts: 68
|
07-28-2008 21:14
^-^ I LOVE YOU this work great that what I trying to do work great, when I finish what I adoing I gonna sent you free item thx alot
|
|
Urrong Urnst
Registered User
Join date: 12 Jul 2008
Posts: 49
|
07-28-2008 22:56
wow this is a realy nice trick. It is good to know that it is possible  . Congrats Anya.
|