Average FPS - Xith Demo

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 CubeTest.java


           BufferedImage b = DirectBufferedImage.loadDirectImage(
                "stone.jpg");

Cheers,

Will.

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.

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(RenderBin.java:38)
        at com.xith3d.render.Renderer.addAtom(Renderer.java:108)
        at com.xith3d.scenegraph.View.renderNode(View.java:551)
        at com.xith3d.scenegraph.View.renderNode(View.java:524)
        at com.xith3d.scenegraph.View.renderNode(View.java:524)
        at com.xith3d.scenegraph.View.renderNode(View.java:524)
        at com.xith3d.scenegraph.View.getRenderFrame(View.java:495)
        at com.xith3d.scenegraph.View.renderOnce(View.java:474)
        at com.xith3d.scenegraph.View.renderOnce(View.java:457)
        at com.xith3d.test.CubeTest.<init>(CubeTest.java:150)
        at com.xith3d.test.CubeTest.main(CubeTest.java:540)


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

Cheers,

Will.