Map Loading! [Archive] - C Board

PDA

View Full Version : Map Loading!


SyntaxBubble
02-15-2002, 05:38 PM
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.

Ryce
02-19-2002, 07:57 PM
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.