Transparency test

From Second Life Wiki
Jump to navigation Jump to search


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

  • Create a cube and change the Transparency to 100% in the Texture tab of the edit tools.
  • Deselect the cube then select the cube again.
  • Verify the transparency is 100 in the edit tools.

100% transparent triangles are not rendered

  • 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. Enable Object-Object Occlusion 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.

100% Transparent objects are visible when Highlight Transparent is enabled

  1. Enable the Advanced menu with ctrl-alt-d.
  2. Verify that 100% transparent objects are rendered with a reddish haze when Advanced > Highlighting and Visibility > Highlight Transparent is enabled.