I am trying to create a world that automatically generates 10,000+ objects in it and once these objects have been made I want to fly through them or make them move at a certain speed in any direction I want. I have written code for this but It is not giving me the fps I want. Currently I only get about 7fps with this code and I need this to up to 60fps minimum. I have tried both moving them and moving the camera. But give the same fps. I am fairly new to vizard so any help would be much appreciated. Thank you

That's a lot of separate objects to be rendering and animating per frame. Do you actually need each object to be a fully modeled sphere, or is a point sprite acceptable. You can most likely achieve your desired frame rate by rendering all the objects as a single mesh of points, and animated the points within a vertex shader. If you are interested in going along with this method, then I can provide some sample code.