The obj_within_block check using Setup.SortingSphere.Radius rejects far too many spawns. Sorting spheres for trees are 5-10m, creating a wide exclusion zone around every landblock edge. WorldBuilder produces correct scenery with just bounds+road+building+slope checks and no bounding sphere check. Revert to match WorldBuilder's approach. The single extra tree near the road at vtx=(4,8) in 0xA9B1 remains as a known minor discrepancy from retail — root cause TBD. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| DerethDateTime.cs | ||
| LandblockLoader.cs | ||
| LoadedLandblock.cs | ||
| MeshRef.cs | ||
| PaletteOverride.cs | ||
| SceneryGenerator.cs | ||
| SkyDescLoader.cs | ||
| SkyState.cs | ||
| WeatherState.cs | ||
| WorldEntity.cs | ||
| WorldView.cs | ||