To get started, work with Nvidia Flex and spawn particles.


I started reading:

Maybe I missed something but in the section called “Particles” there is the following line:

particles[i] = RandomSpawnPosition();

This is the data transferred from the CPU to the buffer.

My code in the CPU should count the next positions and speeds for particles? If not what’s going on.

That’s my conclusion, but Nvidia Flex should do it for me. I understand it that way.

Second issue:

Does anyone have basic working code? If so, can share it here? I mean one without graphic, but with coordinates and velocities displayed in cmd.

I want to analyze this code to better understand Flex. Understand what to do step by step. The link given above does not explain it if I understand it correctly.