Files
metaverseDubai/docs/LOD_GUIDELINES.md

207 lines
4.0 KiB
Markdown

# LOD Guidelines - Dubai Metaverse
## Overview
This document describes LOD (Level of Detail) creation and usage guidelines for the Dubai Metaverse project.
## LOD System
### Overview
LODs reduce polygon count and detail for distant objects, improving performance while maintaining visual quality.
### When to Use LODs
- **Non-Nanite Assets**: Assets not using Nanite
- **Performance**: When performance optimization is needed
- **Distance**: For assets visible at distance
### When Not to Use LODs
- **Nanite Assets**: Nanite handles LOD automatically
- **Close-Only Assets**: Assets only visible up close
- **Simple Assets**: Very simple assets may not need LODs
---
## LOD Creation
### LOD Levels
#### LOD0
- **Detail**: Full detail
- **Polygon Count**: 100% of original
- **Distance**: 0-50m (close)
- **Usage**: Close-up views
#### LOD1
- **Detail**: High detail
- **Polygon Count**: 50-70% of LOD0
- **Distance**: 50-150m (medium)
- **Usage**: Medium distance
#### LOD2
- **Detail**: Medium detail
- **Polygon Count**: 30-50% of LOD0
- **Distance**: 150-300m (far)
- **Usage**: Far distance
#### LOD3
- **Detail**: Low detail
- **Polygon Count**: 10-30% of LOD0
- **Distance**: 300m+ (very far)
- **Usage**: Very far distance
---
## LOD Generation
### Automatic Generation
#### Unreal Engine
1. **Import Settings**:
- Enable "Generate LODs" on import
- Set LOD count
- Set reduction settings
2. **Post-Import**:
- Right-click mesh > Generate LODs
- Configure settings
- Generate LODs
### Manual Creation
#### DCC Tools
1. **Create LODs in Blender/Maya**:
- Create simplified versions
- Maintain shape and silhouette
- Export as separate meshes
2. **Import to Unreal**:
- Import LOD meshes
- Assign as LODs
- Configure distances
---
## LOD Settings
### Distance Settings
#### Primary Buildings
- **LOD0**: 0-100m
- **LOD1**: 100-200m
- **LOD2**: 200-400m
- **LOD3**: 400m+
#### Background Buildings
- **LOD0**: 0-50m
- **LOD1**: 50-150m
- **LOD2**: 150m+
#### Props
- **LOD0**: 0-30m
- **LOD1**: 30-100m
- **LOD2**: 100m+
---
## LOD Quality
### Visual Quality
1. **Silhouette**: Maintain silhouette
2. **Shape**: Maintain overall shape
3. **Details**: Remove fine details progressively
4. **Materials**: Maintain material appearance
### Performance
1. **Polygon Reduction**: Significant polygon reduction
2. **Draw Calls**: Reduce draw calls
3. **Memory**: Reduce memory usage
---
## LOD Validation
### Quality Check
- [ ] LODs maintain silhouette
- [ ] LODs maintain overall shape
- [ ] LOD transitions are smooth
- [ ] Visual quality is acceptable
- [ ] Performance improvement is significant
### Testing
1. **Visual Testing**: Test LOD transitions
2. **Performance Testing**: Test performance impact
3. **Distance Testing**: Test at various distances
---
## Best Practices
### LOD Creation
1. **Start with LOD0**: Ensure LOD0 is high quality
2. **Progressive Reduction**: Reduce detail progressively
3. **Maintain Shape**: Maintain overall shape and silhouette
4. **Test Transitions**: Test LOD transitions
### LOD Usage
1. **Appropriate LODs**: Use appropriate LOD count
2. **Distance Settings**: Optimize distance settings
3. **Performance**: Balance quality and performance
4. **Validation**: Validate LOD quality
---
## Troubleshooting
### Common Issues
**Issue**: LOD transitions visible
- **Solution**: Adjust LOD distances
- **Solution**: Improve LOD quality
- **Solution**: Use fade transitions
**Issue**: LODs too aggressive
- **Solution**: Reduce polygon reduction
- **Solution**: Improve LOD quality
- **Solution**: Adjust distance settings
**Issue**: Performance not improved
- **Solution**: Verify LODs are being used
- **Solution**: Check LOD distance settings
- **Solution**: Profile performance
---
## Documentation
### LOD Documentation
Document LOD setup:
- **LOD Count**: Number of LODs
- **Distance Settings**: LOD distance settings
- **Polygon Counts**: Polygon count per LOD
- **Quality Notes**: Quality considerations
---
**Version**: 1.0
**Last Updated**: [Current Date]