Jump to content

point_smoothing


3__

Recommended Posts

hmm, I'm trying to smooth geometry using

vops but there doesn't seem to be a way

to store the positions of connected points

before averaging. I'll also need to store the

averages before applying to avoid biasing.

is this a job for typed code or does vex still

not support arrays? any other workarounds?

-cpb

Link to comment
Share on other sites

Please take a look at the attached file.

- To get a an input's point positions, use an Import Attribute VOP with a Vector attribute named "P". Think of this as similar to the point() expression function.

- I'm not sure why you would need to store your average. If you're trying to do multiple average passes on your point data, then yeah, you'll have to just apply the VEX SOP as many times as you want iterated. You could always use Simon Barrick's Loop SOPs HDA.

sop_lowpass.zip

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