Jump to content

Point Cloud Import by Index


Recommended Posts

import by index lets you "skip" point cloud indices and grab, say, the 5th point found in your search.

it's probably not something you'd ever use unless you had a really specific reason.

 

you can find the point number by doing a pcimport("point.number",pcNum) inside a pciterate() loop.  not sure how you're searching for your point to grab attributes from, but that'll give you the current point number in your point cloud.

 

Link to comment
Share on other sites

it's as well useful if you want to loop over pcopened points using for loop instead of while loop

even though nowadays if you prefer for loop workflow you can use pcfind() instead which makes it a bit easier

Link to comment
Share on other sites

Hi Thanks for the feedback

@fathom I've plugged pcimport into a pciterate loop but I'm not seeing anything I can use, perhaps I've plugged it in wrong? And I still need to work out how to check which point to grab attributes from... (any suggestions?)

@anim The pcfind looks promising and I've managed to split out the array using get element. Any idea how to connect the dots?

 

this is a simple scene where I've taken a L-system and deleted the lines, the idea is to re-connect the dots in the same fashion.

 

ConnectTheDots.hip

Edited by Nicholas Yiallouris
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...