Currently there is only build files for Linux. @notlion is working
on OS X. If anyone wants to add build files for Windows, I'll be
thrilled to accept a PR! Otherwise, it will be added as time allows.
A list of files for the library can be found here:
The only sample in there right now is Testbed - the one that ships
with LiquidFun. This sample is still WIP. The original LiquidFun uses
GLUT and there's some inconsistencies in the mapping of functions
between it and Cinder. I've done my best to make things as
functional as possible for the time being, but there are still some
gaps. I'll update them as time allows.
If anyone wants to add more samples, it would be awesome!
1) I'm not sure if the LiquidFun guys made any modifications to
the underlying Box2D implementation or not. I also don't know
which version they based theirs from and which version the Box2D in
Cinder is from. It was a lot less work just to use what they had
because it's guaranteed to work.
Ah yeah, I noticed that LiquidFun is indeed "just" a modified
version of Box2D plus a few helper classes. Adding those to the Cinder
Box2D block would be confusing. Still, it's kind of a shame to have
multiple versions of Box2D in your blocks folder, but I guess that's
just the way it is.
Would certainly appreciate a cinderblock.xml at some point. But I
have compiled your code as per the docs and everything works fine.
It's pretty fast, too, especially if you set "Hertz" to
30 (by the way: that setting works in reverse... 60 Hz is slower than
30 Hz and that makes no sense).
Do you know if calculations are done on CPU or GPU? Do they use
multi-core or single-core?
To the best of my understanding it is not multi-threaded. From some very
quick searches and read, it appears to confirm that. I'm not
familiar with the architecture of Box2D, but I would venture to guess
that you could put it on its own thread. Anyone done this?
Haha - I'll have to check on those settings. During the
blockification of LiquidFun, I focused on getting it working inside of
Cinder. I haven't had the time since then to sanity check
everything. If you find anything odd while you're making your way
through it and have a fix. Please PR and I'll pull it ASAP.