WorkLink Scenarios: How to Improve App Performance in AR Scenarios
There are multiple ways to improve the performance of AR scenarios in the WorkLink App, this article will outline a few factors that impact the app's performance.
Key Factors Affecting Performance
Scenario Content Complexity
The complexity of the 3D models and objects used in your scenario can significantly impact performance. High triangle counts, complex shaders, and numerous objects can overwhelm the device's processing power.
Tips to Optimize Content:
- Reduce the number of triangles in 3D models.
- Reduce the size and amount of textures used in shaders.
- Simplify materials and shaders.
- Reduce the amount of objects in the scene.
For more detailed guidelines, refer to this article on creating optimized AR experiences.
Hardware Capabilities
The performance of an AR scenario is heavily influenced by the hardware capabilities of the end device, specifically the CPU and GPU power.
- High-end Devices: Newer iPhones and Android devices typically have powerful GPUs, reducing the likelihood of performance issues.
- Mixed Reality Devices: Devices like the HoloLens 2 have more limited hardware, which may necessitate additional optimization to maintain smooth performance.
Consideration: If your scenario will be used across a range of devices, aim to test and optimize on lower-spec hardware to ensure a consistent experience.
App Setting Adjustments
Adjusting certain app settings can also help improve performance.
Legacy Rendering
Enabling "Legacy Rendering" in the app settings will turn off some advanced graphic features like HDR reflections, which can improve performance at the cost of visual quality.
This setting can only be enabled when no scenario is actively running.
High Quality Graphics
This setting enables anti-aliasing for a smoother appearance. However, it can impact performance.
The app will automatically disable this setting if the FPS drops below 25 for a few seconds.
If you notice performance issues, consider disabling "High Quality Graphics" to gain a few extra frames per second.
Other Considerations
Network Connectivity: If your scenario involves downloading assets or streaming content, ensure a stable and fast network connection.
Background Applications: Close any unnecessary applications running in the background, as they can consume resources and negatively impact performance.
Scenario Size: Keep the scenario file size manageable to reduce loading times and memory usage. For example, the use of videos can quickly consume a lot of file size, which may slow down downloading and opening a scenario.
How to Check the Frame Rate in the App
You can monitor the app's performance by enabling the "FPS Counter" in the app settings. This will display the current frames per second (FPS) on the top right corner of the screen.
A count of more than 25 FPS is generally considered a smooth user experience. If the FPS drops below this number, you may want to make some adjustments to improve performance.