Repository navigation
en large scenes lod hlod
中文 | English | Docs | Repository
LOD represents the same mesh at different detail levels; HLOD represents a group of objects with a proxy. Both trade detail for cost, differing in granularity.
Static mesh LODs are built during import and the runtime only selects a level:
| Stage | Work |
|---|---|
| Import | Generate per-level mesh data according to import settings and pack artifacts |
| Runtime | Select a level from view distance and screen size |
Key import fields:
| Field | Default | Notes |
|---|---|---|
lodGroup |
None |
LOD group preset |
minLOD |
0 |
Lowest level allowed |
autoComputeLODScreenSize |
true |
Whether to derive per-level screen size thresholds |
sourceModels |
One per LOD | Source kind, screen size, and mesh data per level |
Source kind distinguishes Imported, Authored, and Generated. When levels come from a simplification flow, the triangle percentage and pixel error come from the LOD group preset.
LOD group presets unify switching thresholds across meshes: every mesh in the group switches at the same distance, so neighboring objects do not pop at inconsistent rates.
HLOD replaces a group of objects with a proxy at distance. Implementation requirements:
- Decisions stay view local and never write shared state.
- HLOD children selected in the editor must remain inspectable; being proxied must not remove them from manipulation.
- Transparent, order-dependent, skinned, and animated children do not participate in suppression until explicit proxy compatibility exists.
Those two rules define the usable range: static opaque subsets can enter early; the rest needs additional compatibility work.
The visibility pipeline narrows the candidate set first, and LOD/HLOD then decides which representation each candidate uses. The order cannot be inverted: doing LOD before culling spends work on objects that end up invisible.
HLOD proxies and lower-level meshes are separate artifacts that participate in residency accounting and budgets. Confirm the budget model covers proxy meshes before introducing HLOD into a scene, otherwise distant views introduce a new load spike. See Residency and Budgets.
- LOD selection matches across serial, parallel, and full-scan modes
- No level thrashing while the camera moves quickly
- HLOD suppression never hides children the editor needs to manipulate
- Proxied objects are counted at the lower level in the residency system
- Residency and Budgets keeps streaming from introducing spikes.
- Models, Meshes, and Textures covers the import-side LOD settings.
Nullus Engine
中文
- 认识 Nullus
- 安装与快速入门
- 使用编辑器
- 场景与对象
- Prefab 工作流
- 资产与内容管线
- 渲染、材质与光照
- 大场景与资源管理
- 游戏逻辑与脚本
- 用户界面
- 动画与角色
- 物理与交互
- 音频、特效与媒体
- AI 与联网
- 平台、构建与发布
- 扩展与引擎架构
- 调试、性能与质量
- 参考手册
- 示例与发展路线
English
- Getting to Know Nullus
- Install and Quick Start
- Using the Editor
- Scenes and Objects
- Prefab Workflow
- Assets and Content Pipeline
- Rendering, Materials, and Lighting
- Large Scenes and Resource Management
- Gameplay and Scripting
- User Interface
- Animation and Characters
- Physics and Interaction
- Audio, Visual Effects, and Media
- AI and Networking
- Platforms, Builds, and Releases
- Extending the Engine
- Debugging, Performance, and Quality
- Reference
- Examples and Roadmap