08-16-2008 15:23
I’ve made a cascading fountain and have a sculpted cylinder that I am using for the water flow from top bowl to base. Using one of the library waterfall textures and adjusting the repeats, I was able to get the results I wanted.

I added this simple water flow script.

CODE

float speed = 0.02;

default
{
state_entry()
{
llSetTextureAnim(ANIM_ON | SMOOTH | LOOP, ALL_SIDES, 1, 1, 1, 0, speed);
}
}


The image animates horizontally instead of vertically. I was able to get the image to animate vertically by changing the texture rotation in the SL editor but the image is distorted along the horizontal axis.

I’ve tried using different “llSetTextureAnim” settings to no avail and the editor texture repeats don’t seem to have any effect once the flow script is started. I even tried changing the rotation of the water texture in Photoshop before applying but still get the same results. Can someone tell me what I am missing? Thanks in advance.

P.S. What does it take to be able to upload images to show as examples?