Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (576)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 3 4 [5] 6
  ignore  |  Print  
  Quake3 level loader - Benchmarks  (Read 30655 times)
0 Members and 1 Guest are viewing this topic.
Offline Amos Wenger

Senior Duke




Everything's possible, but not everything's fun...


« Reply #120 - Posted 2006-10-03 17:21:57 »

Great.  I also contacted the author of the quake map we are using and got a better understanding of the missing textures.  Basically they are all defined in .shader files.

Hmm... I don't think this is true for all of them. For some it might be. But most of them reside in the base folder of the Quake3 install path (well known by us old Quake3 gamers). They're reused by many Q3 maps just as in this case.

I'll be writing a .shader interpreter for jME at some point (hopefully this week) which you are welcome to port across to Xith.

Thanks Smiley.

Marvin
I'm afraid you didn't commit the TextureFlip changes.. BSPConverter has a compile error.

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline Marvin Fröhlich

Senior Duke




May the 4th, be with you...


« Reply #121 - Posted 2006-10-03 17:27:21 »

I'm afraid you didn't commit the TextureFlip changes.. BSPConverter has a compile error.

Wrong quote Wink.

But I committed them (doublechecked it). Where is the compiler error?
Offline Amos Wenger

Senior Duke




Everything's possible, but not everything's fun...


« Reply #122 - Posted 2006-10-03 17:32:24 »

I'm afraid you didn't commit the TextureFlip changes.. BSPConverter has a compile error.

Wrong quote Wink.

But I committed them (doublechecked it). Where is the compiler error?
hehe stupid me I didn't updated my xith3d core ^^

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline renanse

Junior Duke




Intelligence is light to a dark world.


« Reply #123 - Posted 2006-10-04 04:32:28 »

I played plenty Quake3 in my time, but I wouldn't call myself an expert.  Still, of the missing textures in your version of the loader, there are only 2-3 that are actually just images... the rest are defined in the .shader files in base Q3 (caulk, hint, noshader, nodraw, missleclip, and lavahell_2000) and in the map we are using's .shader file (orangesky and pdm_blocks17floor2_trans.)  In case you are not familiar with the .shader file, it's not a shader in the sense of frag and vert shaders, it's a definition of how to apply, animate and or blend defined texture(s) on a face.  Also, there are several things about Q3 textures that have alpha channels (such as making sure they are not back culled and applying a proper alpha blend) that are not handled in the converter.

Renanse  (ruh-NON-say)
Offline Marvin Fröhlich

Senior Duke




May the 4th, be with you...


« Reply #124 - Posted 2006-10-10 22:32:05 »

I created a new class org.xith3d.test.benchmark.Q3FlightTest, which is a little slimmer than BSPLoaderTest (e.g. without the HUD stuff and without input). Please use this version for any benchmark.

Marvin
Offline renanse

Junior Duke




Intelligence is light to a dark world.


« Reply #125 - Posted 2006-10-11 01:10:12 »

Since the other tests include user control over the camera when not in flight mode, it would be good to keep that.

Renanse  (ruh-NON-say)
Offline Marvin Fröhlich

Senior Duke




May the 4th, be with you...


« Reply #126 - Posted 2006-10-13 00:33:22 »

Since the other tests include user control over the camera when not in flight mode, it would be good to keep that.

I readded the user controls to Q3FlightBenchmark. Now it should be ready to be taken for your banchmarks.

Marvin
Offline renanse

Junior Duke




Intelligence is light to a dark world.


« Reply #127 - Posted 2006-10-15 06:18:18 »

Ok, I've mostly been waiting as a courtest for you guys to figure out your vertex/index issues on the loader before I put this latest benchmark finally together.  Do you have an ETA on that?

Renanse  (ruh-NON-say)
Offline Marvin Fröhlich

Senior Duke




May the 4th, be with you...


« Reply #128 - Posted 2006-10-16 11:49:50 »

Ok, I've mostly been waiting as a courtest for you guys to figure out your vertex/index issues on the loader before I put this latest benchmark finally together.  Do you have an ETA on that?

Thank you very much for your patience, renanse. I've been very busy.

Well I've just fixed this issue Grin. At least it was really easy. It was due to the latest changes in the BSPVertex class, which I've reverted. They didn't give any performance or GC boost, so they seemed to be useless in this sense.

Now, feel free to take the most recent version for your webstart tests. And please remember: take the org.xith3d.test.benchmark.Q3FlightBenchmark

Marvin

