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.

Newcomers DBPro Corner / dbp performance question

Author
Message
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 15th May 2006 23:29
why when i run a game like 'morrowwind' witch is very graphic intensive,has pixel shaders,high quality 3d models,and probably complicated ai my pc runs it with ease!! my cpu & graphics fan are very quiet.

but when i run my dbp program my cpu goes crazy likes its struggling to run it & my framerate drops to 4 when i try to use an ocean shader for my water?also i dont have very many 3d models in my scene.

what is it??is dbp just not very good??? (im just asking,im not bashing dbp.)
Panda lover
18
Years of Service
User Offline
Joined: 22nd Feb 2006
Location:
Posted: 15th May 2006 23:32
it depends on how you got it to go i think and on the pixel shader you are trying to use aswell and the ammount of polygons its trying to shade
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 15th May 2006 23:35
the plain im shading with the ocean shader is a default dbp plain.
Panda lover
18
Years of Service
User Offline
Joined: 22nd Feb 2006
Location:
Posted: 15th May 2006 23:41
lol it could be that your gpu (graphics card) doesn;t like pixel sharders very much and if your on about the morrowind (eldar scrolls 3) that game isnt grpahics hungary but elder scrolls 4 Oblivion is ower hungary
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 16th May 2006 02:59
ok,this is weird.im actually getting a higher fps when i use sync off.
Panda lover
18
Years of Service
User Offline
Joined: 22nd Feb 2006
Location:
Posted: 16th May 2006 18:21
are you using auto sync?
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 16th May 2006 20:09
i dont see auto sync in the help.what are you typing about???


this is my display code:


i also have this at the end of my main do loop


but when i change the display code to:

& remove sync from the end of the do loop,my fps goes up about 30!
i think im going to give the player the option to turn this on/off at the start of the program,but by default im leaving it off.
especially since my cpu & graphics fan are silent when i have sync off!
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 16th May 2006 20:34 Edited at: 16th May 2006 20:35
Putting sync off just means that you're letting windows control the screen updating... Putting sync on means that it's you that wanna control the screen updating. Putting sync to 0 means that it will update the screen as fast as your computer allows.

It would help us a lot more if you would post your system specs.

-The Nerd

3D Arcade-like game:
SpaceBattle-Shootout
smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 16th May 2006 20:38 Edited at: 16th May 2006 20:40
sync off won't really do u any favours, best to look into models with lower polys

life's one big game
spec= 2ghz, 1gb ram, 512mb gpu, directx 9.0c, dbpro and classic
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 16th May 2006 21:13 Edited at: 16th May 2006 21:16
windows xp home edition
3.06 gigahertz pc
386 mb ram
direct x 9.0c (very latest)
video card = nividia geforce fx go5200




& what is the main reason i should leave sync on??i mean what kinds of problems would this cause down the road?
smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 16th May 2006 22:22
yep seems like an upgrade in the ram department is needed as windows xp needs at min 128 and really uses about 256.

if u press ctrl+alt+delete and look under performance at the PF usage u will see the amount of ram ur using, also look at the bottom left under commit charge at the peak, this tells u the maximum amount of ram u have used since the computer was booted, therefore u want to make sure this number is a fair way below ur max, to give u some examples, mine is currently reading a PF of 238 with only this web page open + backgground tasks and my commit charge is 434140 (434mb) out of 1gb, therefore i can easily supply this, but this is just my background tasks and loading a web page, i haven't even tried playing any games etc.

hope that helps.

life's one big game
spec= 2ghz, 1gb ram, 512mb gpu, directx 9.0c, dbpro and classic
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 17th May 2006 00:29
hmm. ok,your actually not the 1st person to tell me i probablly need more ram,someone else told me to run games these days pretty well u need about 1 gigbyte.


im definately going to get more ram & see if the performance of all my 3d programs improves.

thanks!
Euphoria
18
Years of Service
User Offline
Joined: 21st Feb 2006
Location: United Kingdom
Posted: 19th May 2006 14:59 Edited at: 19th May 2006 15:00
Quote: "& what is the main reason i should leave sync on??i mean what kinds of problems would this cause down the road? "


Having sync on means you have control over what is displayed on each frame....For instance you may wish to reposition a number of objects & perform a bunch of game logic before having the screen updated, with sync off the screen could update in the middle of your game logic and/or objects may appear to reposition one after the other.

Login to post a reply

Server time is: 2024-09-24 23:29:34
Your offset time is: 2024-09-24 23:29:34