cross platform 3d physics engine for bmax?

BlitzMax Forums/BlitzMax Programming/cross platform 3d physics engine for bmax?

UNZ(Posted 2013) [#1]
Is there any cross platform 3d physics engine for bmax?

I know there are amazing 2d physics but what about 3d?
I was thinking about jv-ode but this seems to be win only.

What about bullet physics? newton? an ODE that is cross platform?
Is there any ready-to-use wrapper? Would it possible to write one by myself for example a bullet wrapper?

thx


matibee(Posted 2013) [#2]
Here's my bookmark to the latest Newton module, but I'm not sure if it's current and I've never got round to needing it (although I started using Newton in C/C++ probably 10 years ago now.) At least Newton is cross platform and open source these days so it should be a good basis to start from.

http://blitzbasic.com/Community/posts.php?topic=65656#733520

I have no knowledge of the other engines.


Hardcoal(Posted 2013) [#3]
whats wrong with Xors3D?


Brucey(Posted 2013) [#4]
whats wrong with Xors3D?
"I was thinking about jv-ode but this seems to be win only."



Xors3D appears to sell itself as Windows/iPhone. Of course, perhaps it does more than the front page suggests.


GaryV(Posted 2013) [#5]
Xors3D is a dead product and no longer supported.


Brucey(Posted 2013) [#6]
… and it may also be dead and no longer supported...


UNZ(Posted 2013) [#7]
ok, newton it is.
I tried the stuff from
http://blitzbasic.com/Community/posts.php?topic=65656#733520
with the stuff from
http://www.blitzbasic.com/Community/posts.php?topic=51229#571413
in a slightly more simplified version (only one image)

The program starts and newton is initialized but the image is not moving.
BUT in about 3 out of 100 starts it DID move (or I hallucinate) without changing the code in any way.

Conclusion: I don't get it.
Here is the code:



EDIT:
oh wait! I checked the newton api of the functions I use here and discovered some differences. Updated the mod and now it does move regularly. I will play a bit with newton the next days. It's kinda interesting :)


Hardcoal(Posted 2013) [#8]
im using xors3d and I hope even that its dead i can still use it as it is.


Kryzon(Posted 2013) [#9]
Hi. Klepto2 interfaced Newton with MiniB3D. The build of Newton he uses is for Win32 only, but it's a start.

Check this: http://code.google.com/p/minib3dextended/

You'll want to download the beta package as well; It's an earlier version of his wrapper that includes some more functionality (but it doesn't follow the cleaner "plugin-in" approach he used in his newest extention): http://www.mediafire.com/?z1guvz9rip956at


LT(Posted 2013) [#10]
I had to mess around with Klepto's wrapper a bit to get it working, but it does work pretty well once you get it going. It depends on what engine you're using, I suppose.

Whether or not YOU can write a Bullet wrapper is a question only you can answer, but it is certainly possible. I may try to tackle that some time down the road, but Newton will do, for now.


UNZ(Posted 2013) [#11]
Newton is really nice. But now I'm stuck at the same point as
http://www.blitzbasic.com/Community/posts.php?topic=76234
5 years ago.

EDIT:
Forget it. I will use the dll. Just got an idea...