Difference between revisions of "Mesh Limits test"

From Second Life Wiki
Jump to navigation Jump to search
Line 3: Line 3:
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.
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
==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.
* 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
To test obtain a Collada file that is 256 Mbytes or larger. 
* 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)
 
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.





Revision as of 15:59, 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


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.