Computer Science Canada

raycasting tutorial

Author:  hamid14 [ Tue Sep 14, 2010 4:49 pm ]
Post subject:  raycasting tutorial

is there any raycasting tutorial for turing? if not, can someone explain how raycasting works and if its simple to do?

Author:  Kharybdis [ Tue Sep 14, 2010 9:22 pm ]
Post subject:  RE:raycasting tutorial

it's simple enough if you know basic math, a bit of trigonometry, and what dot product is (everything has to do with vectors). some knowledge of projection is helpful. my friend loves showing off his ray casting, he'll probably explain it soon. i sent him link.

Author:  metachief [ Tue Sep 14, 2010 9:27 pm ]
Post subject:  RE:raycasting tutorial

Err have you tried googling. Off the bat, here is a good site that will help you understand.
http://www.student.kuleuven.be/~m0216922/CG/raycasting.html
It helped me make a raycast program long ago. It requires basic high-school math so don't worry.
Begin by making a 2d version of a raycaster. Ask if you get stuck. Also, you should have an understanding of tile based systems.

Author:  mirhagk [ Wed Sep 15, 2010 8:08 pm ]
Post subject:  Re: raycasting tutorial

Reading that article should provide you with as much information as you need.
I am using a couple ray casters right now, and I've built a simple ray tracer, if you need any help, or have any questions simply ask me


: