The Galacean Spine runtime code has become quite outdated and is facing issues both in its project architecture and performance. The demand for Spine is gradually increasing, necessitating an urgent refactoring and optimization of the runtime code.
Refactoring includes several aspects:
Project Engineering Optimization #66 #56
Spine has released higher versions like 4.0, 4.1, etc. The past project structure, unable to fulfill the needs of managing multiple versions, necessitates an update to the project engineering structure.
Parts of the runtime are coupled with the Galacean editor, which need to be separated in the directory structure.
Loader Optimization
Support for loading multiple textures. #85 #53
Create material and set texture during loading. #48
Custom file loading. #88
Renderer Optimization
Optimize code structure for improved code readability.
Optimize mesh generation logic to improve performance. #52
Support for Spine 4.0, 4.1.
Support for premultiplied mode.
Use double buffering to improve performance (Performance testing is required to determine if it can enhance performance).
Calculate bounding box at first rendering frame. #84
The Galacean Spine runtime code has become quite outdated and is facing issues both in its project architecture and performance. The demand for Spine is gradually increasing, necessitating an urgent refactoring and optimization of the runtime code.
Refactoring includes several aspects:
Project Engineering Optimization #66 #56
Loader Optimization
Renderer Optimization