HackerPoet / MarbleMarcher

A Fractal Physics Game
GNU General Public License v2.0
2.48k stars 168 forks source link

Further reading? #8

Closed caleb-allen closed 5 years ago

caleb-allen commented 5 years ago

Sorry if this is the wrong place, but I'm looking to get more info on this.

I love this approach, it seems really novel, and I can't find anything similar to it. What is the potential of this to non-spherical object interaction? Pardon my ignorance on the mathematics. Any other sources or reading you could point me to that inspired this? This is super cool.

HackerPoet commented 5 years ago

It's novel and I haven't seen any other reading about this. You may be interested in PySpace. It has all the math more generally and with some documentation, compared to everything hard-coded in Marble Marcher.

For just the rendering part, this tutorial is a great resource.

A non-spherical object like a plane may be possible using this technique, but I'm not sure if the math works out to make that efficient. Generally, I'd just construct your object as a collections of spheres and collide with that.

caleb-allen commented 5 years ago

Thanks for the links. Very interesting! Down the rabbit hole I go..

It will be interesting to see if this goes anywhere. A quick search reveals some work at Purdue of developing fractals for general purpose modeling. Whether it will be practical or not, the results are strangely beautiful:

screenshot from 2019-01-09 15-35-27

caleb-allen commented 5 years ago

Sorry for the multiple comments but this stuff is so fascinating! The same author Tim McGraw published a paper in October '18, applying concepts from volume rendering techniques used in medical image visualization to raycasting and fractals. The results are gorgeous:

screenshot from 2019-01-09 16-01-32

HackerPoet commented 5 years ago

Closing since there is no open issue.