Рет қаралды 16,742
As position based simulation techniques are very fast theses days, it is possible to use them to conform intersecting spheres to each other, to model foam. Nevertheless there are other possibilities, too. In this tutorial, Manuel shows you how to come up with an analytical operator that removes the intersections from a dense sphere packing by deforming the intersecting points. This is even faster than PBD and can be used without any simulation at all. The video deals with implementing the setup. The particle effect from the demo is included in the hip file though.
01:16 Basic setup
02:24 Set pscale
04:00 Dial in the values
06:20 Implement "gather data"
16:00 The "intersection distance" formula
20:29 Implement the localization matrices
25:30 Create the deformation
33:15 Check the result
35:00 Save memory
Paul Bourke's site on the intersection of circles: paulbourke.net/geometry/circle...
Download the hip file here: www.entagma.com/downloads/Ana...