Open recore67 opened 2 weeks ago
Quake 1 uses edges instead. The Face struct has a FirstEdgeIndexIndex
and NumEdgeIndices
. These give a list of ints from lump 13, and those ints reference the edges in lump 12. A negative index means the two vertices are used in reverse.
This is more of a personal issue rather than a bug, I'm working on a quake1 map renderer with my bsp file map setup and i've been able to create a mesh from the vertices collected in
BSP.Vertices
but as i want to collect the Indices fromBSP.Indices
I get an error saying the collection isnull
andBSP.IndicesLoaded
returns false. Am i doing something wrong? is there like a switch or something to load Indices??what's even weirder is think
Faces
aren't even loaded aswell, i'm not able to retrieve any vertex fromFace[0].Vertices
orFace[0].Indices