Results 1 to 9 of 9

Thread: Direct3d lessons/tutorials

  1. #1

    Direct3d lessons/tutorials

    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

  2. #2

    Direct3d lessons/tutorials

    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

  3. #3

    Direct3d lessons/tutorials

    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

  4. #4

    Direct3d lessons/tutorials

    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

  5. #5

    Direct3d lessons/tutorials

    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

  6. #6

    Direct3d lessons/tutorials

    the site is english
    Ask me about the xcess game development kit

  7. #7

    Direct3d lessons/tutorials

    Quote Originally Posted by Harry Hunt
    the site is english
    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!
    Do it by the book, but be the author!
    <br />
    <br />Visit the Lion Productions website at:
    <br />http://lionprod.f2o.org

  8. #8

    Direct3d lessons/tutorials

    Oops, my bad
    Ask me about the xcess game development kit

  9. #9
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Direct3d lessons/tutorials

    Quote Originally Posted by TheLion
    googling for Direct3D and Delphi would turn up a lot of hits, but almost exclusively in the German language!
    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.
    Jason McMillen
    Pascal Game Development
    Co-Founder





Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •