ray-intersect-quad?
Blitz3D Forums/Blitz3D Programming/ray-intersect-quad?
| ||
hi! i'm looking forward to do a raycaster project. i have a question about the ray-intersection function ![]() as you see in the pic, the rays are sent out from the camera in lots of directions. my question is how to calculate the red points (the hitpoints of the ray) on >>2d space<<! i saw this thread http://www.blitzbasic.com/codearcs/codearcs.php?code=1029 but there was no intersection position return. im in 9th class right now and we did not have these kind of maths yet ! if anyone could help me, i would be very thankful :) bye :) |
| ||
(WSDA to move+mouse) i tried to make a raycaster, but it acts weird. what is it about all this? |
| ||
how to calculate the red points http://student.kuleuven.be/~m0216922/CG/raycasting.html#The_Basic_Idea_ |
| ||
i already got one, but the sample which i posted above is not working properly. anybody an idea? |
| ||
wow i fixed that bug! i just mixed up y and z :) thank you anyway!! |
| ||
Man you are sooooo clever dude! IPete2. |
| ||
oh thank you so much xD |