Jump to content

How do I get uneven sampling with pcfind function?

Recommended Posts

whenever I try to use pcfind() I get perfect circle shaped sampling

I tried to break this pattern by adding noise to P position in pcfind() as such :


if(intpointgroup(0, 'infected', @ptnum)) {

    @myArray = pcfind(0, 'P', @P+v@noise, radius, max_pts);


*noise was generated in vex using voplib.h 


but somehow it just shifted the start position, not the sampling pattern itself. (I still get clean circle shape sampling)

is there another way I can break this pattern in one wrangle?

I've used attribnoise to P and rayed it back to get a similar result, but it messes up the rest position and doesn't feel right


sorry for horrible English and thank you in advance!




Edited by TeddKim
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.

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...