Difference between revisions of "Mesh/Mesh Tests"

From Second Life Wiki
Jump to navigation Jump to search
Line 9: Line 9:
** Include test for model with textures
** Include test for model with textures
** Verify bulk upload fails for meshes.
** Verify bulk upload fails for meshes.
** Mesh decomposition tool needs more detail in [[Mesh_Import_test]]
** Mesh decomposition tool needs more detail.
* Rigged meshes
* Rigged meshes
** uploading a rigged object that contains joint offsets
** uploading a rigged object that contains joint offsets
Line 25: Line 25:
* Load testing. assets<->sim, sim data<->client, client rendering, etc
* Load testing. assets<->sim, sim data<->client, client rendering, etc
* Viewer caching of mesh objects
* Viewer caching of mesh objects
** Mesh should already be cached in the VFS. Develop > Show Info > Show Render Info shows how much data received for mesh.
* Physics shape type (with un/linking, de/rez, duplication, etc.)
* Physics shape type (with un/linking, de/rez, duplication, etc.)
* [[Mesh Shape Changing test]] Test swapping meshes onto mesh objects.
* [[Mesh Shape Changing test]] Test swapping meshes onto mesh objects.
** high prim equiv. mesh onto a physical object
** high prim equiv. mesh onto a physical object
** drag a boneless mesh onto a boned object on ground (and also attachment)
** drag a boneless mesh onto a boned object on ground (and also attachment)
* Costs
* [[Render_Cost_test]]
** [[Render_Cost_test]]
** Target overall scene triangle count at 128m, medium detail (currently 125K/tris)
** Target viewport streaming cost at 128m, medium detail (currently 2MB)
*** "I got this number by flying around some prim heavy builds (the city north of Ahern) with all rendering disabled but prims, view distance set to 128m, and prim detail set to mid, and watching the peak triangle count per frame in the statistic floater.  The average was around 75k/triangles per frame with a peak of 150k, so for meshes a good target would be 125k.  On MeshHQ 3, after disabling all rendering but prims (meshes fall under the same category as prims in the render pipeline), the peak triangle count per frame was close to 300k/triangles.  On that build, there was no LoD enforcement and a ratio of 8KB/prim for mesh costs, so I'm hoping with a ratio of 4KB/prim and strict LoD enforcement, recreating that build within the new criteria will result in under 125k/triangles per frame."
* [[Streaming Cost test]]
* [[Physics Cost test]]
** A linkset is not allowed to cost less than 1/2 the number of prims. That's to account for basic work the sim has to do in handling the LLTasks
** A linkset is not allowed to cost less than 1/2 the number of prims. That's to account for basic work the sim has to do in handling the LLTasks
** PurePhysicsCost will be the sum of the physics resource costs of the prims before rounding and before accounting for that 1/2 num prims limit on linksets. PurePhysicsCost will determine if you can make a linkset dynamic (e.g., a vehicle)
** PurePhysicsCost will be the sum of the physics resource costs of the prims before rounding and before accounting for that 1/2 num prims limit on linksets. PurePhysicsCost will determine if you can make a linkset dynamic (e.g., a vehicle)
Line 36: Line 41:
** The "pure physics cost" must be < 32.0 before rounding to make the linkset physical.
** The "pure physics cost" must be < 32.0 before rounding to make the linkset physical.
** Only the physics resource cost (not simulator resource cost or streaming cost) affects the ability to set an object physical.
** Only the physics resource cost (not simulator resource cost or streaming cost) affects the ability to set an object physical.
** Target overall scene triangle count at 128m, medium detail (currently 125K/tris)
* Upload Cost test
** Target viewport streaming cost at 128m, medium detail (currently 2MB)
*** "I got this number by flying around some prim heavy builds (the city north of Ahern) with all rendering disabled but prims, view distance set to 128m, and prim detail set to mid, and watching the peak triangle count per frame in the statistic floater.  The average was around 75k/triangles per frame with a peak of 150k, so for meshes a good target would be 125k.  On MeshHQ 3, after disabling all rendering but prims (meshes fall under the same category as prims in the render pipeline), the peak triangle count per frame was close to 300k/triangles.  On that build, there was no LoD enforcement and a ratio of 8KB/prim for mesh costs, so I'm hoping with a ratio of 4KB/prim and strict LoD enforcement, recreating that build within the new criteria will result in under 125k/triangles per frame."
* [[Physics Material Settings test]]
* [[Physics Material Settings test]]
** Test the newly exposed physics options Friction, Density, Restitution
** Test the newly exposed physics options Friction, Density, Restitution

