i've started learning the basics of d3d but i cant find any good lesson for delphi everything is c or vc
please if someone knows good lessons for d3d in delphi post a message
i've started learning the basics of d3d but i cant find any good lesson for delphi everything is c or vc
please if someone knows good lessons for d3d in delphi post a message
Most of the DirectX code is identically in C++ and in Delphi, however some things can be rather a pain to convert!
Clooties page has a few examples that might help you:
http://clootie.narod.ru/delphi/download_dx90.html
http://clootie.narod.ru/delphi/download_custom.html
Do it by the book, but be the author!
<br />
<br />Visit the Lion Productions website at:
<br />http://lionprod.f2o.org
i know about clootie, i've downloaded the converted dx headers, but i am looking for some lessons with explanation how and why its done this way
Well if you combine the Direct3D code from Clooties tutorials with the C++ tutorials that are spread all over the web you should be able to figure it out I guess, that's about how I learned Direct3D!
I learned most from this tutorial, however it uses C++ sample code:
http://www.riaz.de/tutorials/d3d.html
However Delphi and C++ are not THAT different when it comes to DirectX/3D, the calls itselfs are almost identically, only differences are some type naming, for example something like:
LPDIRECT3D9 is called something like IDirect3D9 in Clooties headers, which most of the time is the biggest difference. And sometimes certain functions take a pointer in C++ where you can now simply sent a variable to. If you want to use Delphi for game development you'll have to jump back to reading C++ code quite a lot unfortunately, not many tutorials are out there... :-/
If you speak/read German then I can find you a few great Direct3D tutorials, since googling on Direct3D and Delphi came up with a lot of german website hits!
P.S. The DirectX SDK is also a great help sometimes to explain what certain functions do!
Do it by the book, but be the author!
<br />
<br />Visit the Lion Productions website at:
<br />http://lionprod.f2o.org
unfortunately i dont read/speak germa
yes i've found myself a lot of c++ d3d tutorials but i dont quite get the c++ syntax
but if there are no other alternatives i guess i have no other chance
anyway thanks for the help
the site is english
Ask me about the xcess game development kit
hehe, yeah he responded to my line where I told him that googling for Direct3D and Delphi would turn up a lot of hits, but almost exclusively in the German language!Originally Posted by Harry Hunt
Do it by the book, but be the author!
<br />
<br />Visit the Lion Productions website at:
<br />http://lionprod.f2o.org
Oops, my bad
Ask me about the xcess game development kit
Try babelfish on Altavista.com. You can translate URLs with it. It'll be a little broken, but I'm sure some of it wil make some kind of sense.Originally Posted by TheLion
Bookmarks