Advertisement

Loading maps

Started by January 14, 2001 06:00 PM
-1 comments, last by SirKnight 24 years ago
I have some questions about the .map file. I have read the .map file format specs but it still have questions. Lets use this brush as my example: { ( 128 0 0 ) ( 128 1 0 ) ( 128 0 1 ) GROUND1_6 0 0 0 1.0 1.0 ( 256 0 0 ) ( 256 0 1 ) ( 256 1 0 ) GROUND1_6 0 0 0 1.0 1.0 ( 0 128 0 ) ( 0 128 1 ) ( 1 128 0 ) GROUND1_6 0 0 0 1.0 1.0 ( 0 384 0 ) ( 1 384 0 ) ( 0 384 1 ) GROUND1_6 0 0 0 1.0 1.0 ( 0 0 64 ) ( 1 0 64 ) ( 0 1 64 ) GROUND1_6 0 0 0 1.0 1.0 ( 0 0 128 ) ( 0 1 128 ) ( 1 0 128 ) GROUND1_6 0 0 0 1.0 1.0 } Ok the first line: ( 128 0 0 ) ( 128 1 0 ) ( 128 0 1 ) GROUND1_6 0 0 0 1.0 1.0 defines a plane with 3 non-colinear points. And the same with each other line. And the crap following it i have no problems with. Now, What i want to know is, how do i take all of these points and generate polygons from them so i can pass the polys into my bsp compiler. BTW im following the mr-gamemaker bsp tutorial 2 for my bsp compiler/engine. And i want to use the .map file format instead of his format. Oh and one last thing, which coord sys does opengl use? The right handed or left handed. I know the x axis goes from left to right and the positive x is going to the right, the y axis is up and down with the +y going up and the z in an out while -z goes IN the screen. But i know know what coord sys this is called. I think its called the right-handed but i just want to make sure. -SirKnight

This topic is closed to new replies.

Advertisement