Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (496)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
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 1130 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 CubeTest.java
1  
2  
           BufferedImage b = DirectBufferedImage.loadDirectImage(
                "stone.jpg");


Cheers,

Will.

Offline DavidYazel

Junior Member




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
http://xith3d.dev.java.net

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

1  
2  
3  
4  
5  
6  
7  
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:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
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.

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.

BurntPizza (14 views)
2014-09-19 03:14:18

Dwinin (33 views)
2014-09-12 09:08:26

Norakomi (58 views)
2014-09-10 13:57:51

TehJavaDev (80 views)
2014-09-10 06:39:09

Tekkerue (40 views)
2014-09-09 02:24:56

mitcheeb (62 views)
2014-09-08 06:06:29

BurntPizza (46 views)
2014-09-07 01:13:42

Longarmx (33 views)
2014-09-07 01:12:14

Longarmx (37 views)
2014-09-07 01:11:22

Longarmx (36 views)
2014-09-07 01:10:19
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!