md2 models and directx

This is a discussion on md2 models and directx within the Game Programming forums, part of the General Programming Boards category; Does anyone know of anywhere with a good tutorial for loading md2 models? There are a lot of tutorials for ...

  1. #1
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916

    md2 models and directx

    Does anyone know of anywhere with a good tutorial for loading md2 models? There are a lot of tutorials for OpenGL, but I'm using DirectX 9. I typed out several pages worth of code from one tutorial, to find that it doesn't work. Arg. I don't even care if the tutorial doesn't have much code, if it explains the file format well enough.
    Away.

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Check over there at www.gametutorials.com

    I think it has file formats for MD2 and MD3

    EDIT:

    It's under Tutorials->OpenGL->Page 4

  3. #3
    Registered User Coder's Avatar
    Join Date
    Aug 2001
    Location
    Cairo, Egypt
    Posts
    128
    For a start, you can copy all the code of a GL tutorial, and use DrawPrimitiveUP for rendering.
    It's easy to do that.

    If you still can't do it, I can send you my old md2 loading and rendering code

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using 3dsmax models with directx.
    By Overlord in forum Game Programming
    Replies: 4
    Last Post: 09-17-2006, 09:48 AM
  2. new book about game programming using DirectX
    By Carlos in forum Game Programming
    Replies: 0
    Last Post: 09-20-2005, 09:30 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21