removed useless _ folders
This commit is contained in:
6
Identify_Faces/Identify_Faces/Identify_Faces.prj
Normal file
6
Identify_Faces/Identify_Faces/Identify_Faces.prj
Normal file
@@ -0,0 +1,6 @@
|
||||
<Project name="Identify_Faces" guid="D7307C57-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D7307D3D-6C00-1014-B904-200204C60A89">
|
||||
<Script name="Identify_Faces_1.lsl" guid="D7309BCE-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
74
Identify_Faces/Identify_Faces/Object/Identify_Faces_1.lsl
Normal file
74
Identify_Faces/Identify_Faces/Object/Identify_Faces_1.lsl
Normal file
@@ -0,0 +1,74 @@
|
||||
// :CATEGORY:Building
|
||||
// :NAME:Identify_Faces
|
||||
// :AUTHOR:Jake Cellardoor
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:38:55
|
||||
// :ID:397
|
||||
// :NUM:553
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// Identify Faces uses this texture for Open SIm users. SL users can use the script as-is.
|
||||
//
|
||||
// <img src="/images/texturenumbers.jpg">
|
||||
// :CODE:
|
||||
|
||||
|
||||
|
||||
|
||||
display( integer value, integer face )
|
||||
|
||||
{
|
||||
|
||||
float cell_width = 0.25; // in this example the width
|
||||
|
||||
float cell_height = 0.25; // and height are the same
|
||||
|
||||
|
||||
|
||||
llSetTexture("d57a4d7d-5cd4-9f12-56a9-a92a68cfc13a", face );
|
||||
|
||||
llScaleTexture( cell_width, cell_height, face );
|
||||
|
||||
if ( value == 0 )
|
||||
|
||||
llOffsetTexture( -1.5 * cell_width, 1.5 * cell_height, face );
|
||||
|
||||
else if ( value == 1 )
|
||||
|
||||
llOffsetTexture( -0.5 * cell_width, 1.5 * cell_height, face );
|
||||
|
||||
else if ( value == 2 )
|
||||
|
||||
llOffsetTexture( 0.5 * cell_width, 1.5 * cell_height, face );
|
||||
|
||||
else if ( value == 3 )
|
||||
|
||||
llOffsetTexture( 1.5 * cell_width, 1.5 * cell_height, face );
|
||||
|
||||
else if ( value == 4 )
|
||||
|
||||
llOffsetTexture( -1.5 * cell_width, 0.5 * cell_height, face );
|
||||
|
||||
else if ( value == 5 )
|
||||
|
||||
llOffsetTexture( -0.5 * cell_width, 0.5 * cell_height, face );
|
||||
|
||||
else if ( value == 6 )
|
||||
|
||||
llOffsetTexture( 0.5 * cell_width, 0.5 * cell_height, face );
|
||||
|
||||
else if ( value == 7 )
|
||||
|
||||
llOffsetTexture( 1.5 * cell_width, 0.5 * cell_height, face );
|
||||
|
||||
else if ( value == 8 )
|
||||
|
||||
llOffsetTexture( -1.5 * cell_width, -0.5 * cell_height, face );
|
||||
|
||||
else if ( value == 9 )
|
||||
|
||||
llOffsetTexture( -0.5 * cell_width, -0.5 * cell_height, face );
|
||||
|
||||
else if ( value == 10 )
|
||||
|
||||
Reference in New Issue
Block a user