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 / DB Pro runs about 15 times SLOWER than DB1.13 ?!!?!??

Author
Message
Yarbles
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Toronto
Posted: 29th Nov 2002 19:25
Yes it's true.

I tried rewriting my scenery cache, for trees and other landscape scenery, in DB Pro and it ran about 15 times slower. The cache loads about 1000 simple 3d objects (most with transparency) and re-uses them as you walk around the map. In DB1.13 it runs at about 30-40 fps. In DB Pro it runs at.. wait for it.. 3 fps!!!.. even when all those objects are set to be invisible.


Lee or Mike, please tell me that you are fixing the rendering pipeline in the next patch.

-Dave
The Yellow Jester does not play but gently pulls the strings
And smiles as the puppets dance in the court of the Crimson King.
Mike Johnson
TGC Developer
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 29th Nov 2002 19:58
Can you send me an example please? If you could send the code and all of the media I can test it out with patch 4.

We are making changes to the rendering code and you'll get to see this in patch 4.

Mike
rapscaLLion
21
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 29th Nov 2002 22:44
ya, I've noticed slowdowns as well. When using the Text command over 3D, I get a drop of approx 10 fps.
This process:
Set bitmap to 1
paste images (2 or 3)
get image
set bitmap to 0
paste image

gets me around 12 fps.

It was around 20 in DBC...

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
Yarbles
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Toronto
Posted: 30th Nov 2002 00:12
Ok Mike, I'll send that off to you today or tomorrow.

The Yellow Jester does not play but gently pulls the strings
And smiles as the puppets dance in the court of the Crimson King.
DrakeX
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location:
Posted: 30th Nov 2002 01:30
"The cache loads about 1000 simple 3d objects"

well there's your problem.

if you didn't know already the pipeline in DBP is much faster with fewer objects but it much slower with many (in your case, 1000) objects. which is why mike wants you to send him your code, as the new pipeline is in P4

i'm looking at yooooou!
Necrym
21
Years of Service
User Offline
Joined: 4th Sep 2002
Location: Australia
Posted: 3rd Dec 2002 10:42
Yes the pipline is slower however that will be corrected when the new DBO format gets going as all 3d objects will be treated as the same type just with different properties applied

Watch the bouncing cursor - now in 3d
Van B
Moderator
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 3rd Dec 2002 16:19
Yeah, Get image will be slower, in fact, some paste image calls will be slower too, well, slower than DB1.13 anyway. Remember, there is no 2D in DX8.1, so everything involving grabbing images etc will be a bit slow cos it has to be done a bit less gracefully.

BUT!!!

That's why we have memblocks and rendering to images . Has anyone tried texturing a cube with a camera view yet?, I'm guessing it'll look pretty mad.


Van-B
ICERGB
21
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 4th Dec 2002 10:12
Van-B

Could you elaborate please on memblocks and show some simple uses... PLease!

Or show where I can get some info?

ICERGB

Login to post a reply

Server time is: 2024-04-30 09:55:28
Your offset time is: 2024-04-30 09:55:28