Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
May 08, 2013 Physics libraries in D | ||||
---|---|---|---|---|
| ||||
Hi all, I've been searching around for physics libraries to use in a real-time 3D application (a game, to be more precise). I know that Bullet and ODE are the big open source ones for C/C++, and I get the general impression that Bullet is currently taking the lead in terms of performance, precision, maintenance and community adaptation. However, I have only been able to find ODE bindings for D (in Derelict), and what seems to be an abandoned effort to port Bullet to D. Are there no working bindings for Bullet in D? |
May 08, 2013 Re: Physics libraries in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to KillerSponge | On Wednesday, 8 May 2013 at 09:37:51 UTC, KillerSponge wrote:
> Hi all,
>
> I've been searching around for physics libraries to use in a real-time 3D application (a game, to be more precise). I know that Bullet and ODE are the big open source ones for C/C++, and I get the general impression that Bullet is currently taking the lead in terms of performance, precision, maintenance and community adaptation.
>
> However, I have only been able to find ODE bindings for D (in Derelict), and what seems to be an abandoned effort to port Bullet to D. Are there no working bindings for Bullet in D?
Last I checked, Bullet doesn't have a C interface. That means it's unlikely you'll find a D binding. And I haven't heard of any.
|
May 08, 2013 Re: Physics libraries in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | On Wednesday, 8 May 2013 at 09:43:43 UTC, Mike Parker wrote:
> On Wednesday, 8 May 2013 at 09:37:51 UTC, KillerSponge wrote:
>> Hi all,
>>
>> I've been searching around for physics libraries to use in a real-time 3D application (a game, to be more precise). I know that Bullet and ODE are the big open source ones for C/C++, and I get the general impression that Bullet is currently taking the lead in terms of performance, precision, maintenance and community adaptation.
>>
>> However, I have only been able to find ODE bindings for D (in Derelict), and what seems to be an abandoned effort to port Bullet to D. Are there no working bindings for Bullet in D?
>
> Last I checked, Bullet doesn't have a C interface. That means it's unlikely you'll find a D binding. And I haven't heard of any.
currently Bullet has *very* limited C API. for simple cases it may be enough, but for a game...
|
May 09, 2013 Re: Physics libraries in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to evilrat | On Wednesday, 8 May 2013 at 13:01:52 UTC, evilrat wrote:
> On Wednesday, 8 May 2013 at 09:43:43 UTC, Mike Parker wrote:
>> On Wednesday, 8 May 2013 at 09:37:51 UTC, KillerSponge wrote:
>>> Hi all,
>>>
>>> I've been searching around for physics libraries to use in a real-time 3D application (a game, to be more precise). I know that Bullet and ODE are the big open source ones for C/C++, and I get the general impression that Bullet is currently taking the lead in terms of performance, precision, maintenance and community adaptation.
>>>
>>> However, I have only been able to find ODE bindings for D (in Derelict), and what seems to be an abandoned effort to port Bullet to D. Are there no working bindings for Bullet in D?
>>
>> Last I checked, Bullet doesn't have a C interface. That means it's unlikely you'll find a D binding. And I haven't heard of any.
>
> currently Bullet has *very* limited C API. for simple cases it may be enough, but for a game...
You could do something kind of like what SFML did for its CSFML version to make a C version of the API, but that would probably take a while.
|
May 09, 2013 Re: Physics libraries in D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | On Wednesday, 8 May 2013 at 09:43:43 UTC, Mike Parker wrote:
> Last I checked, Bullet doesn't have a C interface. That means it's unlikely you'll find a D binding. And I haven't heard of any.
If it has a c++ interface probably you can bind it using swig.
|
Copyright © 1999-2021 by the D Language Foundation