Forum Discussion
munter
9 years agoHonored Guest
Frame Rate Problem using lots of objects - please help!
Hi guys, Basically I am wanting to plot the positions of the 100,000 closest stars with their colours and relative sizes and be able to fly around them, however I am encountering some framerate iss...
munter
9 years agoHonored Guest
"cybereality" wrote:
100k gameobjects will kill performance, even if they are untextured cubes. Even 10k may be a lot.
You can look into instancing, which may help. This is most useful if the objects can share materials.
Also, if there is not any animation of the stars, you can combine all of them into a static mesh. This should be a pretty big win, though you'll still have to watch out for poly count if the objects are detailed.
Hey so I successfully combined all object into a few combined mesh chunks and the framerate is now fine even with 100k objects. However the drawback is that it takes 30 minutes to load the game... I think this is because the script has to create 100k game objects before the scene starts and then combine them into combined meshes.
Any suggestions to progress?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago
- 1 year ago
- 8 months ago