Advertisement

Check out my 3D tile engine please

Started by October 24, 2000 05:15 PM
85 comments, last by Possibility 24 years, 2 months ago
I got
cpu: Athlon (AMK K7) 500mhz +128mb,
card: Diamonmd Viper 770 Ultra tnt2 32mb

fps (lights) : 18
fps (no lights) : 24

B.T.W,
I have a question:
How come my fps is better than a P3-600 +128mb+ GEFORCE 2 ????
Works fine for me... it seems like most people who have a Celeron get the crash... something wrong with the celeron processor

i get like 7-9 fps... PIII 500MHz... 64MB RAM..

-------------------------------
I'll screw up whoever screws around with the gamedev forum!

..-=gLaDiAtOr=-..
Advertisement
quote: Original post by JonnyQuest
What polygon type are you using? i.e. Tri Lists, Strips, Fans? Are you rendering each tile seperately? If yes, try rendering all tiles with the same texture at once.


how much are you actually going to save drawing all tiles that are the same only once? I dont think its really worth the losses of having large blocky pixels and loss of height variation. IMHO if coded correctly rendering the scene takes very little time - most fps loss is through ai and processing.


Lep
Ok, I put up a new one but it will still crash mostlikely for the same people.

http://www.tc.umn.edu/~pullis

I have run it my comp at work which is only a 200Pro with a 1meg video card (no 3d accelerator) and it runs fine (but it only does about 1/2 frame per second, lol).

This new version greatly cuts down on the number of tiles it renders and the cow and another object in the scene now have there normals calculated correctly and thus they look super cool (especially the cow, moooo

In total, on the screen are being rendered 408 tiles (2 triangles per tile) and 5804 triangles in the cow and 136 triangles in the other object for a total of 6756 triangles.

So in reply to JonnyQuest, that is alot more then the 2000 triangles in your scene. But I still have lots of optimizations to do, but that is the least of my worries. I can do optimizations and such much later on. Right now I need to figure out how in the hell to get which tile I am clicking in with the mouse But that should only take me a day or 2.

Possibility

Edited by - Possibility on October 25, 2000 5:54:49 PM
Oh, since that cow has nearly 6000 triangles and if you want to take it out of the scene, simply delete the cow.03b file.

Possibility
Here''s my results on my PIII-800 128 mb SDRAM, Win2K, GeForce 256 DDR (ASUS AGP-6800):

Blankscreen, back to windows!!!

_____________________________
My Site: HERE
Advertisement
So that was the bottleneck! The cow! Sorry, I didn''t really "get it" that the cow was making everything so slow.
Well, for 6000 tris, it''s quite good anyway

Leprosy: I don''t get your question. I can''t see the problem with my method?
Just so you know... fps went up by about 1000%

- JQ, PWC Software
"programming is all about wasting time" -me
~phil
By the way, the new version gives me 85-110fps with all lights on. That cow looks neat!


- JQ, PWC Software
"programming is all about wasting time" -me
~phil
quote: Original post by JonnyQuest

So that was the bottleneck! The cow! Sorry, I didn''t really "get it" that the cow was making everything so slow.
Well, for 6000 tris, it''s quite good anyway

Leprosy: I don''t get your question. I can''t see the problem with my method?
Just so you know... fps went up by about 1000%

- JQ, PWC Software
"programming is all about wasting time" -me


Well I geuss you are right - drawing 30 tri strips is shorter then drawing 300, but when you draw only one instead of 100 the one ground strip just gets stretched out large and may get blocky - while if you have lots of smaller pixels they maintain a fairly smooth look. Also, if you have 1 large tile to cover lets say a 10x10 tile the entire tile has to be of one hieght (or 4 corners) while if you drew each tile seperatedly each one could have its own height variation - so 10x10 would give you 100 times greater number of bumps if elevation is a factor in the game. and over small increments this will look more curved then one large quad. Is it worth it so your game will run at 1280x1024? I am almost sure you can get 60-70fps at 800x600, and i think it looks pretty good

Lep
Great demo. I got around 40-70 fps with a PIII 550 Voodoo Banshee and 192 RAM. I dont understand how everyone else is getting such low fps with better systems then mine.

This topic is closed to new replies.

Advertisement