wfowler1 / jbn-bsp-lump-tools

Just a goofy tool for messing with Nightfire BSPs. For all intents and purposes this is a dead project preserved here after Google Code shut down. The origins of the BSP decompiler project and LibBSP can be traced back here.
5 stars 2 forks source link

LOD terrain breaks #11

Closed GoogleCodeExporter closed 2 years ago

GoogleCodeExporter commented 9 years ago
Any brush which uses LOD terrain (a feature of the FAKK/Übertools branches of 
the Q3 engine, also known apparently as "triangle soups") currently breaks. The 
map can be loaded but these brushes disappear completely in all editors. The 
idea is similar to displacements in the Source engine (creating a complex 
surface without a ridiculous amount of brushes), with a few key differences:
1. Source displacements use vector fields to define surfaces, whereas I believe 
triangle soups specifically define each triangle vertex-by-vertex. As a plus, 
this might be easier to convert to simple brushes for editors that do not 
support it.
2. Since triangles are defined explicitly, there is more flexibility with the 
shapes that can be created. Displacement surfaces must be 4-sided with a 
specific tessellation across the surface, but triangle soups can be any shape 
with each triangle using a specific texture.
3. Given these differences in the systems, their storage in maps (both compiled 
and uncompiled) is very different. Unfortunately, the triangle soup format is 
quite badly documented.

I'll have to do some reverse engineering and other research, and if I'm lucky I 
can figure this out. This might fix the broken terrain in CoD, MoHAA, etc.

Original issue reported on code.google.com by MofoMan2...@gmail.com on 16 Apr 2013 at 7:25

GoogleCodeExporter commented 9 years ago
I might have to push this one back. There's zero documentation of this 
anywhere, and I'm not reverse engineering it right now.

Original comment by MofoMan2...@gmail.com on 30 May 2013 at 6:44

wfowler1 commented 2 years ago

Closed by https://github.com/wfowler1/bsp-decompiler/commit/a667dad0df02c41c9a5a1367601823680226d899 in the Decompiler project