How mordol/testskinnedmeshrendering works
Main Components
a. Animation Processing Pipeline:
• Animation Baker System
• Input: Skinned Mesh Animations
• Processing: Animation Baking System
• Output: Baked Animation Textures
b. Rendering Systems:
• Basic Rendering Pipeline
• BRG (Batch Rendering Group) Pipeline
• Instanced Rendering Pipeline
• SRP (Scriptable Render Pipeline) Integration
c. Test Framework:
• Performance Testing Components
• Scene Management
• Spawning Systems
Component Relationships
[Animation Source]
• ↓
[Animation Baker]
• ↙ ↘
[Texture Storage] [Animation Info]
• ↓ ↓
[Shader System] ← [Animation Control]
• ↓
[Rendering Pipelines]
• [Basic Unlit]
• [BRG Pipeline]
• [Instanced Pipeline]
• [SRP Pipeline]
Specific Implementation Details
a. Animation Baker Components:
• BakedAnimationControl
• BakedAnimationInfo
• AnimationBakerUtil
• AnimationBakerWindow
b. Shader Systems:
• Basic Shaders
• BRG Shaders
• Compute Shaders
• SRP Shaders
c. Test Implementation:
• Grid Spawners
• Tracking Systems
• Performance Monitors
Data Flow Indicators
• Animation data flow
• Texture generation paths
• Rendering pipeline selection
• Performance data collection
Integration Points
Connections between:
• Animation baker and Unity's animation system
• Custom shaders and Unity's rendering pipeline
• Test framework and performance measurement tools
Clear data flow between components
Keep the abstraction level focused on the core systems while maintaining enough detail to show the unique aspects of the animation baking and rendering optimization approach.
This system design should help developers understand:
• How animations are processed and baked
• Where performance optimizations occur
• How different rendering pipelines are implemented
• How the testing framework validates performance