maximeq / three-js-blobtree

A library to manage implicit surfaces in THREE.JS applications using a Blobtree.
MIT License
7 stars 0 forks source link

Optimizing Capsule Distance #4

Open maximeq opened 5 years ago

maximeq commented 5 years ago

I was thinking to check the Capsule distance function (weighted segment) against the formula which can be found here : https://iquilezles.org/www/articles/distfunctions/distfunctions.htm

It seems quite shorter, but it needs to be checked against C.Zanni's paper for optimal derivative continuity.