Difference between revisions of "Transparency test"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "Category:Test Scripts ==Purpose== Test the functionality of Transparency in the edit tools and on objects. ==Scope== Second Life Viewer 2.7 and higher. ==Test Plan== ===T…")
 
Line 9: Line 9:
==Test Plan==
==Test Plan==
===The transparency can be changed to 100% from the edit tools===
===The transparency can be changed to 100% from the edit tools===
* the engine is supposed to remove the triangles from the scene when transparency is set to 100%. i.e. take thousands of triangles worth of geometry and set it to 100% transparent, make sure the triangles per frame goes down.
* test 1: turn off occlusion culling and compare triangles
# Create a grid 125 default size spheres, 5 to a side.
# Create a grid 125 default size spheres, 5 to a side.
# Enable the Develop menu with ctrl-alt-q
# Enable the Develop menu with ctrl-alt-q
Line 15: Line 18:
# Select the 125 spheres and set their transparency to 100%.
# Select the 125 spheres and set their transparency to 100%.
# Note the KTris Drawn/fr
# Note the KTris Drawn/fr
# Verify the KTris Drawn/fr have decreased.


Observe: The KTris Drawn/fr are higher after setting the objects to 100% transparent. In my test, it increased from 66 to 78. See attached "transparent spheres.wmv"
* test 2: with occlusion culling on, compare triangles between 90% and 100% transparent
the engine is supposed to remove the triangles from the scene when transparency is set to 100%. i.e. take thousands of triangles worth of geometry and set it to 100% transparent, make sure the triangles per frame goes down.
# Create a grid 125 default size spheres, 5 to a side.
# test 1: turn off occlusion culling and compare triangles
# Enable the Develop menu with ctrl-alt-q
# test 2: with occlusion culling on, compare triangles between 90% and 100% transparent
# Verify Object-Object Occlusion is *enabled* in Develop menu > Rendering > Object-Object Occlusion.
# Select the 125 spheres and set their transparency to 90%.
# Note the KTris Drawn/fr in the Statistics bar (ctrl-shift-1).
# Select the 125 spheres and set their transparency to 100%.
# Note the KTris Drawn/fr
# Verify the KTris Drawn/fr have decreased.

Revision as of 17:50, 28 February 2011


Purpose

Test the functionality of Transparency in the edit tools and on objects.

Scope

Second Life Viewer 2.7 and higher.

Test Plan

The transparency can be changed to 100% from the edit tools

  • the engine is supposed to remove the triangles from the scene when transparency is set to 100%. i.e. take thousands of triangles worth of geometry and set it to 100% transparent, make sure the triangles per frame goes down.
  • test 1: turn off occlusion culling and compare triangles
  1. Create a grid 125 default size spheres, 5 to a side.
  2. Enable the Develop menu with ctrl-alt-q
  3. Disable Develop menu > Rendering > Object-Object Occlusion.
  4. Note the KTris Drawn/fr in the Statistics bar (ctrl-shift-1).
  5. Select the 125 spheres and set their transparency to 100%.
  6. Note the KTris Drawn/fr
  7. Verify the KTris Drawn/fr have decreased.


  • test 2: with occlusion culling on, compare triangles between 90% and 100% transparent
  1. Create a grid 125 default size spheres, 5 to a side.
  2. Enable the Develop menu with ctrl-alt-q
  3. Verify Object-Object Occlusion is *enabled* in Develop menu > Rendering > Object-Object Occlusion.
  4. Select the 125 spheres and set their transparency to 90%.
  5. Note the KTris Drawn/fr in the Statistics bar (ctrl-shift-1).
  6. Select the 125 spheres and set their transparency to 100%.
  7. Note the KTris Drawn/fr
  8. Verify the KTris Drawn/fr have decreased.