pouët.net

Go to bottom

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
added on the 2015-04-20 17:15:01 by citrus citrus
I never implemented something like that, but maybe this helps.
added on the 2015-04-20 17:28:31 by las las
hey, I found one, thanks! :)
added on the 2015-04-20 18:13:15 by citrus citrus

login

Go to top