Hello~ I am trying to learn about the map format in order to convert between other formats. I was hoping someone could help me figure out how planes are supposed to be defined to create valid shapes. I've read both the quake (.map), and the source (.vmf) documentation ( https://developer.valvesoftware.com/wiki/VMF_documentation#Solid), but I can't fully make sense of it.
I looked at the VMF for a minimal primitive in hammer (3 sided pyramid), and I thought the plane contents made sense: side1: "plane" "(64 -64 0) (0 64 0) (-64 -64 0)" side2: "plane" "(0 64 0) (64 -64 0) (0 0 128)" side3: "plane" "(64 -64 0) (-64 -64 0) (0 0 128)" side4: "plane" "(-64 -64 0) (0 64 0) (0 0 128)" Now I tried to emulate this with different numbers/shape, but it is apparently now an invalid object and I've no idea why: side1: "plane" "(-32 -32 0) (-32 32 0) (32 32 0)" side2: "plane" "(32 32 0) (-32 -32 0) (0 0 64)" side3: "plane" "(-32 -32 0) (-32 32 0) (0 0 64)" side4: "plane" "(-32 32 0) (32 32 0) (0 0 64)" Here's an image illustrating my confusion/efforts: http://i.imgur.com/jot8r.jpg I hope someone can help me figure out why this is an invalid object! My current understanding is somewhat like this: Imagining a house of cards (playing cards) where 3 cards are stacked to form a triangle; the points where the cards meet will be the vertices (of course there is a gap on either side at this point so this can't be a valid brush), so imagining 6 cards all stacked in parallel of their sides forming a cube'ish shape, all vertices can be accounted for, so it's valid.. and imagining the cards could pass through each other, vertices for non-parallel shapes such as pyrimids can be determined. Is my understanding correct (I hope I explained it well enough)? One other thing that confuses me is that there are only 3 points defined. So far in my understanding I assume that the fourth is automatically accounted for (I can't think how else it could work, besides all planes being triangle shaped, but I know that can't be the case). I hope someone has some advice that can help me figure this out! Also, some suggested reading might be nice to know, because the concept of a plane is new to me, and googling 3d planes gives me way too many damn aeroplane results lol! Thanks~ Bye~
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders