Files

30 lines
2.6 KiB
Markdown

# Pressure Chamber venue (imported from Blender)
Source: `~/Desktop/Pressure Chamber Blender Files/Pressure_Chamber_v1.1.blend`, a byte-identical copy of the Downloads original. The source file is never written to.
Exporter: `~/Desktop/Pressure Chamber Blender Files/Unity export/export_unity.py`. Re-run it on a scratch copy to refresh the FBX files and manifest.
| Path | Contents |
|---|---|
| `Models/PressureChamber_Venue.fbx` | 701 venue meshes (about 238k triangles), grouped by Blender collection. Includes `_UnityAxisReference` empties (inactive in the scene) |
| `Models/PressureChamber_Collision.fbx` | 2 collision proxy meshes, used as MeshColliders only |
| `Data/PressureChamber_venue_manifest.json` | Material approximations, 193 lights, 8 cameras and placement checks |
| `Editor/PressureChamberVenueBuilder.cs` | Import settings, URP materials, scene builder, report |
| `Materials/`, `Settings/`, `Scenes/PressureChamber_Venue.unity` | Generated by the builder (Tools > Pressure Chamber > Rebuild Venue Scene) |
## Axes
Blender is +Z up, with +Y running from the stage to the rear mezzanine. The FBX is written in Blender's frame (Z up, no axis conversion, no Apply Transform), and Unity bakes the Z-up to Y-up conversion on import (`bakeAxisConversion`), so the venue root has no rotation and Unity +Y is up.
The builder does not assume the axis mapping. It measures it from the reference empties, fails the up-axis check if Blender +Z is not Unity +Y, and writes the result to `Logs/PressureChamberImport/import_report.json`.
## Rebuilding
Re-run the exporter, copy the two FBX files and the manifest over the old ones, and the scene rebuilds automatically on the next refresh. This only happens if the generated scene is unmodified since the last build and no open scene has unsaved changes. Otherwise the builder logs a warning; use Tools > Pressure Chamber > Rebuild Venue Scene instead.
## Approximations
- **Materials:** the Blender materials are procedural (world-space noise, bump, brick and wave patterns). In Unity they are flat URP Lit colours, roughness and metallic values. No textures were baked.
- **Lights:** the Blender preview and readability lights are rebuilt as URP realtime lights.
- Point and spot lights use I = W / (4 pi^2).
- Area lights become 150 degree spots with I = W / pi^2.
- The sun uses strength / pi.
- Shadows are on for the directional light and the 39 architectural spots only.
- These are visual equivalents, not photometric ones.
- **Not included:** show fixtures (the show rig lives in the separate show .blend), and Blender haze and volumetrics.