Comments (4)
If a leaf has the solid
content bit set, we intentionally clear all other content bits in the leaf (but preserve them in the brush).
So e.g. if the map file contains ladder | solid
, we'll write the bsp leaf as solid
and the bsp brush as ladder | solid
.
I'm guessing this is what you're seeing?
As for why this is done, we were copying the original Q2 tools; this is the specific place this happens in qbsp3:
https://github.com/id-Software/Quake-2-Tools/blob/master/bsp/qbsp3/brushbsp.c#L695
and also here, two neighbouring leafs that both have solid in them get turned into pure solid:
https://github.com/id-Software/Quake-2-Tools/blob/master/bsp/qbsp3/tree.c#L180
I don't remember if we ever really figured out a good explanation for why the original did it that way (it might have been just so more solid stuff can get merged into single larger leafs?).
from ericw-tools.
Related Issues (20)
- Embree 4.3, problem building on Mac OS Sonoma (14.1.1) M2 HOT 3
- [FEATURE] Hexen 2 to Quake 1 .bsp conversion ? HOT 5
- [Feature] Checkbox for disabling light in lightpreview
- [bug] `viewpos` - `setpos` inconsistency HOT 1
- 31 character texture name length limitation relative to basedir, anything beyond that is silently discarded HOT 6
- q1: Too much light with multi-light-bounce and splitturb (2.0.0alpha4)
- The LMSHIFT lump is not generated in 2.0.0-alpha4 HOT 1
- -bouncedebug doesn't work. Result all black
- -tex_saturation_boost changes texture overall brightness.
- Textures issues with the new compiler HOT 11
- Phong does not seem to be working right. HOT 4
- _surface_radiosity missing from docs
- relative lip requirements HOT 2
- Special texture for decompiled output? HOT 3
- Translucency support HOT 2
- Describe light-specific BSPX lumps in docs
- -bouncedebug broken
- Origin brush into a func_door_rotating cause a leak when using region+ on a map HOT 2
- [Feature] _illusionary on any entity to disable collision (like ZHLT's zhlt_noclip) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ericw-tools.