Transparency test
Revision as of 11:41, 8 June 2011 by Dan Linden (talk | contribs)
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
- Create a grid 125 default size spheres, 5 to a side.
- Enable the Develop menu with ctrl-alt-q
- Disable Develop menu > Rendering > Object-Object Occlusion.
- Note the KTris Drawn/fr in the Statistics bar (ctrl-shift-1) > Advanced > Render.
- Select the 125 spheres and set their transparency to 100%.
- Note the KTris Drawn/fr
- Verify the KTris Drawn/fr have decreased. (This is a known bug https://jira.secondlife.com/browse/SH-1073)
- test 2: with occlusion culling on, compare triangles between 90% and 100% transparent
- Create a grid 125 default size spheres, 5 to a side.
- Enable the Develop menu with ctrl-alt-q
- Enable Object-Object Occlusion 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.
100% Transparent objects are visible when Highlight Transparent is enabled
- Enable the Advanced menu with ctrl-alt-d.
- Verify that 100% transparent objects are rendered with a reddish haze when Advanced > Highlighting and Visibility > Highlight Transparent is enabled.
Textures 88% or more transparent allow right-clicks to pass through
- Make some textures that are 87% transparent and 88% transparent and apply them to objects. (or visit the test at Bug Island 13/89)
- Attempt to right-click through the objects.
- Verify you can right-click through the object with the 88% transparent texture, but cannot click through the object with the 87% transparent texture.
Objects that have a Transparency value of 100% allow right-clicks to pass through
- Note: This is a functionality change in the viewer that supports DOF. Previously, right-clicks would not pass through 100% Transparent objects.
- Create 2 boxes.
- Set the Transparency of one box to 99% and the other to 100%
- Attempt to right-click through the objects.
- Verify you can click through the object that is 100% transparent, but cannot click through the object that is 99% transparent.
May want to include tests related to hover cursors, eg. https://jira.secondlife.com/browse/VWR-25962