Archived

This topic is now archived and is closed to further replies.

ray casting?

This topic is 5001 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites