Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (534)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Fill rate  (Read 1647 times)
0 Members and 1 Guest are viewing this topic.
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Posted 2003-12-23 13:28:31 »

Hi there,

Not typical lwjgl or jogl, but a general openGL performance question so I thought I'd post it here.
I'm running into some fill rate related performance problem in Cosmic Trip. When I raise the resolution, framerate dramatically drops.
Running CT in 1024x768, framerate drops below 60 fps on my video card (GF4 Ti4200) which I think is too low for my video card (when turning on vsync at 60hz refresh, framerate is stuck at 30fps which is unacceptable).
Running it at 640x480, framerate is ~140 fps so the problem seems fill rate related to me.
I think I've seen many more polygons on screen at higher fps on even my previous S3 savage video card in commercial titles so I wondering if there's any techniques I should be aware of to keep my rendering speed up?
I'm just simply rendering quads and triangles. I suppose using display lists for example won't help fill rate or am I wrong?
Any suggestions except lowering the number of triangles being rendered?


Thanks,
Erik

Offline abies

Senior Member





« Reply #1 - Posted 2003-12-23 14:07:57 »

Try to sort everything non-transparent from front to back. It should help if you are fill rate limited. Alpha blending is very bad for fill rate - maybe you can try to decrease size/number of transparent particles and see if it helps ?

Artur Biesiadowski
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #2 - Posted 2003-12-23 15:14:43 »

Hey, sorting non-blended things from front to back helped a lot! Framerate went up from ~55 to ~75!

Thanks  Cheesy

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline K.I.L.E.R

Senior Member




Java games rock!


« Reply #3 - Posted 2004-01-07 11:49:34 »

That's because the video card's natural(fastest) rendering order is front to back.
Get yourself a TBDR and you wont have to worry about this sort of thing.

Vorax:
Is there a name for a "redneck" programmer?

Jeff:
Unemployed. Wink
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #4 - Posted 2004-01-07 12:05:06 »

The only other tip for improving fill rate I know of is to use the alpha test to reject blended fragments that are near to very transparent. Using a test value close to zero can eliminate a whole bunch of fragments that barely show in the final image.

Looking at the screenshots this might be worth trying, you certainly have a lot of particles flying around. Obviously if the test value is too high it starts being noticable, but it might be nice to add as some sort of quality option for slower machines.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #5 - Posted 2004-01-07 14:04:28 »

Quote
That's because the video card's natural(fastest) rendering order is front to back.
Get yourself a TBDR and you wont have to worry about this sort of thing.


Whats a TBDR?  Huh
Anyway, it's better that I worry about this sort of thing now than others playing my game don't you think?  Wink

Quote

The only other tip for improving fill rate I know of is to use the alpha test to reject blended fragments that are near to very transparent. Using a test value close to zero can eliminate a whole bunch of fragments that barely show in the final image.

Looking at the screenshots this might be worth trying, you certainly have a lot of particles flying around. Obviously if the test value is too high it starts being noticable, but it might be nice to add as some sort of quality option for slower machines.


Good hints, thanks! There's certainly a lot of blending going in, so it might help.

Erik

Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #6 - Posted 2004-01-07 14:33:01 »

Unless TBDR refers to a tile-based renderer (like the Kryo and Dreamcast graphics cards) I have no idea. Those chips actually do a divide-and-conquer method of sorting all the polys in a scene to get the correct rendering order, and so don't need a z buffer or suffer from any overdraw problems.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline Woz

Senior Newbie




A Troll who lives in a hole


« Reply #7 - Posted 2004-01-07 16:23:47 »

Orangy is right,

TBDR stands for Tile Based Deferred Renderer.

Although its Kyro not Kryo, although I kept calling it that when I when for an interview at Power VR to write display drivers for it [hey it looked like a frozen dead dude on the cover box  Cheesy ]. That was just before ST Micro Electronics ditched them - even though they were making a profit with them - throwing Power VR into oblivion. Although they are supposed to have a DX9 peice out and about...

Heres a short url describing the process, translated from German:  * here * My understanding is that they own a load of patents on the subject.

I thought the Dream Cast had fantastic picture quality and it supported 60Hz on a UK telly (Soul Calibur was arcade perfect). Pitty it boomed.

------
Woz.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

pw (35 views)
2014-07-24 01:59:36

Riven (33 views)
2014-07-23 21:16:32

Riven (21 views)
2014-07-23 21:07:15

Riven (24 views)
2014-07-23 20:56:16

ctomni231 (55 views)
2014-07-18 06:55:21

Zero Volt (47 views)
2014-07-17 23:47:54

danieldean (38 views)
2014-07-17 23:41:23

MustardPeter (43 views)
2014-07-16 23:30:00

Cero (59 views)
2014-07-16 00:42:17

Riven (56 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!