I’m moving my first steps in the fuse library world… and I would like to ask you an advice :)
I would like to simulate a black hole behavior on particles system in a 3D world and I’m wondering which is the most efficient (and working) way to do it.
My particles should have this behavior:
The image is taken from a processing sketch I’ve created as a first simulation prototype.
Basically it shows a particle system immersed in a bidimensional vector field where each arrow (force vector) is the result of two main contributions (the black hole attractor and the accretion disk rotation around it).
The arrows represent the force vectors with a particular direction and length (magnitude) according to the position in space (2D plane) we are examining.
The vectors all point toward the center of the attractor (black hole) with an intensity that is inversely proportional to the square of the distance from it (basic gravitation simulation here for the moment).
In addition, these vectors are deflected by the rotational contribution of the accretion disk near the contour of the black hole.
Particles moving in this space are affected by these vectors according to their position (and will change their acceleration, velocity and position accordingly).
Looking at the fuse library, I think that the best way to reproduce this behavior is to calculate all of the forces of the force field in advance for every 3D space tasselation element (let’s say I will divide the entire 3D space in a fixed number of little 3D cubes, where the center of each represents the point of application of the force vector).
Then I can apply this calculated force to the particles system using the Force [Fuse.Particles.Force] node, according to the Position (Particle) [Fuse.Particles.Attribute] of each particle.
I think this approach, at least for my way of thinking, may be better for me, and that’s why I have excluded:
- 3DFluids that have different behaviours from the ones I need;
- to use different force nodes and attractors on the particle system (like ConformToSphere and directional forces, for example) because It seems to me using them I should have used a different approach to the problem.
Does my plan makes any sense to you?
What are the VVVV nodes I should start working on in order to implement my ideas?
What do you think?
Thanks a lot fro any support and suggestions