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 / why do i get 6 fps with this simple thing?

Author
Message
CuCuMBeR
21
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Turkey
Posted: 22nd Jan 2003 13:31
my computer has 256mb ram, nvidia tnt 64, pentium 4 processor and all the necessary and uptodate drivers installed with directx 8.1
and i make a matrix

sync on and sync rate is 100 and camera distance is 10,500
matrix width=2000
matrix lengty=2000
tile x and y = 50

then i give this matrix height with a heightmap.
and then i tile this matrix with 2 pictures in a row which are in jpg format and 128x128 width.

and all i get is a 6 or 7 screen fps
and i have db pro with latest patch!
Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 22nd Jan 2003 13:43
Well, I can see the problem if your trying to make the matrix have 2000x2000 tiles, really 100x100 is the max you should use, if you need more you should look into scrolling matrices. Put this way - your matrix would be 8,000,000 polygons, your lucky it was so fast!.


Van-B
Shadow
22
Years of Service
User Offline
Joined: 17th Oct 2002
Location: In the shadows
Posted: 22nd Jan 2003 16:16
Van B, you haven't read the question properly. It's not 2000x2000 tiles, it's 50x50. 2000x2000 is the size of the matrix.

"matrix width=2000
matrix lengty=2000
tile x and y = 50"

CuCuMBeR, I can't see any reason for that to not work, but if you post the whole code, maybe I can help.
CuCuMBeR
21
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Turkey
Posted: 22nd Jan 2003 16:42
this is the code and you can use any heightmap and jpg to texture it, it wont give you more than 8 fps
whats wrong with this one?



haggisman
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 22nd Jan 2003 17:27
You can double your fps by removing the extra Sync from this section of code:-



Specs:- 1GHZ athlon, Radeon8500, 192mb ram, winxp
CuCuMBeR
21
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Turkey
Posted: 22nd Jan 2003 18:11
yes now it works with 11 or 14 fps,still not good enough with one little matrix though,or is it?
by the way,is this way correct to tile a matrix heights?

i mean, i want to tile every matrix tile which is 0 height with a grass texture. and i want to tile higher parts with a rock or stone texture,like this:



or is there any other easier and more correct way to do it?

haggisman
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 22nd Jan 2003 18:38
Maybe you could reduce the number of tiles the matrix uses, i get 40fps with your code so perhaps it could just be your computer??

Manual texturing always looks nice, but it takes way too long, perhaps you could use your method and touch it up later manually.

Specs:- 1GHZ athlon, Radeon8500, 192mb ram, winxp
ShockFire
21
Years of Service
User Offline
Joined: 18th Jan 2003
Location: United Kingdom
Posted: 22nd Jan 2003 21:52
its your pc, ive seen this all before (i trust your'e using db1).

Ive made kewl games that run at about 25fps on my 450, whereas they run at only 10fps on my mates 1giga :S

Although i never did check to see what drivers he had for his card and what version of dx he had...
PiratSS
22
Years of Service
User Offline
Joined: 18th Oct 2002
Location:
Posted: 23rd Jan 2003 03:24
try this in the begining of th code:

set camera display 320,240,16
and then resize window to 0,0,320,240

this made my 114 fps x7!!

I am the greatest thing since sliced bread!!

Login to post a reply

Server time is: 2024-11-23 22:01:09
Your offset time is: 2024-11-23 22:01:09