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 Discussion / Should i bother with the dbasic collision? (plus bonus questions!!!)

Author
Message
Cyberflame
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: Im not sure....
Posted: 25th Feb 2004 02:10
Should I even bother to learn how to use the dark basic collision system or should I just go ahead and download the ng .dll as it seems to be a lot better anyway.

And the bonus questions... Which 3d files are best for maps? (indoor and out door) What programs would you reccomend using to make them? Also, how would you set up collision for both an indor and outdoor enviorment.

quad 10k terrahert cpu| 9k^9k terrabyte(tb) hd|stolen military graphics card capable of rendering all of the pixar movies in 5 secs|999^9k tb of ram

15in monitor with 13in veiwable screen
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 25th Feb 2004 02:13
For collisions, I recomend that you first learn and use the DB Collision commands, so that you can apreciate NG's DLL, or so you can write your own collision and see how much faster it is that the inbuilt ones.

Which 3D files are better? You have a choice of .3DS or .x ... pick

To make them, any landscape editor will do. If you use a regular modeling program, you have to be careful to make sure that you keep the poly count low.

To set up collision, you gotta learn the commands first.

Hope I Helped...
Jess.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Cyberflame
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: Im not sure....
Posted: 25th Feb 2004 04:26
Thanks, I'll do that. I was wondering about matixes and .bsp more because I hear people talk about them as maps more,

quad 10k terrahert cpu| 9k^9k terrabyte(tb) hd|stolen military graphics card capable of rendering all of the pixar movies in 5 secs|999^9k tb of ram

15in monitor with 13in veiwable screen
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 25th Feb 2004 04:32
BSP maps are only available in DarkBASIC Professional.

Matricies are alright... But they're serious speed killers as the entire matrix is draw each loop, thus many, many polygons are drawn, and it just kills the speed of your proggy...

Jess.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
DARKGuy
21
Years of Service
User Offline
Joined: 28th Nov 2003
Location:
Posted: 25th Feb 2004 04:45
but what if he does want to use a .x or .3ds like a matrix? it can be possible?

Current Projects: F-16 Gold Wings
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 25th Feb 2004 05:01
That's how our levels are going to be, just .Xs so we can use NG collision. We're using Total Terrain and Milkshape to read the heightmaps.

Crazy Donut Productions
Current Project: KillZone
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 25th Feb 2004 08:52 Edited at: 25th Feb 2004 08:54
Yeah, collision can be checked for between a .x model and another model. Any object in the 3D world of DarkBASIC can have a collision check on it. That means that, any model that is loaded in, any object that is created internally ( ie, using the Make Object Whatever commands ) and Matricies can all have collision on them.

The only difference between using a .x model as oposed to a matrix for terrain is that you can't use the Get Ground Height function and others that specifically relate to matricies.
You have to code your own Functions for these ( but that's pretty simple once you know how ).

If you are to use .x objects for the levels etc, then by all means, get NG's Collision DLL. ( I personally haven't used it besides the demo, but ) It's a great system, and with all the extra, super fast collision commands that it allows you to use, it's well worth the small fee for the latest version.

Hopefully that'll enlighten you on the situation.
Jess.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Cyberflame
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: Im not sure....
Posted: 25th Feb 2004 13:16
Thanks. (i also just realized that i had put tis in the wrong forum =P I was wondering why everybody thougth i was using db classic)

quad 10k terrahert cpu| 9k^9k terrabyte(tb) hd|stolen military graphics card capable of rendering all of the pixar movies in 5 secs|999^9k tb of ram

15in monitor with 13in veiwable screen
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 25th Feb 2004 16:23
Ah, well, if you're talking about BSP maps in DBPro, then I can tell you that they aren't very good at all.

I have read complaint after complaint about how they aren't doing this, and aren't doing that...

You're best off waiting unitll U6 and then BSP's should be sorted, and that'd be the way to go.

Hope I Helped...
Jess.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy

Login to post a reply

Server time is: 2025-05-22 19:42:15
Your offset time is: 2025-05-22 19:42:15