Computer Science Canada

raycasting

Author:  metachief [ Sat Sep 27, 2008 10:55 pm ]
Post subject:  raycasting

How do I detect the points in the following picture without using what dot colour. The grid is made of 10x10 squares and I need to detect the points on the sides of the squares that the line touches. This is for my 2D Raycater.

Author:  gitoxa [ Sat Sep 27, 2008 11:18 pm ]
Post subject:  RE:raycasting

Wouldn't math be more accurate?

Author:  metachief [ Sat Sep 27, 2008 11:22 pm ]
Post subject:  RE:raycasting

Thats what meant...as I said I dont whant to use what dot color, instead I need help on how to figure it out with math.

Author:  SNIPERDUDE [ Sun Sep 28, 2008 7:49 am ]
Post subject:  RE:raycasting

http://www.permadi.com/tutorial/raycast/


: