Thread: Map Loading!

  1. #1
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Question Map Loading!

    I am finally getting the hang of loading maps from a file. In the file for part of the ceiling I have this(I am using the exact code from the NeHe level loading)

    -3.0 1.0 -3.0 0.0 6.0
    -3.0 1.0 3.0 0.0 0.0
    3.0 1.0 3.0 6.0 0.0

    -3.0 1.0 -3.0 0.0 6.0
    3.0 1.0 -3.0 6.0 6.0
    3.0 1.0 3.0 6.0 0.0


    This won't put the ceiling "up" it keeps it at the same level as the floor.
    Website(s): http://www16.brinkster.com/trifaze/

    E-mail: [email protected]

    ---------------------------------
    C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
    DirectX Version: 9.0b
    DX SDK: DirectX 8.1 SDK

  2. #2
    Ryce
    Guest
    hey cool im useing the same thing but found the triangle engine didnt work for me, im rebuilding it back up.(anywayz)

    for the second triangle make the y axis like 5 or something better then 1.0 that way its higher up in the air.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Cargo loading system
    By kyle rull in forum C Programming
    Replies: 1
    Last Post: 04-20-2009, 12:16 PM
  2. Polynomials and ADT's
    By Emeighty in forum C++ Programming
    Replies: 20
    Last Post: 08-19-2008, 08:32 AM
  3. Creating a map engine.
    By suzakugaiden in forum Game Programming
    Replies: 11
    Last Post: 06-21-2005, 05:06 AM
  4. Loading This Map Array
    By drdroid in forum C++ Programming
    Replies: 11
    Last Post: 06-24-2003, 06:24 PM
  5. loading map and rendering to the screen???
    By werdy666 in forum Game Programming
    Replies: 4
    Last Post: 10-26-2002, 03:09 AM