I need to generate 500k spheres in a reasonable amount of time and render them
the sphere positions are loaded from a file
script to generate:
spherelist=[None]*500000 baseMesh = Mesh.Primitives.UVsphere(3,3,s_radius*2.0) for i in range(500000): ob = Object.New("Mesh") ob.link(baseMesh) spherelist[i]=ob #store reference to edit positions later scene.link(ob)
This takes a ridiculous amount of time, is there a faster way?
I need to be able to individually position the spheres.
If the overhead associated with this is due to the object creation, can I add multiple meshes per object,or have one giant object with 500k sphere meshes?
particles would be ideal but they apparently are not designed for this type of usage