Create Point cloud from geometry.

I want to make a 3d point cloud from 3d SOP.
like upload.wikimedia.org/wikipedia/c … _torus.gif
I saw many questions about create mesh from point cloud but it`s very hard to find about this topic.

I have no idea where to begin. Do I need polygon or mesh data or something?
Are there were any algorithm for this let me help.
thanks.

Your best bet to create something like the example you linked is to use Houdini and the scatter SOP to create a set of points based on a surface. Everything you need for this is available in the free version of Houdini.

Steve delineates this techniques here:
[url]evil space flame - Gallery - TouchDesigner forum

There is no functionality quite like this as a built in SOP in TouchDesigner.

Ive just added a method to our Prim class:

Prim.eval(u,v)->Position

This will return the position on the primitive given u,v coordinates.

This will work for all primitive types, though the v is unused in the case of curves, polygons.
(See attached screenshot and toe file, for a Script SOP example).

This will be available in the next official + experimental releases.

Cheers,
Rob.
z_scatter.4.toe (4.05 KB)

Wow. Thank you Rob.
That’s a really good news.
I can hardly wait for new version to use that function. :slight_smile:

FATASTIQUE !
GREAT ROB

i wonder, if there is a way to scatter points inside a geo?
something like in this tutorial [url]https://vimeo.com/231315378[/url]

is something like this possible in td with sops and scripts or do i need to go the glsl way?

To scatter points inside a geo you need a volume.