Mars Layered Shapes Instructions
-----------------------------------------
This is a series of mesh shapes (based around normal SL primitives) which have faces throughout them. Unlike ordinary prims, these objects may be used to simulate darkness or other effects because they have faces repeating through them.
So if one is set to phantom and you walk inside it you will see more and more faces in every direction.
As the faces can be quite difficult to get to in order to apply a texture a script is provided called "Mars Set Faces". This is only needed if you want different textures when viewed in different directions (say entering a dark tunnel). See below for details
Shapes available:
---------------------
CUBE
101 faces in each of the 6 usual directions (606 in all, or 1212 triangles)
10x10x10 cube is 1 prim land impact (3 for 20x20x20 and 24 for 64x64x64)
SPHERE
89 faces in each of 6 directions (like a cube) (534 in all or 7476 triangles (as they form circles made up of 14 triangles each))
5x5x5 sphere is 2 prims land impact (10 for 10x10x10 and 241 for 64x64x64). This grows rapidly so use the cube for covering larger areas.
Faces may be animated giving interesting effects such as mist or under water. This is quite independent of particle effects and environmental settings.
Simple example of uses:
1. Darkness
Rez a Layer Cube
Set all texture faces to blank, Colour black, Transparency 98%
2. Dense Fog
Rez a Layer Cube
Set all texture faces to blank, Colour grey, Transparency 97%
Full bright
Texturing Script (Mars Set Faces)
----------------------------------------
Mars Set Faces is the script & it requires a notecard called "faces".
To use:
1. Add Mars Set Faces script to your mesh
2. Create a notecard called "faces" see below
3. Add textures to mesh if using names rather than UUID's
4. Touch mesh to apply textures.
5. Delete script, notecard & textures when no longer required
faces notecard format for each face you wish to set 1 line
face|texture|alpha|colour|repeats|offsets|rotation|glow
where
face = face number (0-7 depending on the shape) (default face 0)
texture = texture name if in prim contents or UUID of a texture (default blank texture)
alpha = 0.0 - transparent, through to 1.0 - opaque (default 1.0 = opaque)
colour = <r,g,b> value 0.0 - 1.0 for each colour (default <1,1,1> = white)
repeats = <x,y,0> repeats of texture (default <1,1,0>)
offsets = <x,y,0> offset of texture (default <0,0,0>)
rotation = degrees rotation (default 0)
glow = 0.0 - no glow, through to 1.0 - full glow (default 0.0 = no glow)
You are welcome to use this script elsewhere at your risk.
- Mesh with approx 100 faces in each direction
- Cube (606 faces) & Sphere (534 faces)
- Optimised for lowest land impact
- Free face texturing script (Mars Set Faces)
- For full permission version contact Mars Tamale