Jump to content

PCwrite from vops


Recommended Posts

Hello friendly houdini community,

I would like to know how to procedurally write point clouds from a vopsop.

I'm scattering points over a surface and I would like to create a point cloud based on these scattered points.

This point cloud will record the ID and position of each point so that a shader can sample the nearest X points and do various fun stuff after that.

Currently the pic/hip file attached is creating a scatterCloud.pc file of Okb (with no information).

(the other method approach in the attached hip file reads a point cloud from an input to the vopsop, I hope this isn't the only method of writing point clouds on the fly because I guess that would mean creating a bunch of geometry attributes to be read by the shader and this seems less elegant ((and I'm confused by how to do it as you can see)) )

Anyway I'd appreciate any advice on procedurally writing point clouds or help with my muddled hip file.

Thanks a lot,

Mat

post-8332-134139421235_thumb.png

pcwritevopsop.hip

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...