Sides of an object-- Texture and color

 

Colorators.  Script modding colors

LSL lets you manipulate the texture and color of individual sides of an object.  If you want to affect all the sides of an object, use the constant ALL_SIDES.  So when you see that constant in a function, you can replace it with a number to designate a specific side.  

The list on the right shows numbers you can experiment with for boxes.  Beyond solid boxes, the designation of sides is complicated. 

For a box when it is aligned with the axes
0 - top
1 - lesser y
2 - greater x
3 - greater y
4 - lesser x
5 - bottom
Assign colors  (ALL_SIDES) Colorators
Colorator, Owner controlled
Owner colored wall panel
Assign colors to specific sides Color Sides
Note mail box
Assign textures  (ALL_SIDES) Primager
   
   
   
   
   
The Thinkerer 09/13/2008
Copyright (c) D. F. Dansereau & S. H. Evans

Site Map

Where start?

LODScr
Famous fables