Jump to content

Newton vs Bullet demo


Canardia
 Share

Recommended Posts

Actually Bullet is much faster, I just noticed a huge inefficiency in my Bullet class :D

Now it positions and rotates all cubes in each frame, but it only needs to do that when the physics body has moved.

I tried to get Bullet deterministic by removing all srand() functions and making all rand() calls to return 0 always, but it didn't work (it acts just like before, works fine, but is not deterministic), so that's something where Newton still wins.

 

The Bullet lead developer, Erwin Coumans, lives also in California, just around the corner where Josh lives, so maybe he should have a visit some day :)

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Actually Bullet is much faster, I just noticed a huge inefficiency in my Bullet class ;)

Now it positions and rotates all cubes in each frame, but it only needs to do that when the physics body has moved.

I tried to get Bullet deterministic by removing all srand() functions and making all rand() calls to return 0 always, but it didn't work (it acts just like before, works fine, but is not deterministic), so that's something where Newton still wins.

 

The Bullet lead developer, Erwin Coumans, lives also in California, just around the corner where Josh lives, so maybe he should have a visit some day :)

 

 

Ooh. I done a quick test, and with 500 newton boxes, I get 4fps. To get 4fps with bullet I can have 5000 boxes. I think the speed gain and the amount of objects you can have at the same time wins over the deterministic issue. But I cant see myself making online game xD. It would be great if there could be an option within the editor to change which physics engine is used.

Intel core 2 quad 6600 | Nvidia Geforce GTX460 1GB | 2GB DDR2 Ram | Windows 7.

 

Google Sketchup | Photoshop | Blender | UU3D | Leadwerks Engine 2.4

Link to comment
Share on other sites

By the time LE3 comes out, I think Bullet will be quite a close match to Newton in accuracy. It already wins in many other features, but I want to see that it wins in all features before I can clearly say that Bullet is better than Newton. It would be kinda silly to have 2 physics engines in LE3, especially when you have the full source code of the physics engine, so it's your own fault if you can't unify them.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

  • 6 years later...
On 11/9/2010 at 1:39 PM, Canardian said:

By the time LE3 comes out, I think Bullet will be quite a close match to Newton in accuracy. It already wins in many other features, but I want to see that it wins in all features before I can clearly say that Bullet is better than Newton. It would be kinda silly to have 2 physics engines in LE3, especially when you have the full source code of the physics engine, so it's your own fault if you can't unify them.

How many games has you already released doing 5000 rigid bodies? 

Plus what you are saying there is simple not true. There are tools that compare Newton, Physx and Bullet side by side doing the same task, you know. 

when you do that kind of physic that  bullet does yes you can move tousands of objects, but physics is a lot more that that.

At some point you want your physic simulation to do more that just boxes colliding and repealing each other like they are pile of goo without consistency.  You would probably want to control your object over a large range of parameters and that's something that neither Bullet, Havok or Physx can do. 

You need a commercial quality simulator like vortex to get the quality that newton provide at real time. 

 

Link to comment
Share on other sites

Canardian/megatron/mika/cant-remember-previous-name was well known for making "strong statements" about everything that typically resembled what people nowadays call "alternative facts". So don't take anything posted by him to heart.

  • Upvote 1

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...