Fluid Simulation via Particle Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional methods for simulating dynamic fluid effects on mobile terminals are resource-intensive and fail to meet real-time requirements due to the complexity of calculating signed distance functions (SDF) for rigid body models, which is computationally expensive and memory-intensive.
Innovation Solution
A method and apparatus that simulate dynamic fluid effects by modeling objects and fluids in three-dimensional space, acquiring positions of model and fluid particles, and adjusting fluid particle positions based on colliding model particles, eliminating the need for SDF calculations, thus simplifying the process and reducing resource consumption.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If signed distance functions (SDF) are used to calculate collision between fluid and rigid body in three-dimensional space, then collision accuracy is improved, but computational complexity and video memory occupation increase significantly
Solution Approach 1:
The rigid body model is segmented into multiple model particles, each with simple geometric properties. Instead of calculating SDF for the entire complex rigid body, the system calculates distances from fluid particles to individual model particles, significantly reducing computational complexity while maintaining collision detection accuracy.
Solution Approach 2:
The patent uses a simplified particle-based representation to copy the essential collision properties of the rigid body without requiring full SDF calculations. The model particles serve as simplified copies that capture the necessary spatial information for collision detection.
2Reliability
If signed distance functions (SDF) are recalculated when the rigid body model moves, then real-time collision detection is maintained, but processing time increases
Solution Approach 1:
The rigid body model is pre-segmented into model particles with defined spatial positions and geometric properties. This preliminary segmentation allows the system to use simple distance calculations instead of recalculating complex SDFs during motion, reducing processing time while maintaining real-time collision detection capability.
3Adaptability or versatility
If conventional fluid simulation methods are applied to mobile terminals, then fluid simulation capability is achieved, but resource requirements exceed mobile terminal capabilities
Solution Approach 1:
The patent uses simple particle representations instead of complex geometric models. Model particles and fluid particles are computationally inexpensive to create and manipulate, enabling fluid simulation on mobile terminals with limited computing and storage resources while maintaining acceptable visual results.
Data Source
AI summary
A method and apparatus for simulating a dynamic fluid effect, an electronic device, and a readable medium are provided. With the method, a first object and a fluid are displayed on a user display interface, a position of each of model particles in an object model corresponding to the first object is acquired, and a position of each of fluid particles corresponding to the fluid is acquired. When the first object collides with the fluid, for each of the fluid particles, the position of the fluid particle is adjusted based on a position of a model particle that collides with the fluid particle, to dynamically display a motion change of the fluid on the user display interface.


