Raycasting using PhysX in Director
April 21st, 2008
RAYCASTING is the use of ray-surface intersection tests to solve a variety of problems in computer graphics. It solves the general problem of determining the first object intersected by a ray or all the objects coming in the direction of a ray. It is an image order algorithms used in computer graphics to render three dimensional scenes to two dimensional screens by following rays of light from the eye of the observer to a light source. The high speed of calculation made ray casting a handy method for the rendering in early real-time 3D video games. The idea behind ray casting is to shoot rays from the eye, one per pixel, and find the closest object blocking the path of that ray - think of an image as a screen-door, with each square in the screen being a pixel. This is then the object the eye normally sees through that pixel. Read more…



