Kornscope Komachi
Transitional human
Join date: 30 Aug 2006
Posts: 1,041
|
10-06-2006 03:05
I have a cut torus and only want the inside-side texture moving. I've hacked the scripts to no avail. Is this possible? I can't find any info on this. Probably cause I cant search properly. Thanks team.
_____________________
SCOPE Homes, Bangu -----------------------------------------------------------------
|
Ishtara Rothschild
Do not expose to sunlight
Join date: 21 Apr 2006
Posts: 569
|
10-06-2006 04:52
You just have to replace the ALL_SIDES parameter with the integer value of the side you want the texture on, which would be 0 - 3 for a profile or path cut torus, 0 being the outside (in case of a profile cut). Try this, for example: default { state_entry() { llSetTextureAnim(ANIM_ON | SMOOTH | LOOP, 1, 1, 1, 0.0, 0.0, 0.5); } } You can only animate either 1 side or all sides at once though, and a profile cut torus has two inside halfs. If you mean a path cut torus instead: in that case inside and outside are the same texture face, unless you add a profile cut. I'd rather use a hollow cylinder or a hollow sphere, dimpled on both sides. Or you could use 2 prims, hiding the outside of a torus with a larger torus.
|
Kornscope Komachi
Transitional human
Join date: 30 Aug 2006
Posts: 1,041
|
Very good.
10-06-2006 21:41
Thank you. It does the job. I have a fairly tortured torus as a sculpture and now does what I wanted. Thanks again. The last bit looks like this for me: LOOP, 2, 1, 1, 0.0, 0.0, 0.15)
_____________________
SCOPE Homes, Bangu -----------------------------------------------------------------
|