Good performance is a key factor to ensure users have a comfortable VR experience. We would like to share some useful guidelines and tips to help you optimize your Qiyu VR application.
First of all, Use the Unity Profile(opens new window) / QIYU Performance Tool to get CPU/GPU performance metrics and find out it is CPU-bound or GPU-bound.Then you can plan for a better optimization strategy accordingly.
Tips: Unity Profile can show the CPU time directly. If the CPU time is close to the time per frame(72 FPS means rendered each frame in 13.9ms ), then the application is CPU-bound, otherwise is GPU-bound.
There are not too many objects or high polygon models in the player's FOV.
Less than 100,000 triangles or vertices per frame.
Less than 100 draw calls per frame.
Use a compressed texture format. Combine the textures used in the scene into a single texture. Using this technique objects that share the same textures become eligible for batching.
Dynamic batching: for small enough Meshes, this transforms their vertices on the CPU, groups many similar vertices together, and draws them all in one go.
Static batching: combines static (not moving) GameObjects into big Meshes, and renders them in a faster way.
Optimize scripts to reduce complexity.
Disable interaction and physics calculation that are not needed.
QIYU system charge the CPU, GPU resource and rate to ensure stable running of applications. Developers can follow the ways below to optimize application consumption.