Open snake-biscuits opened 11 months ago
Checking Team Fortress 2 for PRIMITIVE_VERTICES
:
>>> import bsp_tool, os, fnmatch
>>> md = "D:/SteamLibrary/steamapps/common/Team Fortress 2/tf/maps"
>>> for m in fnmatch.filter(os.listdir(md), "*.bsp")
... bsp = bsp_tool.load_bsp(os.path.join(md, m))
... if bsp.headers["PRIMITIVE_VERTICES"].length > 0:
... print(m[:-4])
Doesn't seem like any maps use the lump
Can port code from bsp_tool
Recently visualised t-junctions & now understand how they re-order triangles
For
cp_coldfront
all t-junction faces just re-order the originalwinding_t
But presumably some maps usePRIMITIVE_VERTICES