Nicholas Yiallouris Posted April 18, 2016 Share Posted April 18, 2016 Does anyone know how this node is used (there's minimal information about it) I'm basically looking to pass attributes from one point to another (in a solver) and I want the point that receives the new attributes to remember who gave it those attributes. Quote Link to comment Share on other sites More sharing options...
fathom Posted April 19, 2016 Share Posted April 19, 2016 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. Quote Link to comment Share on other sites More sharing options...
anim Posted April 19, 2016 Share Posted April 19, 2016 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 Quote Link to comment Share on other sites More sharing options...
Nicholas Yiallouris Posted April 20, 2016 Author Share Posted April 20, 2016 (edited) 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 April 20, 2016 by Nicholas Yiallouris Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.