where's the demo? I tried the see it in action link ( http://simpull2core.sourceforge.net/) and it shows some code
On Tue, Mar 31, 2009 at 2:19 AM, Anton <[email protected]> wrote: > > That's what I did. :) Firefox 3.0.8. I just tried it again and > had the same thing happen. I'll give it another go when I get home > and have my development machine at my disposal. > > By the way, nice name. :) Always good to meet a fellow Anton. > > -Anton > > On Mar 30, 4:01 pm, Streets Of Boston <[email protected]> wrote: > > Try the demo on firefox. It works really well. > > > > On Mar 30, 5:59 pm, Anton <[email protected]> wrote: > > > > > Could be good. I tried to check out the demo but it crashed my > > > browser. :) I'm sure that's not really indicative of the engine, and > > > more of my browser's stability. I did look through the code and found > > > that it does a lot of memory allocation in it's inner loops (Verlet > > > update step in particular), and that it uses floating point math, > > > though it looks like there is a branch that uses fixed point that > > > might be worth trying out. > > > > > -Anton > > > > > On Mar 30, 2:41 pm, Streets Of Boston <[email protected]> wrote: > > > > > > I wonder how well this one works on Android: > > > > > > http://code.google.com/p/simpull/ > > > > > > -- Anton Spaans > > > > > > On Mar 30, 4:58 pm, Anton <[email protected]> wrote: > > > > > > > I have a simple 2D physics engine written and running. It uses > > > > > the now famous Jacobson physics tricks (Verlet integration and hard > > > > > constraints). I can manage 40 balls on the screen, with fill n^2 > > > > > interaction between balls. I am working on spatial data structure > > > > > optimizations now to improve the computational complexity of the > > > > > collision detection code. I run the constraint update loop five > times > > > > > per frame and get 30 frames per second. Once the engine is up and > > > > > running there are no memory allocations done in my program. And > once > > > > > the system settles down from the app launch there are very few GC > > > > > events from other programs. Though they do still happen. Viewing > > > > > LogCat I see a GC every 10 or 20 seconds because of some background > > > > > application. But between those events I get a consistent frame > rate. > > > > > I am using OpenGL for my rendering. > > > > > > > -Anton > > > > > > > On Mar 30, 1:14 pm, mscwd01 <[email protected]> wrote: > > > > > > > > Does anyone know of, or have implemented, a physics engine which > runs > > > > > > smoothly in Android? > > > > > > > > I have spent the last couple of days trying Phys2D and JBox2D, > however > > > > > > both perform very poorly - I am struggling to get even a few > objects > > > > > > to simulate smoothly as frequent garbage collection spoils it. > > > > > > > > One question I do have is will these run smoother on an actual G1 > > > > > > device or is the performance of the emulator accurate? > > > > > > > > Thanks- Hide quoted text - > > > > > > > - Show quoted text -- Hide quoted text - > > > > > - Show quoted text - > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

