ray casting?

Started by
0 comments, last by Cibressus 20 years ago
Can some one please post some source code on how to acomplish ray casting? like for example, cast a ray from the eye, and to return the x,y and z position of were it was first ocluded.
| Member of UBAAG (Unban aftermath Association of Gamedev)
Advertisement
Yes. This post right here has a lot of information on ray casting, including the use of gluUnProject to get the start and end of the selection ray. If there's anything missing there, post here...

Windows 95 - 32 bit extensions and a graphical shell for a 16 bit patch
to an 8 bit operating system originally coded for a 4 bit microprocessor,
written by a 2 bit company that can't stand 1 bit of competition.

[edited by - iNsAn1tY on April 4, 2004 7:24:35 AM]
My opinion is a recombination and regurgitation of the opinions of those around me. I bring nothing new to the table, and as such, can be safely ignored.[ Useful things - Firefox | GLee | Boost | DevIL ]

This topic is closed to new replies.

Advertisement