Difference between revisions of "Physics Cost test"
Jump to navigation
Jump to search
Dan Linden (talk | contribs) |
Dan Linden (talk | contribs) |
||
Line 13: | Line 13: | ||
== Tests == | == Tests == | ||
=== Boxes set to Convex Hull === | === Boxes set to Convex Hull === | ||
* Create a linkset consisting of 10 boxes. Set one of them to have shape type Convex Hull (to trigger the new accounting) | * Create a linkset consisting of 10 boxes. Set one of them to have shape type Convex Hull (to trigger the new accounting) |
Revision as of 16:50, 13 July 2011
Test Plan Name:
- Physics Cost test
Sources
Purpose
Test the Physics Cost of prims, meshes and linked sets.
Setup
- Open Advanced menu > Show Debug Settings and set ShowAdvancedBuilderOptions = TRUE
Tests
Boxes set to Convex Hull
- Create a linkset consisting of 10 boxes. Set one of them to have shape type Convex Hull (to trigger the new accounting)
- Arrange them and scale the linkset so that the overall linkset scale is 3m x 4m x 5m
- Verify the object is 2 prim equivalents.
Mesh model 1
- Import/upload the duck model using a physics decomposition. Let's say the resulting decomposition has a physics cost of 13 prim equivalents (it did in my experiment)
- After setting the duck to "PRIM" so that it uses the decomposition, the cost is 13
- Scale the duck to 10m x 10m x 10m.
- Verify its physics cost is still 13
- Set the duck Physical.
- Verify its physics cost is 65 prim equivalents.