I am trying to render a point cloud with specific point locations that I have in a file. I know there are some solutions out there focused on photogrammetry data but I think in my situation I need more control in the end. I believe what I want is a particle system in Niagara where particles spawn at the locations from my file. So I believe I need to do the following:
- Create a particle system and replace the location entry in the particle spawn stack by something that delivers the desired locations
- Looking at the SphereLocation blueprint it appears that I basically need a node that outputs one location (+metadata) from my file per call and wire the output into Particles.Position
Summing that up I need to write this node for producing the locations. In the SphereLocation BP this is (more or less) done by the Gaussian Random Vector node. But that is a Blueprint and I probably want to do this in C++. I am decently skilled in C++ but lack the Unreal experience so here are my questions:
- How do I create such a node in C++?
- Especially, which base class do I need?
Of course, I might be completely on the wrong track here.