Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

SirKnight

Loading maps

This topic is 6515 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!