Difference between revisions of "Mesh Limits test"

From Second Life Wiki
Jump to navigation Jump to search
Line 20: Line 20:
* Confirm when setting the scale in the modifiers tab in the upload model dialog, entering a scale that will exceed this 64 on an axis will automatically adjust the scale value to the maximum allowed with an axis not exceeding 64 meters.  
* Confirm when setting the scale in the modifiers tab in the upload model dialog, entering a scale that will exceed this 64 on an axis will automatically adjust the scale value to the maximum allowed with an axis not exceeding 64 meters.  


Maximum Number of Triangles
==Maximum Number of Triangles==


Is there a maximum # of triangles a model of LOD can have?
* There is not a maximum # of triangles a model can have, however the number of vertices is limited to 65536 because we use 16-bit index buffers.
 
* Confirm that attempting to import a model that exceeds 65536 vertices fails and a descriptive error message is given in the viewer outlining the limit. (Need to obtain models to test.)
No, but the number of vertices is limited to 65536 because we use 16-bit index buffers.

Revision as of 17:04, 27 January 2011

Scope

The scope of this test is to identify limits for uploading mesh assets and confirm that the viewer provides expected error messages and fails gracefully when those limits are exceeded.

Maximum Import Model Size Test

  • The maximum mesh asset size after compression is 8MB, roughly equivalent to a 256MB raw COLLADA file. An entire region can support up to 128MB of distinct mesh assets after compression, not including attachments. The size of attached mesh assets is effectively unlimited, but there's no guarantee that all of your attachments will be downloaded by other viewers.
  • Confirm that importing models of various sizes up to 256 MB COLLADA files succeeds without error in the viewer
  • Confirm that attempting to import a COLLADA file exceeding 256 MB is not allowed by the viewer and a descriptive error message is given explaining the limit in the viewer. (Need to obtain models to test this)

Maximum Number of Meshes Per Model Test

  • There is no maximum number of meshes per import. However anything greater than 15,000 would not be able to be rezzed inworld.
  • The maximum asset size to import is 8 MB so this would be tested by testing the Maximum Import Model size above.

Import Mesh Scale Limit Test

  • The scale limit is set to 64 M
  • Confirm a model cannot be imported exceeding 64 M on an axis.
  • Confirm when setting the scale in the modifiers tab in the upload model dialog, entering a scale that will exceed this 64 on an axis will automatically adjust the scale value to the maximum allowed with an axis not exceeding 64 meters.

Maximum Number of Triangles

  • There is not a maximum # of triangles a model can have, however the number of vertices is limited to 65536 because we use 16-bit index buffers.
  • Confirm that attempting to import a model that exceeds 65536 vertices fails and a descriptive error message is given in the viewer outlining the limit. (Need to obtain models to test.)