Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Raycasting engine

Author
Message
DEANO
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United States
Posted: 25th Nov 2004 08:29
Something I did a while ago and forgot about.
I found a raycast tutorial and follow that.







Deano

"When I examine myself and my methods of thought, I come to the conclusion that the gift of fantasy has meant more than my talent for absorbing positive knowledge."
-ALBERT EINSTEIN
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 25th Nov 2004 08:41
if im right that code wouldent work on spheres or cyliners or what not, so wouldent it be a whole lot easier to just use the intersect object command?


aks74u
21
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: arizona
Posted: 25th Nov 2004 13:06
thats really cool i do't no if it would be fast enough tho

Over And Out.
Tapewormz
22
Years of Service
User Offline
Joined: 15th Sep 2002
Location: Winnipeg, Mantoba, Canada
Posted: 25th Nov 2004 19:48 Edited at: 25th Nov 2004 19:49
Or you could use nuclearglory collision dll.

But seeing how it's done is kind of nice to know...Just for the sake of knowing.

DEANO
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United States
Posted: 25th Nov 2004 20:26
I actually wrote this before nuclearglory dll came out. There was a game, I don't know who wrote it, where you run around shooting chess pieces. It was pretty cool. The crosshairs would run up and down the wall. I thought that maybe this is the way it was done.

Thanks for the comments,
Deano

"When I examine myself and my methods of thought, I come to the conclusion that the gift of fantasy has meant more than my talent for absorbing positive knowledge."
-ALBERT EINSTEIN

Login to post a reply

Server time is: 2025-06-09 04:03:17
Your offset time is: 2025-06-09 04:03:17