Render a pointcloud from a .xyz file with a colormap based on a property

Hi,

I am a total newbie to Unity, basically I am trying to migrate a viewer from THREE.js to unity with webGl.
One of the 3D type I need is a pointcloud colored with a colormap evaluated on each point with a value.
I’m using .xyz files with x, y, z coordinates and a list of properties value for each point, so for example x, y, z, prop1. The colormap is based on this property and I need to be able to change dynamically this property via a GUI or something like that.

So far I’ve seen few possibilities, one is the particle system but I’m struggling to use it and the second one is the PCX viewer (GitHub - keijiro/Pcx: Point cloud importer & renderer for Unity) but it’s using .ply files. I am currently trying to reuse that code to render point cloud from my .xyz files.

Do you have suggestions or examples of how should render a simple point cloud like that (it needs to be useable in the browser)

Thanks for your answers and sorry if it sounds dummy I’m still discovering 3D rendering with Unity

I have a project called MakeGeo that demonstrates various ways of producing geometry procedurally. From that you could easily make some geometry to visualize your point cloud.

MakeGeo is presently hosted at these locations:

https://bitbucket.org/kurtdekker/makegeo

When you say producing geometry, you mean creating a Mesh that contains my points?

Points don’t render. Triangles render. I’m suggesting doing whatever visualization you want to see your point cloud, perhaps by generating small triangles (or other shapes) spatially around where each point is. Up to you!