PDA

View Full Version : Ageia physics for delphi



NecroDOME
21-09-2006, 04:39 PM
Ageia physics for delphi? Are there any headers/dll's?

Robert Kosek
21-09-2006, 05:15 PM
I believe they have an SDK for developers, but I think it's restricted to whom they allow. IE, big name companies.

savage
21-09-2006, 08:52 PM
I have the Ageia SDK somewhere on my HD. IIRC, the problem was that they are C++ dlls so someone would need to write/generate a flat C wrapper that can be compiled into a DLL.
Alternatively, apparently there is a trick that can get Delphi talking to C++ libraries, but I've never tried it.

technomage
21-09-2006, 10:08 PM
The trick is to write abstract classes to implement the C++ classes. Thats how I did it in the modplug sdk.

not sure how it would work with Ageia.

Peronally I would wait for someone to do OpenPL :wink:

NecroDOME
21-09-2006, 10:32 PM
OpenPL ( ODE ?)

Thanx... no ageia for my engine :P
Well, back to newton...

Clootie
24-09-2006, 10:42 PM
The trick is to write abstract classes to implement the C++ classes. Thats how I did it in the modplug sdk.
Well, this will work only if they are using some standatd call convention like: stdcall, cdecl, but not some __msfastcall one.

Btw, [rant: this is mine presonal opinion] why even bother? Ageia is rebranded NovodexX physics library, while it's good - it's closed source and comes with licence requiring you to support Ageia PysFX card (and in this case is free).