help with BSP

Blitz3D Forums/Blitz3D Programming/help with BSP

Neochrome(Posted 2008) [#1]
im struggling with how i can get the Vertex coords from this line!

it should be a simple slanted box, BUT when i load it in using these as coords im getting the vertex all in the wrong place!

can anyone help me on this one?




"classname" "func_group"
// brush 0
{
( -128 -64 88 ) ( -128 -128 88 ) ( -64 -128 64 ) itank_floor/null_grid 0 0 0 0.500000 0.500000 0 0 0
( -128 -128 104 ) ( -128 -64 104 ) ( -64 -64 80 ) itank_floor/null_grid 0 0 0 0.500000 0.500000 0 0 0
( -128 -128 96 ) ( -128 -128 104 ) ( -64 -128 80 ) itank_floor/null_grid 0 0 0 0.500000 0.500000 0 0 0
( -64 -128 80 ) ( -64 -64 80 ) ( -64 -64 24 ) itank_floor/null_grid 0 0 0 0.500000 0.500000 0 0 0
( -128 -64 104 ) ( -128 -64 96 ) ( -64 -64 72 ) itank_floor/null_grid 0 0 0 0.500000 0.500000 0 0 0
( -128 -64 104 ) ( -128 -128 104 ) ( -128 -128 48 ) itank_floor/null_grid 0 0 0 0.500000 0.500000 0 0 0
}
}




jfk EO-11110(Posted 2008) [#2]
I have no idea. If the vertices are all in the wrong place then maybe the coords should be relative to some other coords, probably even to the prev. coords? It could be anything. Isn't there some kind of format description somewhere?


Dreamora(Posted 2008) [#3]
What are you exactly talking off ...
You don't place vertices into the map files, that are planes. The vertices are generated at the compile step by intersecting the planes so you will need to do that as well.


Neochrome(Posted 2008) [#4]
anyone know the code to make the intersecting points then??