Difference between revisions of "Render Correctness Test"

From Second Life Wiki
Jump to navigation Jump to search
 
 
(67 intermediate revisions by 5 users not shown)
Line 1: Line 1:
From the graphics tab in preferences:
{{OSWikiFeatureNav|parent=Render Correctness}}
[[Category:Test Scripts]]


* disable all check boxes above the nighttime brightness slider.
* set avatar rendering to normal
* set terrain detail to None


== Purpose ==
Test expected render behavior for 3.0 and newer viewers.


From the Adv. Graphics tab:
=== Terrain rendering ===


* disable Avatar Vertex program
* Verify terrain mesh detail defaults to High when Graphics Quality is set to Mid or higher.
* set bumpiness draw distance to 5
* Verify terrain mesh detail defaults to Low when Graphics Quality is set to Low.
* Verify terrain detail textures change according to elevation. (screenshot from http://maps.secondlife.com/secondlife/Bug%20Island%202/88/98/23)
[[File:Terrain_rendering.jpg]]


=== Windlight rendering ===
* Set Graphics quality to High.
* If Atmospheric shaders is still disabled, skip to the next section.
* Verify you can see clouds in the sky like this picture from http://maps.secondlife.com/secondlife/Bug%20Island%202/88/98/23
[[File:Windlight_clouds.jpg]]


Restart if necessary.
=== Water rendering ===


Testing terrain rendering:
* Verify that the Transparent Water shader is disabled when Graphics Quality is set to Low.
 
* Verify that the Transparent Water shader is enabled when Graphics Quality is set to Low-Mid or higher.
* Verify no detail textures are rendering and the terrain appears as though the mini-map image is stretched across the region
* Uncheck Transparent Water and verify the water surface appears opaque from above and below water.
* Set terrain detail to some in the graphics tab in preferences.
* Check Transparent Water and verify the water surface appears transparent from above and below water.
* Verify that a single detail texture is visible
* Put camera under water, verify that fog changes. There is generally more fog below water than above water.
* Set terrain detail to full in the graphics tab in perferences.
* Turn on Preferences > Graphics > Advances Settings > Basic Shaders and Transparent Water. ''(Basic shaders cannot be enabled if OpenGL < 2.0. The OpenGL version can be found in Help menu -> About Second Life. If OpenGL < 2.0, skip to the next section.)''
* Verify terrain detail textures change according to elevation.  
 
 
Testing water rendering:
 
* Verify that water is transparent.
* Put camera under water, verify that fog changes.
* Verify that sun/moon reflections appear on surface of water.
* Verify that sun/moon reflections appear on surface of water.
* Verify that sun/moon reflections DO NOT appear on terrain near the horizon.
* Turn on ripple water.
* Verify that water appears to have animated waves.
* Verify that water appears to have animated waves.
* Verify that sun/moon shine off the water.
* Put camera under water and verify that objects above water appear distorted by the waves.
* Put camera under water and verify that objects above water appear distorted.
* Move the sun to Midday ({{KeyCombo|ctrl=*|shift=*|Y}}) and verify that water looks appropriate.
* Use mouse moves sun (Ctrl-Alt-M) to change time of day and verify that water looks appropriate (not 2000 flushes blue).  
[[File:Water1.jpg]]


=== Water Reflections ===


Testing avatar rendering:
* Confirm Basic Shaders and either Transparent Water or Bump mapping is enabled in Preferences > Graphics > Advanced Settings.
* Find Water Reflections in Preferences > Graphics > Advanced Settings
* Select "Terrain and Trees" water reflections and verify you see the land and trees reflected in the water.
* Select "All Static Objects" and verify that now in addition to the trees and terrain, you see unmoving objects reflected.
* Select "All Avatars and Objects" and verify that you and other avatars are now being reflected as well.
* Select "Everything" and verify that all terrain, trees, objects, avatars, and particles are now reflected in the water.
 
=== Avatar rendering ===


* Verify that the avatar is lit by the sun/moon
* Verify that the avatar is lit by the sun/moon
* Right click on avatar and click on appearance
* Right click on your avatar and Edit My Shape.
* Verify that avatar renders properly in preview panels.
* Verify that avatar renders properly in the preview panels.
* Set avatar eye color to darkest and iris texture to blank.
* Repeat with Hardware Skinning enabled/disabled in preferences.
* Verify that specular highlights (white shiny things) appear in eyes.
* Repeat with avatar vertex program enabled/disabled for all avatar rendering options in preferences.  


=== UI Rendering===


Testing UI Rendering:
* Turn on property lines and land owners from World > Show menu.
 
* Turn on property lines/stats bar/land owners/alt-shows physical/et al from view menu.
* Verify all appear correctly.
* Verify all appear correctly.
* Especially verify that text appears correctly in statistics bar.
* Turn on stats bar with ctrl-shift-1
* From the client menu, turn on Show Updates.
* Verify that text appears correctly in statistics bar.
* Find a scripted object and verify that update hints are being rendered (should look like red or blue polygons).
* Enable World menu > Show > Beacons, and check the Scripted check box.
* Hold mouse over avatar and verify tooltip renders properly.
* Enable Beacons and Highlights
* Select an object.
* Verify Beacons and Highlights appear on scripted objects [need a picture here]
* Open the Develop menu with Ctrl-Alt-Q, turn on Develop > Show Info > Show Updates to Objects.
* Find a scripted object and verify that update hints are being rendered (should look like red or blue spots rising from the center of the object. Blue spots will rise from your avatar if you walk).
* Hold mouse cursor over an avatar and verify the tooltip renders properly.  
[[File:Tooltip1.jpg]]
* Select an object. (eg. the Kart from the Library)
* Verify silhouette outline renders correctly.
* Verify silhouette outline renders correctly.
* Turn on tools->show hidden selections.
[[File:Object select.jpg]]
* Edit an object.
* Edit an object.
* Verify that occluded silhouette outlines appear as thin lines.
* Verify that the root prim (the seat) has a yellow outline while the other prims have a blue outline.
* Zoom in on the object.
[[File:Object_edit_2.jpg]]
* Verify that occluded silhouette outlines fade out appropriately.
* Verify a particle beam projects from your hand to the object you are editing.
* Turn off tools->show hidden selections.
* Verify that occluded silhouette outlines are not drawn.  
 
 
Testing Object Rendering:


=== Object Rendering ===
''[make objects for these tests to speed testing]''
* Make a cube.
* Make a cube.
* Change its color.
* Change its color.
* Move the cube. Verify color remains the same.
* Move the cube. '''Verify''' color remains the same.
* Make cube transparent.
* Make cube transparent.
* Move the cube. Verify color remains the same.
* Move the cube. '''Verify''' color remains the same.
* Turn on shiny objects in preferences.
* Turn on the Bump mapping and shiny shader in preferences.
* Give cube a texture with an alpha mask that is 100 transparent in some area. (eg. Inventory/Library/Textures/*Default Transparent Texture)
* Close the edit tools
* '''Verify''' you can click through the mask (the transparent section) with alt-zoom.
* '''Verify''' you can right-click your avatar through the mask.
* Attach the cube to your HUD.
* '''Verify''' the HUD attachment has full bright lighting and looks the same if you toggle Full Bright on and off in the Texture panel of edit tools.
* '''Verify''' the HUD attachment is not lit by the sun or moon when you look around.
* '''Verify''' the mask part of the HUD attachment does not block alt-zoom unless in edit mode.
* '''Verify''' you can select the HUD attachment when in edit mode.
* Attach a default script to the cube HUD attachment.
* '''Verify''' HUD attachment responds to left click.
* '''Verify''' you can right click your avatar through the cube attachment's mask.
* Detach the cube
* Make a sphere
* Make a sphere
* Change the sphere's color.
* Change the sphere's color.
* Make it varying levels of shiny (low, medium, high) and verify correct appearance.
* Make it shiny medium and '''verify''' it appears shiny.
* Move the sphere. Verify color remains the same.
* Move the sphere. '''Verify''' color remains the same.
* Give the sphere a bump map.
* Give the sphere a bump map.
* Verify that bump map is visible when sphere is within 5 meters of the camera
* '''Verify''' that bump map is visible.
* Attach the sphere to your HUD.
* Attach the sphere to your HUD.
* Verify that sphere is not lit and is still shiny and bump mapped.
* '''Verify''' the sphere is still shiny and bump mapped.
* Give previous cube a texture with an alpha mask.
* '''Verify''' the sphere is not lit by the sun or moon when you look around. [https://jira.secondlife.com/browse/SH-2646 SH-2646]
* Verify you can click through the mask with alt-zoom.
* Verify you can right-click your avatar through the mask.
* Attach the cube to your hud.
* Verify hud attachment is not lit.
* Verify hud attachment does not block alt-zoom unless in edit mode.
* Verify you can right-click on the hud attachment to select it.
* Attach a default script to the cube hud attachment.
* Verify hud attachment responds to left click.
* Verify you can right click your avatar through the cube attachment's mask.
 
 
Testing Highlight rendering:


* Attach a semi-transparent cube to your HUD if you don't already have one.
=== Sculpty Rendering ===
* Turn on View menu > Highlight Transparent. Verify your HUD object is highlighted with a red tint
* Turn off View menu > Highlight Transparent.


* Rez the sculpty horse from My Inventory/Library/Objects/Sculpt Prims - Examples/Horse (Sculpt Prim Example) - by Nomasha Syaka
* Verify you see a collection of blobs that resolves into a brown and white running horse withing a few seconds.
[[File:sculpty_horse.jpg]]


Testing render order:
=== Highlight rendering ===
* Create 2 cubes, make one 100% transparent and the other 50% transparent.
* Enable the Advanced menu with ctrl-alt-D or with Preferences > Advanced > Show Advanced Menu
* Turn on Advanced menu > Highlighting and Visibility > Highlight Transparent.
* Verify both cubes are highlighted with a red tint.
* Attach both cubes to your HUD
* Verify both cubes on your HUD are highlighted with a red tint.
* Turn off Advanced menu > Highlighting and Visibility > Highlight Transparent.


=== Render order ===
* Attach a semi-transparent cube to your HUD if you don't already have one.
* Attach a semi-transparent cube to your HUD if you don't already have one.
* Turn on View menu >Property Lines. Verify the property liines do not draw in front of hills or solid objects.
* Turn on World menu > Show > Property Lines. Verify the property lines do not draw in front of hills or solid objects or your semi-transparent HUD object.
* Open the world map and click on a location nearby, and close the world map
* Open the world map and click on a location nearby, and close the world map
* Verify the red colum is only visible above ground, and not as it passes below ground.
* Verify the red column is only visible above ground, and not as it passes below ground.
* Turn off View menu >Property Lines.  
* Turn off World menu > Show > Property Lines.
[[File:Render_order1.jpg‎]]


 
=== llSetText rendering ===
Testing llSetText rendering:


* Attach a semi-transparent cube to your HUD if you don't already have one.
* Attach a semi-transparent cube to your HUD if you don't already have one.
Line 125: Line 140:
</pre>
</pre>


* Verify you can see the SetText message on the HUD object.  
* Verify you can see the SetText message rapidly changing colors on the HUD object.


=== Appearance mode rendering ===


Testing appearance mode rendering:
* Right click your Avatar and "Edit My Shape".
 
* Enter appearance mode.
* Verify you can see the thumbnail images for your avatar.
* Verify you can see the thumbnail images for your avatar.
* Edit your Skin.
* Change your skin color, Save All, and exit appearance mode.
* Change your skin color, Save All, and exit appearance mode.
* Verify your avatar textures rebake after a few seconds and that your skin color is correct.  
* Verify your avatar textures rebake after a few seconds and that your skin color is correct.
 
=== Shaders ===
 
* Go to http://maps.secondlife.com/secondlife/Bug%20Island%202/243/247/23
* Set your shaders and sun position as indicated on the red sphere at that location.
* Verify the spheres render the same as they appear in the picture at that location.
* Continue testing at the 5 stations to the South.
 
 
=== Glow + transparent ===
* Go to http://maps.secondlife.com/secondlife/Bug%20Island%202/244/175/23
* Verify the sphere is invisible when Basic Shaders are off.
* Verify the sphere is glowing when Basic Shaders are on.
 


[[Category:QA Portal]]
[[Category:QA Portal]]
[[Category:Quality Assurance]]
[[Category:Quality Assurance]]

Latest revision as of 11:39, 3 March 2022


Purpose

Test expected render behavior for 3.0 and newer viewers.

Terrain rendering

Terrain rendering.jpg

Windlight rendering

Windlight clouds.jpg

Water rendering

  • Verify that the Transparent Water shader is disabled when Graphics Quality is set to Low.
  • Verify that the Transparent Water shader is enabled when Graphics Quality is set to Low-Mid or higher.
  • Uncheck Transparent Water and verify the water surface appears opaque from above and below water.
  • Check Transparent Water and verify the water surface appears transparent from above and below water.
  • Put camera under water, verify that fog changes. There is generally more fog below water than above water.
  • Turn on Preferences > Graphics > Advances Settings > Basic Shaders and Transparent Water. (Basic shaders cannot be enabled if OpenGL < 2.0. The OpenGL version can be found in Help menu -> About Second Life. If OpenGL < 2.0, skip to the next section.)
  • Verify that sun/moon reflections appear on surface of water.
  • Verify that water appears to have animated waves.
  • Put camera under water and verify that objects above water appear distorted by the waves.
  • Move the sun to Midday (Ctrl-⇧ Shift-Y) and verify that water looks appropriate.

Water1.jpg

Water Reflections

  • Confirm Basic Shaders and either Transparent Water or Bump mapping is enabled in Preferences > Graphics > Advanced Settings.
  • Find Water Reflections in Preferences > Graphics > Advanced Settings
  • Select "Terrain and Trees" water reflections and verify you see the land and trees reflected in the water.
  • Select "All Static Objects" and verify that now in addition to the trees and terrain, you see unmoving objects reflected.
  • Select "All Avatars and Objects" and verify that you and other avatars are now being reflected as well.
  • Select "Everything" and verify that all terrain, trees, objects, avatars, and particles are now reflected in the water.

Avatar rendering

  • Verify that the avatar is lit by the sun/moon
  • Right click on your avatar and Edit My Shape.
  • Verify that avatar renders properly in the preview panels.
  • Repeat with Hardware Skinning enabled/disabled in preferences.

UI Rendering

  • Turn on property lines and land owners from World > Show menu.
  • Verify all appear correctly.
  • Turn on stats bar with ctrl-shift-1
  • Verify that text appears correctly in statistics bar.
  • Enable World menu > Show > Beacons, and check the Scripted check box.
  • Enable Beacons and Highlights
  • Verify Beacons and Highlights appear on scripted objects [need a picture here]
  • Open the Develop menu with Ctrl-Alt-Q, turn on Develop > Show Info > Show Updates to Objects.
  • Find a scripted object and verify that update hints are being rendered (should look like red or blue spots rising from the center of the object. Blue spots will rise from your avatar if you walk).
  • Hold mouse cursor over an avatar and verify the tooltip renders properly.

Tooltip1.jpg

  • Select an object. (eg. the Kart from the Library)
  • Verify silhouette outline renders correctly.

Object select.jpg

  • Edit an object.
  • Verify that the root prim (the seat) has a yellow outline while the other prims have a blue outline.

Object edit 2.jpg

  • Verify a particle beam projects from your hand to the object you are editing.

Object Rendering

[make objects for these tests to speed testing]

  • Make a cube.
  • Change its color.
  • Move the cube. Verify color remains the same.
  • Make cube transparent.
  • Move the cube. Verify color remains the same.
  • Turn on the Bump mapping and shiny shader in preferences.
  • Give cube a texture with an alpha mask that is 100 transparent in some area. (eg. Inventory/Library/Textures/*Default Transparent Texture)
  • Close the edit tools
  • Verify you can click through the mask (the transparent section) with alt-zoom.
  • Verify you can right-click your avatar through the mask.
  • Attach the cube to your HUD.
  • Verify the HUD attachment has full bright lighting and looks the same if you toggle Full Bright on and off in the Texture panel of edit tools.
  • Verify the HUD attachment is not lit by the sun or moon when you look around.
  • Verify the mask part of the HUD attachment does not block alt-zoom unless in edit mode.
  • Verify you can select the HUD attachment when in edit mode.
  • Attach a default script to the cube HUD attachment.
  • Verify HUD attachment responds to left click.
  • Verify you can right click your avatar through the cube attachment's mask.
  • Detach the cube
  • Make a sphere
  • Change the sphere's color.
  • Make it shiny medium and verify it appears shiny.
  • Move the sphere. Verify color remains the same.
  • Give the sphere a bump map.
  • Verify that bump map is visible.
  • Attach the sphere to your HUD.
  • Verify the sphere is still shiny and bump mapped.
  • Verify the sphere is not lit by the sun or moon when you look around. SH-2646

Sculpty Rendering

  • Rez the sculpty horse from My Inventory/Library/Objects/Sculpt Prims - Examples/Horse (Sculpt Prim Example) - by Nomasha Syaka
  • Verify you see a collection of blobs that resolves into a brown and white running horse withing a few seconds.

Sculpty horse.jpg

Highlight rendering

  • Create 2 cubes, make one 100% transparent and the other 50% transparent.
  • Enable the Advanced menu with ctrl-alt-D or with Preferences > Advanced > Show Advanced Menu
  • Turn on Advanced menu > Highlighting and Visibility > Highlight Transparent.
  • Verify both cubes are highlighted with a red tint.
  • Attach both cubes to your HUD
  • Verify both cubes on your HUD are highlighted with a red tint.
  • Turn off Advanced menu > Highlighting and Visibility > Highlight Transparent.

Render order

  • Attach a semi-transparent cube to your HUD if you don't already have one.
  • Turn on World menu > Show > Property Lines. Verify the property lines do not draw in front of hills or solid objects or your semi-transparent HUD object.
  • Open the world map and click on a location nearby, and close the world map
  • Verify the red column is only visible above ground, and not as it passes below ground.
  • Turn off World menu > Show > Property Lines.

Render order1.jpg

llSetText rendering

  • Attach a semi-transparent cube to your HUD if you don't already have one.
  • Add the following script to the cube attachment.
default
{
state_entry()
{
while(1)
llSetText("Hello, Avatar!",<llFrand(1),llFrand(1),llFrand(1)>,llFrand(1));
}
}
  • Verify you can see the SetText message rapidly changing colors on the HUD object.

Appearance mode rendering

  • Right click your Avatar and "Edit My Shape".
  • Verify you can see the thumbnail images for your avatar.
  • Edit your Skin.
  • Change your skin color, Save All, and exit appearance mode.
  • Verify your avatar textures rebake after a few seconds and that your skin color is correct.

Shaders


Glow + transparent