Here is a possible water effect and script for a hypergate, forĀ OSC Monthly Challenge January 2012: Gates.
The way it works is that the 1024×1024 texture is divided into 16 256×256 smaller images. The following script cycles through them, one by one, creating a rippling water effect:
default
{
state_entry()
{
llSetTextureAnim(ANIM_ON | LOOP, ALL_SIDES, 4, 4, 1, 16, 6.0);
}
}
Make it full bright and you’ve got yourself the inside of the hypergate.
My thinking is to put a frame — the exterior of the hypergate — into this image (repeating it sixteen identical times) to get the effect of moving water inside a still frame. The other idea I’ve got is to make the image circular — with transparent areas around it — so you could put it on top of another prim that has whatever color and hypergate frame you want.
The zipped file attached includes the above image in JPG, PNG, TGA formats as well as in GIMP’s format, if you want to edit each layer individually. Or fiddle with the light effects.
The source for the water textures was a GIF file that I pulled apart, that was posted here:
http://gm3dforums.com/index.php?showtopic=323
The author says it’s free for anyone to use for projects, as long as they’re credited. Unfortunately, the only name given is “Someone else” so I’m not sure how to credit them! I guess I can attach a notecard to the hypergate with instructions for how to use it, then a credit line of “Water textures by Someone Else.”
Download: HG water texture - Downloaded 102 times




