Barbelot / Physarum3D

3D implementation of the Physarum Transport Networks in Unity
MIT License
67 stars 6 forks source link

Particle Render Ouput #3

Open nightshining opened 3 years ago

nightshining commented 3 years ago

Hi, Is there a recommended output particle? I don't see trails or the proper coloring as in your output result video. I get the correct position and no errors but all the points just appear and disappear. Thanks for the example, really great work.
Capture Capture2 Capture3

Barbelot commented 3 years ago

Hi, You have 10000 particles in the physarum system but a capacity of only 32 particles in your VFXGraph. You should increase this capacity to match the number of particles of the physarum. You also probably want to spawn 10000 particles at once and have them never die in the graph (infinite lifetime) since the particule in the physarum do not die.

For the output you can use the output you want, just make sure the particules are big enough to be seen.

The result in the video was done with lights and particles coloring manually in the graph.

Here is an example graph that should work (I added it in the repo) : image