OpenMW, an open morrowind reimplementation

Extrawurst spam at extrawurst.org
Sat Jun 7 03:15:51 PDT 2008


Saaa schrieb:
>> For graphics I'm using Ogre, which is a complete 3d engine, while
>>     
> Where are those D bindings? :)
>   
Since Ogre is written in C++ and D1 can just use extern(c) methods there 
are no simple bindings to such an engine. as he exposed in his initial 
post you have to write a wrapper for such a thing so that you can expose 
these wrapper methods  to D via extern(C). i am not sure how this has 
changed with D2.
>> SDL is a low-level graphics library. You can compile Ogre to use SDL as
>> a backend, but by default it uses GLX on Linux and D3D on Windows,
>> so I stick with the default.
>>     
> You compare D3D with SDL, shouldn't that be DirectX with OpenGL+SDL.
>   
I guess he means Ogre uses Win32-api+D3D under windows where Win32-api 
is responsible for window creation and D3D for graphic rendering. under 
SDL+OGL, SDL is the part creating window and some other stuff aswell. 
DirectX alone cannot exist, since it cannot create windows and those 
necessary things.

> I'm also interested in using OpenAL
>   
You can take a look at the ArcLib Project for a start. It has a 
SoundSystem build around OpenAL. For 3DSound it is not much more of work.


More information about the Digitalmars-d-announce mailing list