3 ms·
Pretty cool. I haven't dived into the details of this post, but it's a problem I've been wrangling with from time to time in my game. Below is a series of writ
by turtledragonfly 1y ago
Pretty cool. I haven't dived into the details of this post, but it's a problem I've been wrangling with from time to time in my game.
Below is a series of writings on this topic that I enjoyed, by James Blinn, of "Blinn-Phong reflection" fame (and more). Not state-of-the-art, but an interesting read. It's just for cubics, which is what you need to solve the distance formula for quadratic bezier curves (my particular case), rather than the harder cubic curves of the linked article.
* https://courses.cs.washington.edu/courses/cse590b/13au/lecture_notes/cubic.pdf https://courses.cs.washington.edu/courses/cse590b/13au/lectu...
* https://courses.cs.washington.edu/courses/cse590b/13au/lecture_notes/solvecubic_p2.pdf https://courses.cs.washington.edu/courses/cse590b/13au/lectu...
* https://courses.cs.washington.edu/courses/cse590b/13au/lecture_notes/solvecubic_p3.pdf https://courses.cs.washington.edu/courses/cse590b/13au/lectu...
* https://courses.cs.washington.edu/courses/cse590b/13au/lecture_notes/solvecubic_p4.pdf https://courses.cs.washington.edu/courses/cse590b/13au/lectu...
* https://courses.cs.washington.edu/courses/cse590b/13au/lecture_notes/solvecubic_p5.pdf https://courses.cs.washington.edu/courses/cse590b/13au/lectu...