Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,119 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Open Library interface for physics libraries #305146
01/13/10 07:08
01/13/10 07:08
Joined: Feb 2007
Posts: 353
A
amy Offline OP
Senior Member
amy  Offline OP
Senior Member
A

Joined: Feb 2007
Posts: 353
Quote:
New Engine Features
An Open Library interface for network libraries. An Open Library interface for audio libraries. Client update ranges.


Why is there no plan for an Open Library interface for physics libraries? This would be very important since ODE is one of the biggest weaknesses of Gamestudio. PhysX won't be a solution either for everyone if you don't get the source code license and include it without the silly driver requirement.

How will this work in the future? Will the default Gamestudio networking/audio/physics features use this interface? Will they be included in separate DLLs which can simply be replaced? It would be awesome if the engine was modular like that.

Re: Open Library interface for physics libraries [Re: amy] #305152
01/13/10 08:18
01/13/10 08:18
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Wish already fulfilled. You can add any physics engine to the current version. There are already Newton and PhysX physics for Gamestudio. A lot of AAA games also use the PhysX driver without having any problem with that.

Re: Open Library interface for physics libraries [Re: jcl] #305158
01/13/10 09:29
01/13/10 09:29
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
but you can also add any audio library or networking library to the current version. laugh why a special interface for them and not for physics?

i also think that a fully modular engine would be nice. why carry ODE around if it isn't needed at all for my game? and couldn't such an interface also have advantages like better integration with stuff like the load/save game system, event system,...?

Re: Open Library interface for physics libraries [Re: ventilator] #305161
01/13/10 10:05
01/13/10 10:05
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
You can also add audio and networking without Open Library - but an Open Library interface makes a lot of sense here: it allows to replace one library by another without changing your application. F.i. when you replace DirectPlay by Enet, your online game will still work without modification.

But this is different for physics libraries. Physics engines use different equation systems and thus behave different. You can not just replace one physics library by another. Therefore no one needs an Open Library interface for physics engines. The current API is fully sufficient for implementing physics libraries, as you need to adapt your app to the used physics library anyway.

Re: Open Library interface for physics libraries [Re: jcl] #305163
01/13/10 10:35
01/13/10 10:35
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
hm... what is the advantage of replacing one library with another if you have exactly the same behavior and features afterward?



what is your plan regarding the ODE replacement in the future? i think collision detection also uses parts of ODE (OPCODE). will this be replaced too? will you use PhysX for collision detection then? it makes a lot of sense if physics and normal collision detection use the same collision detection system.

Re: Open Library interface for physics libraries [Re: ventilator] #305165
01/13/10 10:54
01/13/10 10:54
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Yes this is what I'm currently missing.
A way to hook collisions detected by the physics engine (in my case Newton) to the A7 collision system so that I can use all the event functionality as if it was native physics.

Re: Open Library interface for physics libraries [Re: FBL] #305169
01/13/10 11:29
01/13/10 11:29
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Yes, this makes sense. The replacing of ODE by PhysX won't affect the c_move or c_trace collision detection - but an alternative PhysX-based collision detection, or even a collision Open Library interface is certainly feasible.


Moderated by  aztec, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1