EDIT: If LWJGL is running faster for you (it doesn't for me) then please use it for your tests.
Offline Amos Wenger

Senior Duke




Everything's possible, but not everything's fun...


« Reply #129 - Posted 2006-10-16 16:37:39 »

Well I've just fixed this issue Grin. At least it was really easy. It was due to the latest changes in the BSPVertex class, which I've reverted. They didn't give any performance or GC boost, so they seemed to be useless in this sense.
Whoops.. was me ?

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Marvin Fröhlich

Senior Duke




May the 4th, be with you...


« Reply #130 - Posted 2006-10-16 16:43:37 »

Whoops.. was me ?

Yes, was you Smiley. But don't worry. Was easy to fix (but a little harder to find over time).
Offline renanse

Junior Duke




Intelligence is light to a dark world.


« Reply #131 - Posted 2006-10-23 05:40:10 »

Benchmarks are done and posted here: http://www.renanse.com/blog/2006/10/and-now-benchmarks-you-can-run.html

You can grab the source I used there, as well as an open office doc of my raw numbers and some charts.

The lwjgl version of Xith wouldn't run for me due to what appeared to be a opengl-thread issue.  (To run in lwjgl mode, I simply changed the JOGL to LWJGL in the test class.)  The frame rate of the jogl xith was about 160-165 ish, so about the same, even though the visual look has imroved (proper texture filtering, flame transparent, etc.)   You'll notice the FPS for jME went up a good chunk, that is because we improved our ability to lock down unchanging static sections of the scenegraph.  I suggest the next benchmark be something involving animation or interactivity.  Maybe capturing and playing back the activities of a hand full of actors?

Anyhow, putting down my benchmark hat for awhile...  at least until the next test!  Smiley

Renanse  (ruh-NON-say)
Offline Marvin Fröhlich

Senior Duke




May the 4th, be with you...


« Reply #132 - Posted 2006-10-23 15:03:14 »

Hmm... That's really, really strange. LWJGL is running fine on my machine. And the whole test has become a lot faster since the last test.

Could you please, please make the linux webstarts available. It's not too hard and would help some people like Amos and me a lot.

Marvin
Offline renanse

Junior Duke




Intelligence is light to a dark world.


« Reply #133 - Posted 2006-10-23 17:39:12 »

Getting the windows java3d libs involved running an installer...  Is there a way to get the linux (or mac) libs for java3d without such a process?  I was sleepy enough last night that I didn't really care to try to find that out.

Renanse  (ruh-NON-say)
Offline Marvin Fröhlich

Senior Duke




May the 4th, be with you...


« Reply #134 - Posted 2006-10-23 17:41:52 »

Getting the windows java3d libs involved running an installer...  Is there a way to get the linux (or mac) libs for java3d without such a process?  I was sleepy enough last night that I didn't really care to try to find that out.

No problem.

Well, it should be sufficient to point the the same folder or jar for windows or Linux (never tested it on max, but should be the same). The win libs and linux libs should then be provided at the same place.

Marvin

BTW: Please use the same source, you're using at the moment.
Offline renanse

Junior Duke




Intelligence is light to a dark world.


« Reply #135 - Posted 2006-10-23 18:00:22 »

Huh  I'm talking about actually getting the java3d libs for linux in the first place...

Renanse  (ruh-NON-say)
Offline Marvin Fröhlich

Senior Duke




May the 4th, be with you...


« Reply #136 - Posted 2006-10-23 18:14:56 »

Huh  I'm talking about actually getting the java3d libs for linux in the first place...

I've never used Java3D. You unfortunately I cannot help you with it. But please start making xith and jme webstartable from linux. I'm very interested in the results on my machine.
Offline renanse

Junior Duke




Intelligence is light to a dark world.


« Reply #137 - Posted 2006-10-23 18:19:41 »

If I get a chance tonight I'll see what I can do

Renanse  (ruh-NON-say)
Offline Marvin Fröhlich

Senior Duke




May the 4th, be with you...


« Reply #138 - Posted 2006-10-23 18:38:52 »

If I get a chance tonight I'll see what I can do

OK. Thanks.
Offline renanse

Junior Duke




Intelligence is light to a dark world.


« Reply #139 - Posted 2006-10-24 01:21:22 »

Ok, I've repacked xith and jme with linux and mac native libs (sorry java3d.)  I could only test mac, which works for jME but has the Tuple3f/Vector3f issue I mentioned before upon starting up in Xith.  Upgrading my jvm solved that in windows, but there is not an official upgrade for mac above 1.5.0_06.  *shrug*

Anyhow, the point was to get you guys linux native libs, so hopefully that is accomplished now. Smiley  Same links as before.

Renanse  (ruh-NON-say)
Offline Marvin Fröhlich

Senior Duke




May the 4th, be with you...


« Reply #140 - Posted 2006-10-24 22:18:48 »

A little problem: You need to include JOGL_drihack to the xith jar. And JME is also not working on Linux (class def not found exception: null).

Marvin
Offline renanse

Junior Duke




Intelligence is light to a dark world.


« Reply #141 - Posted 2006-10-25 02:52:20 »

I'll get that jogl hack native in there tonight.  Any other info on the jme exception?  I wish I had a way to test this myself.  Sad

Renanse  (ruh-NON-say)
Offline renanse

Junior Duke




Intelligence is light to a dark world.


« Reply #142 - Posted 2006-10-25 03:42:04 »

Try them again when you can.

edit: Borrowed an ubuntu laptop and fixed up some args, xith and jme finally worked.  yay.

Renanse  (ruh-NON-say)
Offline Marvin Fröhlich

Senior Duke




May the 4th, be with you...


« Reply #143 - Posted 2006-10-25 17:05:02 »

Try them again when you can.

edit: Borrowed an ubuntu laptop and fixed up some args, xith and jme finally worked.  yay.

Thanks.

Marvin

PS: Ubuntu is cool Smiley. I'm using Kubuntu.
Offline Marvin Fröhlich

Senior Duke




May the 4th, be with you...


« Reply #144 - Posted 2006-10-25 18:59:37 »

I ran the JME and Xith flights and got 160 FPS for JME and 151 for Xith. Yeah Grin. No a too big difference.

Marvin
Offline renanse

Junior Duke




Intelligence is light to a dark world.


« Reply #145 - Posted 2006-10-25 19:12:11 »

Cool, yeah some people running it get a slight lead for jME, people with newer graphics cards / cpus seem to get much larger leads (some as much as 2x).  Also interesting, most people with modern machines show java3d over xith, older machines seem to put them on par or xith slightly ahead of java3d.  Would be fun to have a place where people could upload their stats. 

Just glad you can finally run it! Smiley

Renanse  (ruh-NON-say)
Offline Yuri Vl. Gushchin

Senior Duke




Speak Java!


« Reply #146 - Posted 2006-10-26 00:09:42 »

Hi,

My GeF 440 Go on Toshiba Satellite 5100 at 1600x1200 32bpp gives the result described: Xith3D is ~20% faster than Java3D while jME is 50% faster than Xith3D (I have to admit that it is a good achievement).

Yuri

P.S. You should check against the latest Xith3D, because of one bundled with your test shows up wrong (flashing) textures sometimes.

Yuri Vl. Gushchin
JProof Group
Offline Amos Wenger

Senior Duke




Everything's possible, but not everything's fun...


« Reply #147 - Posted 2006-10-26 08:51:16 »

Java3D doesn't run with Linux (though it doesn't seems like a native lib error, it just doesn't find the main class)
37.94 FPS with jME, experiencing ~8 lags at the beginning of the flight, and irregular memory usage
31.92 FPS with Xith3D, some wrong textures flash as Yuri mentioned, IIRC it should be fixed in current CVS. Memory usage nice and flat, perfect behavior (no lags).

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline Yuri Vl. Gushchin

Senior Duke




Speak Java!


« Reply #148 - Posted 2006-10-26 09:59:07 »

Hi,

Quote
some wrong textures flash as Yuri mentioned

As I mentioned also, it is already fixed in current CVS.

Yuri

Yuri Vl. Gushchin
JProof Group
Offline renanse

Junior Duke




Intelligence is light to a dark world.


« Reply #149 - Posted 2006-10-26 17:04:33 »

37.94 FPS with jME, experiencing ~8 lags at the beginning of the flight, and irregular memory usage

Yeah, I just didn't apply the textures at the beginning before letting the game begin.  So it stutters when you see a new texture.  Not sure what else you saw that gave you a memory concern.

Renanse  (ruh-NON-say)
Pages: 1 ... 3 4 [5] 6
  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.

Longarmx (39 views)
2014-10-17 03:59:02

Norakomi (30 views)
2014-10-16 15:22:06

Norakomi (24 views)
2014-10-16 15:20:20

lcass (28 views)
2014-10-15 16:18:58

TehJavaDev (57 views)
2014-10-14 00:39:48

TehJavaDev (58 views)
2014-10-14 00:35:47

TehJavaDev (48 views)
2014-10-14 00:32:37

BurntPizza (64 views)
2014-10-11 23:24:42

BurntPizza (36 views)
2014-10-11 23:10:45

BurntPizza (78 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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