Difference between revisions of "Mesh Limits test"

From Second Life Wiki
Jump to navigation Jump to search
 
(22 intermediate revisions by 4 users not shown)
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
=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.
===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)


To test obtain a Collada file that is 256 Mbytes or larger.   
===Maximum Number of Meshes Per Model Test===
* There is no maximum number of meshes per importHowever anything greater than 15,000 meshes 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.


Attempt to import this file
===a single convex hull is limited to 256 triangles===
* How do I attempt to upload a 257 triangle mesh?
* As a mesh's convex hull can be set to be any of its LoD levels, including the highest, a convex hull is not necessarily limited to 256 triangles.
* A shape which presents many concave surfaces however (such as branches on trees or bowls) will be subject to decomposition into multiple convex hull shapes.


Confirm the viewer does not import the model and an error message explaining the reason import could not complete is given.
===a decomposition cannot have more than 256 hulls===
* How do I attempt to create or upload a 267 hull decomposition?


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 Triangles===
* There is not a maximum # of triangles a model can have, however the number of vertices is limited to 65,536.
* Confirm that importing models with up to 65,536 vertices works without error (assuming no other limits are exceeded - 8 MB asset size)
* 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.)


===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 Mesh Scene Scale Limit Test===
* The maximum dimensions of a mesh scene can only be 240m on a side.  Larger than this will (as of viewer 3.0.0 (238864)) will frequently cause crash to desktop errors, or a notice that the mesh is larger than "256m"
* Release notes specified this change to fix a server issue, possibly will be corrected later?
* While the upload dialog does not specify a Z dimension, only X and Y dimensions, it does still check the Z axis for its overall length


Maximum Number of Meshes Per Model Test
===Uploaded meshes are linked to each other when they are within link distance===




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.
===Uploaded meshes are coalesced to each other when they are farther apart than link distance===


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.
===Upload Texture Limits===
Are there any limits?


Import Mesh Scale Limit Test
===Rigged Mesh Limits===
Are there any limits, such as maximum size of the skeleton?


The scale limit is set to 64 M
Size follows the same limits for non-rigged mesh. (ie:64m x 64m x 64m)
 
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.

Latest revision as of 10:44, 31 August 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.

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.
  • 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 meshes 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.

a single convex hull is limited to 256 triangles

  • How do I attempt to upload a 257 triangle mesh?
  • As a mesh's convex hull can be set to be any of its LoD levels, including the highest, a convex hull is not necessarily limited to 256 triangles.
  • A shape which presents many concave surfaces however (such as branches on trees or bowls) will be subject to decomposition into multiple convex hull shapes.

a decomposition cannot have more than 256 hulls

  • How do I attempt to create or upload a 267 hull decomposition?

Maximum Number of Triangles

  • There is not a maximum # of triangles a model can have, however the number of vertices is limited to 65,536.
  • Confirm that importing models with up to 65,536 vertices works without error (assuming no other limits are exceeded - 8 MB asset size)
  • 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.)

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 Mesh Scene Scale Limit Test

  • The maximum dimensions of a mesh scene can only be 240m on a side. Larger than this will (as of viewer 3.0.0 (238864)) will frequently cause crash to desktop errors, or a notice that the mesh is larger than "256m"
  • Release notes specified this change to fix a server issue, possibly will be corrected later?
  • While the upload dialog does not specify a Z dimension, only X and Y dimensions, it does still check the Z axis for its overall length

Uploaded meshes are linked to each other when they are within link distance

Uploaded meshes are coalesced to each other when they are farther apart than link distance

Upload Texture Limits

Are there any limits?

Rigged Mesh Limits

Are there any limits, such as maximum size of the skeleton?

Size follows the same limits for non-rigged mesh. (ie:64m x 64m x 64m)