#### Archived

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

# Quake123 .bsp, what is a face ?...

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

## Recommended Posts

The question i would like answered is this. ive spent days finding out how to extract edges for the faces from a quake 2 .bsp file. Now the question is.. What are those faces supposed to represent? IE a triangle strip?, a triangle, a polygon or somthing else???!! plz help me!!! Also if its something else plz could u tell me how to contruct polys from the Something else, or point me to some web site that can thnx Zsnl, .. ~prevail by daring to fail~

##### Share on other sites
A Face is a Triangle... or any polygon that''s coplanar... Atleast that''s what I understand as a "Face"..

cya,
Phil

Visit Rarebyte!
and no!, there are NO kangaroos in Austria (I got this questions a few times over in the states

##### Share on other sites
I have never use bsp 2 but in quake 3, I think it''s fans.

I give some piece of code on how I make it, This is how i fill the index buffer. I have allready an vertex buffer that is fill with all the vertex in the bsp.

  // Loop for each face// dwi is the index is the location in the index buffer in wich we are writting the current indexfor( i=0; i < bsp.face_count ; i++){ // We generate (number of vertex -2) triangles for( int j=1; j < m_pBackObj->bsp.faces[i].vert_count -1; j++) { // Always taking the origin (we are making fan) pVertices[dwi] = m_pBackObj->bsp.faces[i].vert_start; dwi++; pVertices[dwi] = m_pBackObj->bsp.faces[i].vert_start + j; dwi++; pVertices[dwi] = m_pBackObj->bsp.faces[i].vert_start + j +1; dwi++; }}

In Q3 bsp there is some meshes too. They are composed of triangles.

Why English rules?? C pas très malin tout ça!

1. 1
2. 2
3. 3
Rutin
18
4. 4
JoeJ
13
5. 5

• 14
• 10
• 24
• 9
• 57
• ### Forum Statistics

• Total Topics
632639
• Total Posts
3007611
• ### Who's Online (See full list)

There are no registered users currently online

×