Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (592)
Games in Android Showcase (168)
games submitted by our members
Games in WIP (645)
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  
  Average FPS - Xith Demo  (Read 1226 times)
0 Members and 1 Guest are viewing this topic.
Offline William Denniss

JGO Coder

Projects: 2

Fire at will

« Posted 2003-08-05 04:04:26 »

Has anyone else run the Xith3D 9000 cube demo?  I would like to get a bit of an idea what frame rates people are getting.

I haven't run it yet on my PC which has a semi-decent graphics card, but when I tried it on my laptop with a SiS650 chipset 32MB (shared) Graphics card, I only got a mear 16f/s.

9000 textured cubes = about 108,000 triangles by my reconing (9000 cubes x 6 sides x 2 triangles).

Is 16f/s normal for a low-end card for that many triangles would you think?

This is runnly Xith3D on Linux JOGL.

Incidentally, I managed to solve my previous display problems by downloading the latest SiS linux driver, and compiling/installing Mesa 5.

Note that the demo won't run unless you fix and recompile the
           BufferedImage b = DirectBufferedImage.loadDirectImage(



Offline DavidYazel

Junior Devvie

Java games rock!

« Reply #1 - Posted 2003-08-05 12:38:15 »

Unless you modified the demo and rebuilt, it is a 900 cube demo, not a 9000 cube demo.  The demo prints out the actual number of triangles per frame at the end and calculates the fps.

For a test of sheer triangle this one is not very interesting because it is rendering a bunch of small shapes.  You could increase the complexity of those cubes by quite a bit (and thus increase the triangle count) before you would become fill bound.  I should make a sphere test version of the cube test to demonstrate that.

David Yazel
Xith3D Project Founder

It may look complicated, but in the end it is just a bunch of triangles
Offline William Denniss

JGO Coder

Projects: 2

Fire at will

« Reply #2 - Posted 2003-08-05 21:19:20 »

900 sorry yes, not 9000.

If you could do the sphere demo that would be good.  I think I will try the 2000 frame test with some more complex objects when I get home from work.

Here are my results from the 2k frame test using: SiS650 Integrated Grpahics, 32MB DDR Video Ram (shared), Red Hat Linux 8.0, P4 1.8GHz, 256MB DDR SDRAM on a laptop.  Ie. a fairly low end system graphics wise, and the 256MB ram isn't helping matters in linux...

Cube count   f/s    ms/f
102               28            69  
1002             11           177  
2002             6             303
12                28            57

(The extra 2 cubes are the big ones).  

3000+ cubes fails with:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3000
        at com.xith3d.render.RenderBin.addAtom(
        at com.xith3d.render.Renderer.addAtom(
        at com.xith3d.scenegraph.View.renderNode(
        at com.xith3d.scenegraph.View.renderNode(
        at com.xith3d.scenegraph.View.renderNode(
        at com.xith3d.scenegraph.View.renderNode(
        at com.xith3d.scenegraph.View.getRenderFrame(
        at com.xith3d.scenegraph.View.renderOnce(
        at com.xith3d.scenegraph.View.renderOnce(
        at com.xith3d.test.CubeTest.<init>(
        at com.xith3d.test.CubeTest.main(

Is this a limitation of Xith3D, JOGL, OpenGL or my graphics card?



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

deepthought (11 views)
2015-06-30 15:39:44

deepthought (15 views)
2015-06-30 15:39:09

deepthought (19 views)
2015-06-30 15:36:52

Za\'Anzabar (17 views)
2015-06-29 05:44:54

TritonDreyja (34 views)
2015-06-24 17:10:40

CopyableCougar4 (29 views)
2015-06-23 00:34:45

BurntPizza (34 views)
2015-06-21 20:36:46

cookiecompiler (77 views)
2015-06-11 15:42:53

cookiecompiler (40 views)
2015-06-11 15:41:14

NegativeZero (67 views)
2015-06-11 09:49:18
How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14 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‑
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!