Author Topic: aptal karga (foolish crow)  (Read 72490 times)

Offline raft

  • quad
  • ******
  • Posts: 1972
    • View Profile
    • http://www.aptalkarga.com
Re: aptal karga (foolish crow)
« Reply #90 on: July 07, 2008, 09:34:24 pm »
i had published a page for karga at facebook. i also plan to make a facebook application when i find time. it will display online friends, display user avatar in profile page, list user actions in mini feed (raft kissed that, that danced with this etc)

http://www.facebook.com/pages/aptalkarga/19052727583

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: aptal karga (foolish crow)
« Reply #91 on: July 18, 2008, 12:07:32 am »
How did it work out? I can't tell from the comments on the page, because my turkish is limited... ;)

Offline raft

  • quad
  • ******
  • Posts: 1972
    • View Profile
    • http://www.aptalkarga.com
Re: aptal karga (foolish crow)
« Reply #92 on: July 18, 2008, 12:14:59 am »
well nothing fancy, no special interest to page. most of those comments are from old users which are indeed friends

Offline raft

  • quad
  • ******
  • Posts: 1972
    • View Profile
    • http://www.aptalkarga.com
Re: aptal karga (foolish crow)
« Reply #93 on: October 21, 2009, 10:46:18 pm »
karga is now using jPCT 1.19, uses built in mipmapper by default and goes multi threaded on multi core cpu's. on a dual core machine, i've noticed %20 performance increase.

if you have a multi core cpu, especially a quad core one, i'd like to hear her performance on your system.

this is a link to run her single threaded regardless of cpu cores
http://www.aptalkarga.com/jws/karga_single_thread.jnlp

and this one goes multi threaded with multiple cores. if it does, it's logged to java console
http://www.aptalkarga.com/jws/karga_window.jnlp

at the bottom left of screen frames/updates per second is written. updates should always be around 40 and frames should never pass updates. so if your frames is around 40, either increase screen size or sampling or do both :) for sampling -> right click | options | video | sampling

cheers,
r a f t

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: aptal karga (foolish crow)
« Reply #94 on: October 21, 2009, 11:55:36 pm »
On my Core2 Quad @ 3.2Ghz, the single core variant runs @ around 10fps using a maximized window on a 1920*1200 desktop. The multi core variant runs @ 22fps with a cpu load of 65%. About sampling mode: There seems to be a problem with multithreaded downsampling of various buffer heights. It causes image distortion and/or crashes....i'll look into this tomorrow.

BTW: Are you using Config.loadBalancingStrategy=1 or =0 (default)?
« Last Edit: October 21, 2009, 11:57:08 pm by EgonOlsen »

Offline raft

  • quad
  • ******
  • Posts: 1972
    • View Profile
    • http://www.aptalkarga.com
Re: aptal karga (foolish crow)
« Reply #95 on: October 22, 2009, 09:53:54 am »
10 to 22, %120 increase, amazing :o ;D

i use loadBalancingStrategy 1. javadocs says 1 is better for dynamic scenes, and i thought it fits better to karga. those avatars make the  scene quite dynamic, right ?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: aptal karga (foolish crow)
« Reply #96 on: October 22, 2009, 12:42:02 pm »
Yes, 1 is usually better.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: aptal karga (foolish crow)
« Reply #97 on: October 22, 2009, 05:19:16 pm »
10 to 22, %120 increase, amazing :o ;D
Actually, that's pretty bad. I guess that the Swing GUI is a bottleneck here that prevents Karga from scaling better. Rendering only should scale like +80% increase with one additional core, +50% with two additional cores and +30% with four cores.

Offline raft

  • quad
  • ******
  • Posts: 1972
    • View Profile
    • http://www.aptalkarga.com
Re: aptal karga (foolish crow)
« Reply #98 on: October 22, 2009, 05:57:40 pm »
possibly right. but it is all i have for such a complicated gui.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: aptal karga (foolish crow)
« Reply #99 on: October 22, 2009, 11:46:59 pm »
There seems to be a problem with multithreaded downsampling of various buffer heights. It causes image distortion and/or crashes....i'll look into this tomorrow.
I've looked into this issue and updated the jar. However, the fix is not 100% satisfying ATM. When using OGSS_FAST on a buffer of an uneven width, i had to to disable multi threaded downsampling. I just couldn't get that combination to work. OGSS should work fine though and sp should OGUS. Please give it a try anyway.

Offline raft

  • quad
  • ******
  • Posts: 1972
    • View Profile
    • http://www.aptalkarga.com
Re: aptal karga (foolish crow)
« Reply #100 on: October 23, 2009, 08:23:06 am »
thank you. i'l try it this evening or tomorrow.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: aptal karga (foolish crow)
« Reply #101 on: October 23, 2009, 10:52:16 am »
However, the fix is not 100% satisfying ATM. When using OGSS_FAST on a buffer of an uneven width, i had to to disable multi threaded downsampling. I just couldn't get that combination to work.
Sometimes its useful to let some time pass, step back, delete all the stupid code and start from scratch...i did that with the downsampling and now it works multi threaded in all modes and all resolutions. I'll update the jar later as well as the official 1.19 release.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: aptal karga (foolish crow)
« Reply #102 on: October 23, 2009, 05:25:15 pm »
I've uploaded a fixed jar. It's the same as the jar that is in the 1.19 update except that it carries the version number 1.20 instead of 1.19.

Offline raft

  • quad
  • ******
  • Posts: 1972
    • View Profile
    • http://www.aptalkarga.com
Re: aptal karga (foolish crow)
« Reply #103 on: October 23, 2009, 07:15:37 pm »
i've uploaded new jPCT jar to karga. all seems ok..

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: aptal karga (foolish crow)
« Reply #104 on: October 23, 2009, 11:15:01 pm »
Yes, works fine now. I've shown Karga to my almost 2 year old son. He loved hitting space to make the character jump and always winked at him expecting him to wink back. It would be really cool, if the gestures were mapped on some keys so that he can trigger them himself...