.map format
by abc · in General Discussion · 05/05/2003 (5:07 am) · 6 replies
Hi
I'm wondering if anyone knows where I can find description about that format.
It would be very nice, because then would ac3d have a plugin for exporting that format too :)
I mean the .map format that for example World Craft and Quark among others can export /save to.
I'm wondering if anyone knows where I can find description about that format.
It would be very nice, because then would ac3d have a plugin for exporting that format too :)
I mean the .map format that for example World Craft and Quark among others can export /save to.
About the author
#2
( -576 -384 512 ) ( -576 448 512 ) ( 640 448 512 ) BRT [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
is a mathematical plane together with some texture information
i don't know which is which anymore, but BRT is the texture
the first 3 pairs of vectors:
( -576 -384 512 ) ( -576 448 512 ) ( 640 448 512 )
are 3d points in 3d space which you can use to generate a plane with (by calculating the normal of the vectors between the points, and calculating the distance from one point to (0,0,0))
[ 1 0 0 0 ] [ 0 -1 0 0 ] is a 2x4 or 4x2 texture matrix if i remember correctly..
there are tons of places on the internet where the format is described..
just look for it in google in combination with, for example, the keyword 'quake'
05/05/2003 (6:27 am)
each line there, like for example:( -576 -384 512 ) ( -576 448 512 ) ( 640 448 512 ) BRT [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
is a mathematical plane together with some texture information
i don't know which is which anymore, but BRT is the texture
the first 3 pairs of vectors:
( -576 -384 512 ) ( -576 448 512 ) ( 640 448 512 )
are 3d points in 3d space which you can use to generate a plane with (by calculating the normal of the vectors between the points, and calculating the distance from one point to (0,0,0))
[ 1 0 0 0 ] [ 0 -1 0 0 ] is a 2x4 or 4x2 texture matrix if i remember correctly..
there are tons of places on the internet where the format is described..
just look for it in google in combination with, for example, the keyword 'quake'
#3
05/05/2003 (7:36 am)
thanks alot, I will message Andy (developer of ac3d, http://www.ac3d.org) and tell him about it.
#4
05/05/2003 (8:51 am)
there is a detailed description of the format on an official Valve development web site, use google you can find it.
#6
05/05/2003 (9:09 am)
whoa! that was a good link thanks Matthew!
Associate Matt Fairfax
PopCap
{
"classname" "worldspawn"
"classname" "worldspawn"
"min_pixels" "250"
"geometry_scale" "32.0"
"light_geometry_scale" "32.0"
"ambient_color" "0 0 0"
"emergency_ambient_color" "0 0 0"
"mapversion" "220"
"mapversion" "220"
"wad" "\home\projects\v12\example\data\interiors\evil1\textures.wad;\home\projects\v12\example\data\interiors\test\textures.wad"
{
( -576 -384 512 ) ( -576 448 512 ) ( 640 448 512 ) BRT [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( -576 448 -448 ) ( -576 -384 -448 ) ( 640 -384 -448 ) BRT [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( -576 -384 -448 ) ( -576 448 -448 ) ( -576 448 512 ) BRT [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 640 448 -448 ) ( 640 -384 -448 ) ( 640 -384 512 ) BRT [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -576 448 -448 ) ( 640 448 -448 ) ( 640 448 512 ) BRT [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 640 -384 -448 ) ( -576 -384 -448 ) ( -576 -384 512 ) BRT [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
}
}