Page 1 of 1

Small ray tracing

Posted: Sun Nov 22, 2020 5:17 pm
by darkfrei
Hi all!

I've made small tool: it checks where is the first nearest point on the line (https://love2d.org/wiki/love.graphics.line) from given ray source.

Re: Small ray tracing

Posted: Wed Nov 25, 2020 8:36 pm
by darkfrei
My implementation ray tracing as a lib;

Please help me to fix it, I'm bad with objects. If possible, without metatables, I cannot understand them.

Re: Small ray tracing

Posted: Wed Dec 02, 2020 2:51 pm
by noahnadai
Where were you three months ago when my game needed you? Good work!

Re: Small ray tracing

Posted: Wed Dec 02, 2020 10:40 pm
by darkfrei
noahnadai wrote: Wed Dec 02, 2020 2:51 pm Where were you three months ago when my game needed you? Good work!
I need that tool for my project too, that's why I wrote that.

Where are you need it?

Re: Small ray tracing

Posted: Thu Dec 03, 2020 6:16 am
by noahnadai
darkfrei wrote: Wed Dec 02, 2020 10:40 pm
noahnadai wrote: Wed Dec 02, 2020 2:51 pm Where were you three months ago when my game needed you? Good work!
I need that tool for my project too, that's why I wrote that.

Where are you need it?
This game I recently finished. Had to manually assign co-ordinates for each laser and it's respective collision point.
https://mwasanje.itch.io/the-squarehouse

Re: Small ray tracing

Posted: Wed Dec 23, 2020 3:34 pm
by darkfrei

Re: Small ray tracing

Posted: Mon Jan 04, 2021 10:19 am
by lucked
Well done!