Trefoil knot raymarch
category: code [glöplog]
Hi guys, I'd like to ask you a question about how to achieve it. I'd like to put a raymarched trefoil knot in my shader, which seems to be a pretty easy, yet nasty issues for me. I've got into the raymarching trickery at the Revision 2015, but it was an instant coup de coeur for me. My approach is to get a torus, then bend it to get an infinity like object, and then push each loop into eachother...I'm stuck on how can I bend around specific point and push the two loops together. Any help would be very nice!
P.S.: please, when you provide code to explanation could you please make it a bit verbose, hence my ass is pretty noob at this
P.S.: please, when you provide code to explanation could you please make it a bit verbose, hence my ass is pretty noob at this
I never implemented something like that, but maybe this helps.
hey, I found one, thanks! :)