christmas-scene

Physics performance in my “Winter Wonderland” Christmas Scene as of 20/12/2021

Methodology:

Rationale for measuring in idle state.

Data below shows the physics tick time in msecs for scnese comprising various subsets of objects.

All scenes also include: Floor Plane: 1 x static box

  Contains Desktop Oculus Quest 2
Full scene (21/12) 17 x static shapes (including floor), 34 kinematic convex shapes, 10 x dynamic convex hulls, 1 x HACD hollow hat. 42 26
Snowman only 2 x static spheres, 7 x kinematic spheres, 3 x kinematic convex hulls (carrot + 2 x arms) 1 x kinematic HACD hollow hat 17 6.5
Tree and presents only 3 x static hulls, 9 x kinematic spheres, 1 x kinematic convex hull (star) 14 3.7
Xylophone 5 x static boxes, 8 x kinematic convex hulls 4 1.15
Marble run 3 x static boxes, 6 x kinematic boxes 2.5 0.5
Bowling Alley 3 x static boxes, 10 x dynamic convex hulls 18 5
SUM OF COMPONENTS See “full scene” above. 55.5 (vs 42) 16.85 (vs. 26)
Snowman without HACD hat 2 x static spheres, 7 x kinematic spheres, 3 x kinematic hulls (carrot + 2 x arms) 4 1.5
Implied cost of HACD hat 1 x kinematic HACD hollow hat. HOWEVER, cost of HACD hat appears to be higher in the context of the whole scene…. see next row… 13 5
Total scene without HACD hat See “full scene” above. 25 11.5

Implied approx cost of each element:

Target for 60fps is to use substantially less than 16 msecs (ideally < 10msecs, as we need CPU for other functions as well).

Unknowns:

Implications:

Some more notes on HACD snowman’s hat

Looking at overall scene physics ttick time on Oculus Quest 2…

I don’t really care about the non-convex exterior of the hull. A convex wrap would be fine for that. But I would like the hat to still have a hollow interior.

Further update on the HACD hat…