Mesh Limits test

From Second Life Wiki
Revision as of 15:56, 27 January 2011 by Kurt Linden (talk | contribs)
Jump to navigation Jump to search

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.

To test obtain a Collada file that is 256 Mbytes or larger.

Attempt to import this file

Confirm the viewer does not import the model and an error message explaining the reason import could not complete is given.

Can't think of one -- that "256 MB" number came from a rough estimate of what our typical compression ratio is and the 8MB asset size limit.


Maximum Number of Meshes Per Model Test


The maximum number of meshes per model is ??? Need to determine if there is a limit and if this is based on # of meshes or size.

Once that limit is determined obtain a model that exceeds these limits and confirm the viewer gives an expected error message and the model is not uploaded.

No maximum number of meshes, but anything greater than 15000 wouldn't be able to be rezzed. I believe the current max size of any asset is 8MB.

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 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

Is there a maximum # of triangles a model of LOD can have?

No, but the number of vertices is limited to 65536 because we use 16-bit index buffers.