Author Topic: Does jni make sense?  (Read 1096 times)

Offline kiffa

  • long
  • ***
  • Posts: 199
    • View Profile
Does jni make sense?
« on: July 31, 2013, 04:41:44 am »
For jPCT-AE, does jni make sense?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12011
    • View Profile
    • http://www.jpct.net
Re: Does jni make sense?
« Reply #1 on: July 31, 2013, 07:18:27 am »
That's a very general question. What exactly do you mean? Sense in which way, related to which components?

Offline kiffa

  • long
  • ***
  • Posts: 199
    • View Profile
Re: Does jni make sense?
« Reply #2 on: July 31, 2013, 07:37:34 am »
For performance, I want to know how many benefits could be from jni.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12011
    • View Profile
    • http://www.jpct.net
Re: Does jni make sense?
« Reply #3 on: July 31, 2013, 07:57:01 am »
I wouldn't expect too much. Most of the time is spend in draw calls and the actual rendering as well as in the game's code for anything none-trivial.

Offline Thomas.

  • double
  • *****
  • Posts: 833
    • View Profile
Re: Does jni make sense?
« Reply #4 on: July 31, 2013, 05:44:34 pm »
But for physic calculation it does very big difference.