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 / i thought DBP was supposed to handle lots of objects!

Author
Message
DrakeX
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location:
Posted: 10th Oct 2002 06:41
the same problem with DBP as it was with DB1 -- you can have a few 3000 poly objects with no slowdown but if you have 300 2 poly objects it runs at 8 FPS!

i thought DBP was supposed to be faster when it came to handling multiple objects?!
i'm looking at yooooou!
indi
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 10th Oct 2002 07:11
can u post an example then and supply the code used.

no website at moment
CoCoTower
21
Years of Service
User Offline
Joined: 10th Oct 2002
Location:
Posted: 10th Oct 2002 08:28
For $99, I'll tell you it handles 3 poly objects quickly, too.

Kensupen
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: United States
Posted: 10th Oct 2002 12:57
Well, I loaded 200 trees at about 22 faces each and I went from 275 to 150 FPS. I'd like to see a snippet too of the code you are using.

-Kensupen
Hubdule
21
Years of Service
User Offline
Joined: 3rd Sep 2002
Location: Gundelsheim
Posted: 10th Oct 2002 13:30
Test this code in DB1 and DBPro .. this problem was reported a while ago and Lee said that he'll tell it Mike because it's an error in the 3D part ...




Hubdule
21
Years of Service
User Offline
Joined: 3rd Sep 2002
Location: Gundelsheim
Posted: 10th Oct 2002 13:32
Small error in the code submission ... just delete the
"DBPro is very very slow when using a lot of objs. I also tested a version with 2200+ cubes and DB1 was even faster then Pro ??? " line at the beginning ... (where's the edit button )

exLRT
21
Years of Service
User Offline
Joined: 30th Aug 2002
Location: Belgium
Posted: 10th Oct 2002 15:12
I did the same kind of test...
Try the attached cod...with DBPRO I got 5 FPS and with DB113 I got 25 FPS



Ulric
ASUS A7M266 - AMD Athlon 1.4GHz - 512MB DDR266 - CreativeLabs GeForce4 Ti4600 - Windows XP Pro SP1
HippyGoth
21
Years of Service
User Offline
Joined: 4th Oct 2002
Location: United States
Posted: 10th Oct 2002 15:20
I get 9FPS with DB1 and 1FPS with DBPro. Scarey.

Eddie.
DrakeX
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location:
Posted: 10th Oct 2002 23:25
hubdule -- :o your example runs at 50FPS in DB1 and 3 FPS IN DBP!!!!!!

AAAAAA

this is gay

i'm looking at yooooou!
Hubdule
21
Years of Service
User Offline
Joined: 3rd Sep 2002
Location: Gundelsheim
Posted: 10th Oct 2002 23:57
as I said
but it's a known problem and gets fixed

HippyGoth
21
Years of Service
User Offline
Joined: 4th Oct 2002
Location: United States
Posted: 11th Oct 2002 04:30
I sure hope they do fix it. I'm in two minds, buy now and hope it gets fixed, or wait until it is fixed.

AIEEE!

Eddie.
Kale
21
Years of Service
User Offline
Joined: 8th Sep 2002
Location: United Kingdom
Posted: 11th Oct 2002 15:37
OMG! That is SOOOOOOOOOOOOOOOOOOOO GAY! and i need to code a load of objects in a game, ffs.

What the flame does not consume, consumes the flame.
----------------------------------------------------------------------
AMD XP2100+, Geforce4Ti 4400, 512Mb DDR, Abit KX7, WinXP Pro
Mike Johnson
TGC Developer
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 11th Oct 2002 17:12
DB Pro is faster than DB in most cases. The problem that is slowing it down in this instance is related to primitive objects e.g. cubes, spheres etc. We're working on a fix which will solve these problems and bring the speed back up.

Mike
Startopian
21
Years of Service
User Offline
Joined: 28th Aug 2002
Location:
Posted: 13th Oct 2002 01:20
5 fps! I win!

waffle
21
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 14th Oct 2002 06:32
thanks, that explains my own speed tests
bevleigh
21
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 21st Oct 2002 01:37
Check out the camera range and hidden objects. In DB1 I hid objects and reduced the camera range to increase performance.This worked effectivly in reducing cpu stress. However in DBP I found this does not do the trick. Also in DB1 if all the objects were behind the camera and not rendered to screen it was like there are no objects in the scene,according to performance. In DBP this has no effect on fps whatsoever.

bevleigh
21
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 21st Oct 2002 01:44
Being fair, DBP does run some of the old DB demos faster than the original program. However, these problems related to the speed of DB1 and DBP makes me want to throw up!!! How can I use DBP knowing these little bugs.

DMXtra
21
Years of Service
User Offline
Joined: 28th Aug 2002
Location: United States
Posted: 21st Oct 2002 09:34
Quote: "
How can I use DBP knowing these little bugs.
"


There is a new 3D Pipeline that is being put into DBPro and also Mike Johnson as he said above is optimising the code. To help you out a little bit, I was getting 20 frames per second and after Mike optimised the code it was doing 250 frames per second. If you can be patient for a little bit you will be rewarded.

Dark Basic Pro -- The luxury for game programmers everywhere

Login to post a reply

Server time is: 2024-03-28 09:24:32
Your offset time is: 2024-03-28 09:24:32