   Raycaster using C# Example
  I decided to learn about raycasting and writing your own one now that my maths knowledge is getting better, I thought it would be cool to implement it in such a way that beginners could see exactly the logic behind it realtime.Heres a little picture of the program, if you are interested - just let me know and i'll post up the source / program.Thanks for all the help so far.It's written in C# just using their basic GDI for fun, no DX or uber engines here :)http://img401.imageshack.us/img401/2126/raycastergl9.gif[Edited by - Pickl3d on February 21, 2008 2:19:56 PM]
  That looks very good, and illustrates the operation of the raycasting algorithm nicely. [smile]I'd certainly be interested in the program and source!I note that the walls appear to be antialiased - how are you achieving that? Supersampling?   ;  Thanks for your comments Ben.Here is the Source Code, please note that my C# coding skill blows quite horribly as this is my first time ever using C# (prefer C/C++/x86ASM) :)I haven't bothered to implement any sort of smoothing with movement so it's a bit shaky heh.Yes I am using C# GDI in built 'anti aliasing' setting for graphic objects.http://www.ultanart.co.uk/Pickled3D.rar //C# source   