Box2D Forums

It is currently Fri May 24, 2013 9:54 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Jul 05, 2011 7:27 pm 
Offline

Joined: Mon Jun 08, 2009 12:21 pm
Posts: 353
Hey guys!

So I had some extra time recently and decided to clean up and finally release the official 2.1.2 jbox2d version. Some notes:

    * LiquidTest doesn't work as well because of 2.1.2's tree broadphase
    * If you want to experiment with your own pooling, feel free to implement IWorldPool and do your worst
    * testbed performance isn't as good as previous release, as I'm using java2d instead of processing for compatibility reasons
    * The engine seems to be deterministic now, short of using [strictfp] everywhere (which should make it completely deterministic?)
    * Should be releasing on maven soon!

I did a decent job of testing this, so hopefully there are no problems, but definitely throw an issue on the issue tracker or shoot me a message if you come across anything. Thanks for all your support!


Top
 Profile  
 
PostPosted: Sat Jul 09, 2011 6:47 am 
Offline

Joined: Tue Jun 28, 2011 6:56 am
Posts: 20
Quote:
* The engine seems to be deterministic now, short of using [strictfp] everywhere (which should make it completely deterministic?)


yee!! yes, it should do the trick!

so now jBOX2D has the same version/capability of the C counterpart?


Top
 Profile  
 
PostPosted: Sun Jul 10, 2011 3:01 pm 
Offline

Joined: Tue Jun 28, 2011 6:56 am
Posts: 20
sorry, but i've downloaded the google's svn (trunk folder) and the code doesn't have "strictfp" anywhere!

And you also should initialize all random() to a number, like random(6).


Top
 Profile  
 
PostPosted: Fri Jul 29, 2011 4:42 pm 
Offline

Joined: Thu Jul 28, 2011 5:22 pm
Posts: 8
I'm on the official JBox2d Repository on Google Code and I can't seem to find version 2.1 anywhere!


Top
 Profile  
 
PostPosted: Fri Jul 29, 2011 5:09 pm 
Offline

Joined: Mon Jun 08, 2009 12:21 pm
Posts: 353
lesto wrote:
sorry, but i've downloaded the google's svn (trunk folder) and the code doesn't have "strictfp" anywhere!

And you also should initialize all random() to a number, like random(6).


As I said, we don't put [strictfp] everywhere. That would degrade performance for everyone. If you absolutely need a deterministic engine, you can put [strictfp] in there yourself.

The only 'Random' in there is only used for testing, and does not need to be deterministic, thus it should be fine.

liamzebedee wrote:
I'm on the official JBox2d Repository on Google Code and I can't seem to find version 2.1 anywhere!


http://code.google.com/p/jbox2d/downloads/list
http://code.google.com/p/jbox2d/downloa ... -2.1.2.jar
http://code.google.com/p/jbox2d/downloa ... -2.1.2.jar

or you can even grab the tag at
http://code.google.com/p/jbox2d/source/ ... 2d-2.1.2.0


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: psbot [Picsearch] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group