Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - kevglass

#1
Feedback / Re: Open Source
October 30, 2009, 05:23:59 PM
Thats probably the best reasoning I've heard :)

I'm thinking about loaders mostly atm, so if you say the hooks are there I'll jump in that way.

Cheers!

Kev
#2
Feedback / Open Source
October 29, 2009, 08:07:25 PM
I'm sure this has been asked, but I can't find a definitive statement. Is there any reason JPCT doesn't open it's source? I'd really like to extend some bits but I'm finding myself a little hampered.

It doesn't matter too much to me, but I'm sure some folks could extend/help make it an even greater tool.

Kev
#3
Support / Re: Multithread/Multicore Software Rendering?
September 29, 2009, 09:15:34 PM
Made a update to the "game" today to add more tracks/cars etc. It's just getting out of hand:

http://www.cokeandcode.com/applets/jpct/

Kev
#4
Support / Re: Multithread/Multicore Software Rendering?
September 27, 2009, 09:39:25 PM
Not much change here. However, I did get 10fps or so from  using indoor mode and no zbuffer clearing (since my game fills the screen with polys).

Kev
#5
Support / Re: Multithread/Multicore Software Rendering?
September 24, 2009, 09:08:57 PM
I've cross posted this onto JGO to try and get more performance figures:

http://www.javagaming.org/index.php/topic,21275

Kev
#6
Support / Re: Multithread/Multicore Software Rendering?
September 23, 2009, 11:27:24 PM
The guy (kappaOne) with 4 processors reports that each one is being utilised to about 30-35%.

Kev
#7
Support / Re: Multithread/Multicore Software Rendering?
September 23, 2009, 11:22:46 PM
Ok, strange results here.

I'm using:

      Config.useMultipleThreads = true;
      Config.loadBalancingStrategy = 0;
      Config.maxNumberOfCores = Runtime.getRuntime().availableProcessors();

On my box (2 processors, 1 core each) it seems to utilise both.
On another box (1 process, 2 cores) it seems to only use one thread
On a third box (4 process, 2 cores each) it seems to use each processor, but only at 40%ish.

I've had people check what Runtime.getRuntime().availableProcessors() returns, each time it returns the number of hardware threads available (equal to the cores). So above 2, 2 and 8.

Should I be able to use more cores than processors?

Kev
#8
Support / Re: Multithread/Multicore Software Rendering?
September 23, 2009, 10:48:02 PM
I've updated the applet with the new pre-release. I've got a bunch of folks on IRC testing it out, should get some more figures soon.

Kev
#9
Support / Re: Multithread/Multicore Software Rendering?
September 23, 2009, 10:40:12 PM
Frickin awesome, I'll upload the new applet in a moment. I get a 60fps->100fps increase, about 66%? 2 Cores here so thats fantastic.

Great work!

Kev
#10
Support / Re: Multithread/Multicore Software Rendering?
September 22, 2009, 11:58:53 PM
Let me know when you have something to test, I've only got a little test racer atm, but I'd be really interested to see the results on my local box with multithreaded rendering.

http://www.cokeandcode.com/applets/jpct

Kev
#11
Support / Re: Multithread/Multicore Software Rendering?
September 22, 2009, 09:46:57 PM
Oooh, that sounds freaking awesome :)

Kev
#12
Support / Re: Multithread/Multicore Software Rendering?
September 22, 2009, 04:51:16 PM
Thanks for that, performance is pretty reasonable for me at the moment, but I'm just trying out options :)

I thought the sectioning of the screen approach would be best. I'll certainly give it a try.

Not sure why I haven't tried JPCT before, it's really very light and easy. Very cool!

kev
#13
Support / Multithread/Multicore Software Rendering?
September 22, 2009, 11:13:12 AM
Sorry if this has been asked before, I can't find the answer on the wiki or through searching the forums.

I'm using the software renderer at the moment (very cool btw!) and was wondering if it's possible to use more than one thread/core to generate the output image if available. At the moment I'm seeing 100% usage of a single CPU on multicore machines.

Thanks for any help (and for the wonderful jpct)

Kev

PS. Just experiementing at the moment, will write up on cokeandcode soon :)