r/Simulated • • 4d ago

Proprietary Software Here's the twist

Enable HLS to view with audio, or disable this notification

Part of the TouchDesigner POPtober challenge. Works in real-time. (Sorry for the wrong flair, TouchDesigner is not among them yet)

39 Upvotes

7 comments sorted by

2

u/Mannerheim_Line 3d ago

Just reminded me of what they could do 15 years ago 4:30 (not real time though)

https://www.youtube.com/watch?v=fdIyAobZWG4

1

u/Mannerheim_Line 3d ago

The collision detection is good. Is it real time? CCD?

1

u/matigekunst 3d ago

Yes real-time:) No, I'm using substepping and the timestep is slightly too small. The spatial hash comes from TouchDesigner

1

u/Mannerheim_Line 3d ago

I don't get it. Do you use spatial hash for collision detection? Do you integrate the system forward yourself?

2

u/matigekunst 3d ago edited 3d ago

Points need to know their distance to their n closest neighbours, but not every point. Hence the spatial hashing. Any collisions are then solved in the substeps

1

u/Mannerheim_Line 3d ago

It might work for a small volume like this but in general hashing is used for the broad phase I guess. What is the cell size that you use for hashing?

1

u/matigekunst 3d ago

Just the standard settings of the Neighbour POP