Revision as of 16:32, 10 January 2011

Mesh tests required:

  • The walk-throughs function as a Mesh smoke test:
  • Mesh_Import_test Everything about the Mesh upload window.
    • Include test for model with multiple LOD's
    • Include test for model with textures
    • Verify bulk upload fails for meshes.
    • Mesh decomposition tool needs more detail.
  • Rigged meshes
    • uploading a rigged object that contains joint offsets
    • bone offsets
  • Mesh_Prim_Equivalence_test How many prims a mesh counts as in the parcel limit and simulator limit.
  • Mesh_Accounting_Test is a starting point for several tests. Break the tests out and expanded on them.
  • Mesh viewer performance
  • Mesh sim performance
  • Prim size change (prim size increased to 64m)
    • (encroachment checking)
    • (allow manual return of encroaching objects)
    • (edit tools/camera when working with larger prims)
    • Viewer Performance testing for larger prims
    • Server Performance testing for larger prims
  • Load testing. assets<->sim, sim data<->client, client rendering, etc
  • Viewer caching of mesh objects
    • Mesh should already be cached in the VFS. Develop > Show Info > Show Render Info shows how much data received for mesh.
  • Physics shape type (with un/linking, de/rez, duplication, etc.)
  • Mesh Shape Changing test Test swapping meshes onto mesh objects.
    • high prim equiv. mesh onto a physical object
    • drag a boneless mesh onto a boned object on ground (and also attachment)
  • Render_Cost_test
    • Target overall scene triangle count at 128m, medium detail (currently 125K/tris)
    • Target viewport streaming cost at 128m, medium detail (currently 2MB)
      • "I got this number by flying around some prim heavy builds (the city north of Ahern) with all rendering disabled but prims, view distance set to 128m, and prim detail set to mid, and watching the peak triangle count per frame in the statistic floater. The average was around 75k/triangles per frame with a peak of 150k, so for meshes a good target would be 125k. On MeshHQ 3, after disabling all rendering but prims (meshes fall under the same category as prims in the render pipeline), the peak triangle count per frame was close to 300k/triangles. On that build, there was no LoD enforcement and a ratio of 8KB/prim for mesh costs, so I'm hoping with a ratio of 4KB/prim and strict LoD enforcement, recreating that build within the new criteria will result in under 125k/triangles per frame."
  • Streaming Cost test
  • Physics Cost test
    • A linkset is not allowed to cost less than 1/2 the number of prims. That's to account for basic work the sim has to do in handling the LLTasks
    • PurePhysicsCost will be the sum of the physics resource costs of the prims before rounding and before accounting for that 1/2 num prims limit on linksets. PurePhysicsCost will determine if you can make a linkset dynamic (e.g., a vehicle)
    • setting the root prim of a prim object to Convex hull forces the object to use the new accounting system. Setting a child prim to None does the same.
    • The "pure physics cost" must be < 32.0 before rounding to make the linkset physical.
    • Only the physics resource cost (not simulator resource cost or streaming cost) affects the ability to set an object physical.
  • Upload Cost test
  • Physics Material Settings test
    • Test the newly exposed physics options Friction, Density, Restitution
  • Test LSL functions that interact with physics and size and textures.
  • Localization
  • Test for LlCastRay
  • The 10cm gap has been eliminated for nearly all(which ones?) objects.
  • Compatibility testing: Mac OS X 10.4.11?
  • (2011-01-06 failed) Parcel Prim Limit Overflow test
  • Limits test
    • Maximum model size in MBs
    • Maximum number of meshes per model.