Difference between revisions of "Render Correctness Test"

From Second Life Wiki
Jump to navigation Jump to search
 
(24 intermediate revisions by 2 users not shown)
Line 8: Line 8:
=== Terrain rendering ===
=== Terrain rendering ===


* Verify terrain detail defaults to High when Graphics Quality is set to Mid or High.
* Verify terrain mesh detail defaults to High when Graphics Quality is set to Mid or higher.
* Verify terrain detail defaults to Low when Graphics Quality is set to Low.
* Verify terrain mesh detail defaults to Low when Graphics Quality is set to Low.
* Verify terrain detail textures change according to elevation. [need a picture]
* 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]]


=== Water rendering ===
=== Water rendering ===


* Verify that the Transparent Water shader is disabled when Graphics Quality is set to Low.
* 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 Mid or High.
* Verify that the Transparent Water shader is enabled when Graphics Quality is set to Low-Mid or higher.
* Uncheck Transparent Water and verify water appears opaque from above and below water.
* Uncheck Transparent Water and verify the water surface appears opaque from above and below water.
* Vheck Transparent Water and verify water appears transparent from above and below water.
* Check Transparent Water and verify the water surface appears transparent from above and below water.
* Verify that water is transparent only when the Transparent Water shader is enabled.
* Put camera under water, verify that fog changes. There is generally more fog below water than above 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 sun/moon reflections appear on surface of water.
* Turn on Preferences > Graphics > Basic Shaders.
* 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.
* Move the sun to Midday ({{KeyCombo|ctrl=*|shift=*|Y}}) and verify that water looks appropriate.
[[File:Water1.jpg]]
[[File:Water1.jpg]]
Line 30: Line 35:
=== Water Reflections ===
=== Water Reflections ===


* Enable Preferences > Graphics > Water Reflections (Requires Basic Shaders be enabled)
* 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 "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 Static Objects" and verify that now in addition to the trees and terrain, you see unmoving objects reflected.
Line 39: Line 45:


* 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.
* <strike>Set avatar eye color to darkest and iris texture to blank.</strike>
* <strike>Verify that specular highlights (white shiny things) appear in eyes. (Need a reference picture here) (Not seeing this in 2.0 or 1.23. Was this removed?)</strike>
* Repeat with Hardware Skinning enabled/disabled in preferences.
* Repeat with Hardware Skinning enabled/disabled in preferences.


Line 49: Line 53:
* Turn on property lines and land owners from World > Show menu.
* Turn on property lines and land owners from World > Show menu.
* Verify all appear correctly.
* Verify all appear correctly.
* Turn on stats bar with ctrl-shit-1
* Turn on stats bar with ctrl-shift-1
* Verify that text appears correctly in statistics bar.
* Verify that text appears correctly in statistics bar.
* Enable World menu > Show > Beacons, and check the Scripted check box.
* Enable World menu > Show > Beacons, and check the Scripted check box.
* Enable Beacons and Highlights
* Enable Beacons and Highlights
* Verify Beacons and Highlights appear on scripted objects
* 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.
* 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).
* 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.  
* Hold mouse cursor over an avatar and verify the tooltip renders properly.  
[[File:Tooltip1.jpg]]
[[File:Tooltip1.jpg]]
Line 67: Line 71:


=== Object Rendering ===
=== Object Rendering ===
 
''[make objects for these tests to speed testing]''
* Make a cube.
* Make a cube.
* Change its color.
* Change its color.
Line 74: Line 78:
* Move the cube. '''Verify''' color remains the same.
* Move the cube. '''Verify''' color remains the same.
* Turn on the Bump mapping and shiny shader 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/Wood/*Default Transparent Texture)
* 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
* Close the edit tools
* '''Verify''' you can click through the mask with alt-zoom.
* '''Verify''' you can click through the mask (the transparent section) with alt-zoom.
* '''Verify''' you can right-click your avatar through the mask.
* '''Verify''' you can right-click your avatar through the mask.
* Attach the cube to your HUD.
* 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 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 HUD attachment is not lit by the sun or moon when you look around.
* '''Verify''' the HUD attachment does not block alt-zoom unless in edit mode.
* '''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.
* '''Verify''' you can select the HUD attachment when in edit mode.
* Attach a default script to the cube HUD attachment.
* Attach a default script to the cube HUD attachment.
Line 95: Line 99:
* Attach the sphere to your HUD.
* Attach the sphere to your HUD.
* '''Verify''' the sphere is still shiny and bump mapped.
* '''Verify''' the sphere is still shiny and bump mapped.
* '''Verify''' the sphere is not lit by the sun or moon when you look around.
* '''Verify''' the sphere is not lit by the sun or moon when you look around. [https://jira.secondlife.com/browse/SH-2646 SH-2646]


=== Sculpty Rendering ===
=== Sculpty Rendering ===
Line 101: Line 105:
* Rez the sculpty horse from My Inventory/Library/Objects/Sculpt Prims - Examples/Horse (Sculpt Prim Example) - by Nomasha Syaka
* 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.
* Verify you see a collection of blobs that resolves into a brown and white running horse withing a few seconds.
[[File:sculpty_horse.jpg]]


=== Highlight rendering ===
=== Highlight rendering ===
 
* Create 2 cubes, make one 100% transparent and the other 50% transparent.
* Attach a semi-transparent cube to your HUD if you don't already have one.
* Enable the Advanced menu with ctrl-alt-D or with Preferences > Advanced > Show Advanced Menu
* Enable the Advanced menu with ctrl-alt-D or with Preferences > Advanced > Show Advanced Menu
* Turn on Advanced menu > Highlighting and Visibility > Highlight Transparent.  
* Turn on Advanced menu > Highlighting and Visibility > Highlight Transparent.  
* Verify your HUD object is highlighted with a red tint
* 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.
* Turn off Advanced menu > Highlighting and Visibility > Highlight Transparent.


=== Render order ===
=== 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 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.
* 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 World menu > Show > Property Lines.
* Turn off World menu > Show > Property Lines.
[[File:Render_order1.jpg‎]]


=== llSetText rendering ===
=== llSetText rendering ===
Line 149: Line 155:
* Set your shaders and sun position as indicated on the red sphere at that location.
* 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.
* Verify the spheres render the same as they appear in the picture at that location.
* Continue testing at the 4 other stations to the South.
* 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 12: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