Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 raycasting tutorial
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
hamid14




PostPosted: 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?
Sponsor
Sponsor
Sponsor
sponsor
Kharybdis




PostPosted: 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.
metachief




PostPosted: 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.
mirhagk




PostPosted: 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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: