<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.secondlife.com/w/index.php?action=history&amp;feed=atom&amp;title=Edit_Object_Texture_Test</id>
	<title>Edit Object Texture Test - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.secondlife.com/w/index.php?action=history&amp;feed=atom&amp;title=Edit_Object_Texture_Test"/>
	<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=Edit_Object_Texture_Test&amp;action=history"/>
	<updated>2026-06-07T19:46:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=Edit_Object_Texture_Test&amp;diff=5023&amp;oldid=prev</id>
		<title>Dan Linden at 02:24, 12 January 2007</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=Edit_Object_Texture_Test&amp;diff=5023&amp;oldid=prev"/>
		<updated>2007-01-12T02:24:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{OSWikiFeatureNav|parent=Textures}}&lt;br /&gt;
[[Category:Test Scripts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;8/2/05 original test written by SteveLinden&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== EditObjectTextureTest ==&lt;br /&gt;
&lt;br /&gt;
=== 1. Shininess and Bumpiness ===&lt;br /&gt;
* For this test you must enable &amp;#039;Shiny Objects&amp;#039; in Edit-&amp;gt;Preferences-&amp;gt;Graphics-&amp;gt;Performance Options&lt;br /&gt;
&lt;br /&gt;
* A. Shininess&lt;br /&gt;
** 1. Right-click an object that you have permissions on and choose Edit&lt;br /&gt;
*** a. Select the Texture Tab&lt;br /&gt;
*** b. Set the Shininess to Low&lt;br /&gt;
**** The object should appear brighter and look something like a reflection&lt;br /&gt;
*** c. Repeat b. with Medium and High. The shininess should change.&lt;br /&gt;
*** d. Change the Shininess back to None&lt;br /&gt;
** 2. Choose &amp;#039;Select Texture&amp;#039; in the top section of the Edit window&lt;br /&gt;
*** a. Click on an individual face to select it.&lt;br /&gt;
*** b. Change the Shininess as per step 1.b.&lt;br /&gt;
**** The Shininess should change for just the selected face &lt;br /&gt;
** 3. Close the Edit window&lt;br /&gt;
&lt;br /&gt;
* B. Bumpiness&lt;br /&gt;
** 1. Right-click an object that you have permissions on and choose Edit&lt;br /&gt;
*** a. Select the Texture Tab&lt;br /&gt;
*** b. Set the Bumpiness to &amp;quot;Brightness&amp;quot;&lt;br /&gt;
**** The object should now have a bumpmap making the surface look like it has some roughness&lt;br /&gt;
*** c. Repeat b. with two other values. The bumpiness should change.&lt;br /&gt;
*** d. Change the Bumpiness back to None&lt;br /&gt;
** 2. Choose &amp;#039;Select Texture&amp;#039; in the top section of the Edit window&lt;br /&gt;
*** a. Click on an individual face to select it.&lt;br /&gt;
*** b. Change the Bumpiness as per step 1.b.&lt;br /&gt;
**** The Bumpiness should change for just the selected face.&lt;br /&gt;
** 3. Close the Edit window&lt;br /&gt;
&lt;br /&gt;
* C. Fullbright&lt;br /&gt;
** 1. Right-click an object that you have permissions on and choose Edit&lt;br /&gt;
*** a. Select the Texture Tab&lt;br /&gt;
*** b. Set the Full Bright check box to Enabled&lt;br /&gt;
**** The object should now be unaffected by the sun and local lights; it should always be &amp;quot;full bright&amp;quot;&lt;br /&gt;
**** Rotate the object around to verify that it is unaffected by sunlight&lt;br /&gt;
**** Enable local lighting (you may need to restart). Create a light next to the object. Verify that the object is unaffected.&lt;br /&gt;
*** d. Change Full Bright to Disabled&lt;br /&gt;
** 2. Choose &amp;#039;Select Texture&amp;#039; in the top section of the Edit window&lt;br /&gt;
*** a. Click on an individual face to select it.&lt;br /&gt;
*** b. Enable Full Bright as per step 1.b.&lt;br /&gt;
**** Just the selected face should be full bright. Test using the steps described in 1.b.&lt;br /&gt;
** 3. Choose &amp;#039;Position&amp;#039; in the top section of the Edit window. You will now be editing the entire object.&lt;br /&gt;
*** a. Verify that the Full Bright check box is greyed out, indicating that the value is different for different faces.&lt;br /&gt;
*** b. Click on the Full Bright check box. The check box should no longer be greyed out and the entire object should be full bright.&lt;br /&gt;
&lt;br /&gt;
* D. Scripting (advanced)&lt;br /&gt;
** Test setting the bumpiness, shininess, and full bright properties of a face through a script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 //switch fullbright for whole object on and off&lt;br /&gt;
 integer x=0;&lt;br /&gt;
 default&lt;br /&gt;
 {&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        llSay(0, &amp;quot;starting&amp;quot;);&lt;br /&gt;
        llSetTimerEvent(1);&lt;br /&gt;
    }&lt;br /&gt;
    timer()&lt;br /&gt;
    {&lt;br /&gt;
        llSetPrimitiveParams([PRIM_FULLBRIGHT, ALL_SIDES, (x = llAbs(--x))]);&lt;br /&gt;
        llSay(0,&amp;quot;fullbright = &amp;quot;+(string)x);&lt;br /&gt;
    }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 //set individual sides to fullbright&lt;br /&gt;
 integer x=0;&lt;br /&gt;
 integer y=0;&lt;br /&gt;
 default&lt;br /&gt;
 {&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        llSay(0, &amp;quot;starting&amp;quot;);&lt;br /&gt;
        llSetTimerEvent(1);&lt;br /&gt;
    }&lt;br /&gt;
    timer()&lt;br /&gt;
    {&lt;br /&gt;
        llSetPrimitiveParams([PRIM_FULLBRIGHT, (y = llRound(llFrand(7))), (x = llAbs(--x))]);&lt;br /&gt;
        llSay(0,&amp;quot;Setting side&amp;quot;+ (string)y+&amp;quot; to &amp;quot;+(string)x);&lt;br /&gt;
    }&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>Dan Linden</name></author>
	</entry>
</feed>