2
$\begingroup$

I'd like to create a point cloud using the Geometry Node Editor based on my own custom data.

enter image description here

The data is stored in a .txt file, plain [x,y,z] coordinates and looks like this:

v1 : 1, 2, 1; 
v2: 1.5, 2, 0; 
v3: 0, 2.5, 2; 
v4: 1.2, 2, 0; 
etc. 

I also tried a python script to import the vertices, which is working fine but I don't find a way to use it for Geometry Nodes.

Q: Is there any way to create a point cloud based on the given data to make use of Geometry Nodes features in order to further manipulate the point cloud?

$\endgroup$
12
  • $\begingroup$ Related: blender.stackexchange.com/questions/76535/… $\endgroup$
    – brockmann
    Commented Mar 3, 2021 at 11:54
  • $\begingroup$ If the data has been imported as vertex per coordinate, it's technically a point cloud already. Just wondering what's your question...? Do you'd like to visualize the point cloud? $\endgroup$
    – brockmann
    Commented Mar 3, 2021 at 12:00
  • $\begingroup$ Yes, I want to visualize point cloud. I have few coordinates [x, y, z]. My expectation is that I will create Point Cloud like it is in Blender 2.93 (Cube with random points) and every point will belong to my coordinates [x, y, z]. Then I will continue in Geometry Node Editor where I want to set to every point in cloud different object. The problem is that I dont know how to create Point Cloud from my vertices instead of random points. $\endgroup$ Commented Mar 3, 2021 at 12:05
  • $\begingroup$ See: Is it possible to render vertices in Blender?. Again, a set of vertices is a point cloud, goal achieved. Suggest add your comment to the question. $\endgroup$
    – brockmann
    Commented Mar 3, 2021 at 12:07
  • $\begingroup$ Thanks. I have problem when I create Point Cloud (Experimental in Blender >2.92) that the points in cloud are distributed randomly. I want to have them in positions which I set) $\endgroup$ Commented Mar 3, 2021 at 12:13

1 Answer 1

0
$\begingroup$

I've been working on this problem lately as well, If you have the points as vertices you can use something like this node setup to get a renderable point cloud pointcloud

In case you find it useful I've put together an addon blender_plots which automatically generates such node trees from numpy arrays and also supports adding a different color to each point

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .