Tile Engine in Direct3D

This is a discussion on Tile Engine in Direct3D within the Game Programming forums, part of the General Programming Boards category; I'm starting a tile engine and I got stuck at this point. How do I store the vertices for the ...

  1. #1
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552

    Tile Engine in Direct3D

    I'm starting a tile engine and I got stuck at this point. How do I store the vertices for the tiles? Can I throw them all into a big vertex buffer or something?

    I'm using DirectX 9.

  2. #2
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    I figured it out. I just throw all the vertices into my vertex buffer and use an index buffer and DrawIndexedPrimitive() to draw the tiles.

  3. #3
    The Pantless Man CheesyMoo's Avatar
    Join Date
    Jan 2003
    Posts
    262
    You forgot to trancend the tri-dionamic recall. Check for manifested memory transfers.
    If you ever need a hug, just ask.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need testers for editor
    By VirtualAce in forum Game Programming
    Replies: 43
    Last Post: 07-10-2006, 09:00 AM
  2. tile engine view area
    By Punksocko in forum Game Programming
    Replies: 15
    Last Post: 10-26-2005, 11:53 PM
  3. DirectX engine nearing completion
    By VirtualAce in forum Game Programming
    Replies: 2
    Last Post: 01-12-2004, 05:07 PM
  4. Tile Engine Scripting Idea. Suggestions?
    By napkin111 in forum Game Programming
    Replies: 8
    Last Post: 07-28-2003, 03:01 PM
  5. Need lots of help with tile engine
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 06-12-2002, 02:54 AM

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