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.

DLL Talk / NG Ray casting speed

Author
Message
Aramil
21
Years of Service
User Offline
Joined: 27th Oct 2003
Location: Wherever my feet take me
Posted: 31st Dec 2004 00:42
I'm using NG to cast a ray in my game, and it slows down my program tremendously. It's only 30 3d-space-units long, but its very slow. The rest of my program runs perfectly fine. Can anyone please give me some tips on how to speed up my ray-casting?
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 31st Dec 2004 10:15
What version NGC are you using (V2.03 is faster than 3.01 for some reason)? You may want to check into Sparky's ray casting dll found here
http://forum.thegamecreators.com/?m=forum_view&t=31051&b=5 It is way faster than NGC ray casting as well as DBP's intersect object.

Aramil
21
Years of Service
User Offline
Joined: 27th Oct 2003
Location: Wherever my feet take me
Posted: 31st Dec 2004 23:06
I'm using 3.01. Thanks!
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 4th Jan 2005 20:55
I have the version 2 - I managed to keep around 80 fps with quit a few casts

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"

Login to post a reply

Server time is: 2024-11-23 10:03:30
Your offset time is: 2024-11-23 10:03:30