I have a physics simulation I am working on in cuda. From cuda I will be dumping a 4d array for 100k± particles. The 4d data will (x,y,z,w) w being the mass of the particle (I’d like to make the color of a particle sphere a function of mass).
I am curious as to the best method for getting positional data into blender.
I haven’t completed my cuda lib yet so I am flexible as to the best method. One option I’ve considered is pycuda (python bindings for cuda). I could then make an Ipo object and move it each time cuda reports back. However, I’m not sure I want my sim that tightly bound to cuda.