Visualizing collisions

We added visualization of collisions to physbam’s opengl viewer for the high resolution cloth paper. These turn out to be one of the prettiest things it generates. Here are screenshots of edge-edge collision pairs (two edges colliding) and point-face collision pairs (a point colliding with a face) for a scene with a bunch of soft deformable objects:

Tags: , ,

3 Responses to “Visualizing collisions”

  1. JTeran Says:

    This is all egde/edge and point/face pairs determined to be on a collision course by the cubic solve over one dt?

  2. irving Says:

    No, it’s all pairs within a small multiple of the repulsion thickness, to be used as candidates for history based repulsions, so maybe “contact pairs” would be a better term. The actually colliding pairs are a smaller subset.

  3. JTeran Says:

    Yeah, my attempts to visualize the colliding pairs (as I described them above) were not as nice as this.

Leave a Reply