Collision Detection Using Representative Points for Soft-Body Simulation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Real-time cloth simulation in video games faces challenges in robustness and computational resource constraints, requiring efficient collision detection and resolution methods that differ from film rendering and academic simulations, especially when dealing with superhuman character movements and soft-body collisions.
Innovation Solution
The method predicts collisions by determining representative points for geometric primitives, calculating displacements based on velocities, projecting these displacements along a separating direction, and generating collision constraints to prevent penetration, using linear equations that require fewer computational resources compared to full-mesh continuous collision detection.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If full-mesh continuous collision detection is used, then collision detection precision is improved, but computational resource utilization increases
Solution Approach 1:
The patent segments the collision detection process into multiple stages: broad-phase detection using simplified bounding volumes, narrow-phase detection for precise collision verification, and continuous collision detection only for identified candidate pairs. This segmentation allows the system to achieve accurate collision detection while minimizing computational resources by applying complex algorithms only where necessary.
Solution Approach 2:
The patent applies continuous collision detection selectively to specific geometric primitives that are likely to collide based on their motion trajectories and separation distances, rather than performing continuous detection on all primitives. This partial application of the computationally expensive continuous detection algorithm maintains collision detection precision for critical cases while reducing overall computational resource utilization.
2Use of energy by moving object
If representative points and linear equations are used for collision prediction, then computational resource utilization is reduced, but collision detection precision may be compromised
Solution Approach 1:
The patent performs preliminary collision prediction using representative points and linear equations to identify potential collision candidates before applying full continuous collision detection. This preliminary action filters out non-colliding primitives early in the simulation step, allowing the system to use computationally efficient methods for most cases while reserving precise continuous detection only for candidates that require it, thereby maintaining overall precision while reducing computational resources.
Solution Approach 2:
The patent introduces representative points as intermediary elements that approximate the behavior of complex geometric primitives. These representative points serve as mediators between the simple linear prediction model and the actual geometric primitives, enabling efficient preliminary collision detection. The intermediary approach allows the system to quickly identify candidate collisions using simplified mathematics while maintaining the option to verify with more precise methods when needed.
Data Source
AI summary
A non-transitory computer readable storage medium storing computer program code that, when executed by a processing device, cause the processing device to perform operations comprising: determining a first representative point, wherein the first representative point represents a first geometric primitive; determining a second representative point, wherein the second representative point represents a second geometric primitive; determining an initial distance between the first representative point and the second representative point; calculating a first displacement based on a velocity of the first representative point; calculating a second displacement based on a velocity of the second representative point; determining a separating direction between the first representative point and the second representative point; projecting the first displacement along the separating direction; projecting the second displacement along the separating direction; calculating a predicted minimum distance between the first representative point and the second representative point based on the projection of the first displacement along the separating direction, the projection of the second displacement along the separating direction and the initial distance between the first representative point and the second representative point; and in response to the predicted minimum distance being less than a threshold distance, generating a collision constraint preventing penetration between the first geometric primitive and the second geometric primitive.


