   checkout my leet raycaster!
raycaster.zipFeatures includes:* software rendering* bilinear filtering* recursive mirrors* criminally unoptimzed* uhh.. not much more.. There are still a lot of stuff to do, but then again, this was just a one day project (I wanted a break from OpenGL 
  I had the same idea today! Unfortunately I know nothing about the subject so mine will be more like a 2 weeks project. Any tips?    Brian J  ;  It looked good for the whole second it worked. I strafed sideways, and it crashed? I tried it a few other times but it just kept crashing..... -UltimaX-"You wished for a white christmas... Now go shovel your wishes!"  ;  By the way it looks great for a software rast written in one day!  ;  UltimaX: I''ve uploaded a new version that creates a log file, I would be really happy if you could try this version to see whats wrong.The program uses direcx7 for mouse input, i really cant see much else failing.bjmumblingmiles: I''d say go for it! It''s a very fun project to program, and my only regret is that i didnt do it earlier Btw, the only "hard" thing is the ray-grid intersection code, once that is working you''re home free... (ignoring the bugs) ;  -- 2003-05-25 20:36:40 --Windows XP Professional Service Pack 1 (Build 2600) Physical RAM: 125/255 MBVirtual RAM: 2024/2047 MBCPU Frequency: ~1405 MHz--------------------------------------------------------------------------------WinMaininput::input [OK] (0 ms)input::initGetModuleHandle [OK] (0 ms)DirectInputCreate [OK] (0 ms)CreateDevice [OK] (0 ms)SetDataFormatAssert Failed: !FAILED(hr)(113)[FAILED] (0 ms)[FAILED] (0 ms)view3d::view3dimageLoader::load [OK] (10 ms)imageLoader::load [OK] (0 ms)imageLoader::load [OK] (0 ms)imageLoader::load [OK] (0 ms)imageLoader::load [OK] (10 ms)imageLoader::load [OK] (0 ms)[OK] (40 ms)gdiRenderWindow::open [OK] (0 ms)Fails when I strafe to the right.  Looks like SetDataFormat is screwing something up, but I don't understand why it'd crash AFTER I started moving...--- Edit ---By the way, looks good until it crashes .[edited by - Ready4Dis on May 25, 2003 8:42:24 PM];  Heres the log it put out for me...-- 2003-05-25 20:44:17 --Windows XP Professional Service Pack 1 (Build 2600) Physical RAM: 300/511 MBVirtual RAM: 2024/2047 MBCPU Frequency: ~1615 MHz--------------------------------------------------------------------------------WinMaininput::input [OK] (0 ms)input::initGetModuleHandle [OK] (0 ms)DirectInputCreate [OK] (16 ms)CreateDevice [OK] (16 ms)SetDataFormatAssert Failed: !FAILED(hr)(113)[FAILED] (0 ms)[FAILED] (32 ms)view3d::view3dimageLoader::load [OK] (15 ms)imageLoader::load [OK] (16 ms)imageLoader::load [OK] (0 ms)imageLoader::load [OK] (16 ms)imageLoader::load [OK] (0 ms)imageLoader::load [OK] (16 ms)[OK] (78 ms)gdiRenderWindow::open [OK] (15 ms) -UltimaX-"You wished for a white christmas... Now go shovel your wishes!"  ;  it crashes here too, although everything seems ok in my log-- 2003-05-26 02:40:51 --Windows XP Professional (Build 2600) Physical RAM: 774/1023 MBVirtual RAM: 2024/2047 MBCPU Frequency: ~2400 MHzWinMaininput::input [OK] (0 ms)input::initGetModuleHandle [OK] (0 ms)DirectInputCreate [OK] (20 ms)CreateDevice [OK] (10 ms)SetDataFormat [OK] (0 ms)SetCooperativeLevel [OK] (0 ms)setAcquire [OK] (0 ms)[OK] (30 ms)view3d::view3dimageLoader::load [OK] (0 ms)imageLoader::load [OK] (0 ms)imageLoader::load [OK] (0 ms)imageLoader::load [OK] (10 ms)imageLoader::load [OK] (10 ms)imageLoader::load [OK] (0 ms)[OK] (30 ms)gdiRenderWindow::open [OK] (20 ms);  input::initGetModuleHandle [OK] (0 ms)DirectInputCreate [OK] (10 ms)CreateDevice [OK] (0 ms)SetDataFormatAssert Failed: !FAILED(hr)(113)[FAILED] (0 ms)[FAILED] (10 ms);  Thanks for all the feedback!I''ve updated it again, now the input bug _should_ be sorted out.I requested a 4 button mouse, that is probably why it failed on some systems.