Although I’m learning slowly how to use Xith3d (because I am a 3d beginner and it’s the first 3d Engine I’ve the pleasure to use) it’s pretty thrilling and looks very nice to me.
I’ve read the interesting notes about performance and the “road map” and this sounds very good, like I said.
On a PC with AMD XP 2500+ and GF4 TI4200 I’ve run the java com.xith3d.test.CubeTest (cool idea, btw, to include such basic tests directly into the main Xith3d library jar.)
It says (it’s a 640x480 window I think) :
done frame speed test at 80 fps
there are 3492 triangles in scene
rendering 279360 triangles/sec
Num frames = 2000
Delta ms = 25
So currently I get about ~280k polygons per second on a high end machine (painted via ~300 cubes with 6 sides with 2 triangles each). Addendum: this isn’t comparable to real world examples I learned.
I’d like to program a 3d action game. My friend, a graphic artist, plans to use up to 50k polygons on screen. With the current Xith3d Cube test as a very (!) rough indication this would mean I would see about 5.6 frames per second (fps) ?
(Provided my game used a similar scenegraph like the Cubetest, and of course it’s still a very rough comparison because a game needs more than a Cubetest. Also “polygon” isn’t a good measure; however let’s say my intended 50k polygons are comparable in size and texturing to the Xith-Cubetest.)
I learned that Xith3d will be speed optimized by the time (and even if you would use the “direct” OpenGL way via Jogl it would be roughly the same or even better with Xith3d for complex scenes).
My friend intends to go for about ~50 fps for a 50k polygon scene on the above mentioned PC. Is his expectation a realistic goal which I could fulfil with Java (Xith3d) - or do I have a problem? I don’t mean a problem with Xith3d or Jogl. Rather: is it possible at all to render 50k polygons with 50++ fps with an OpenGL based Java 3d engine, or is this data too much?