3__ Posted January 20, 2005 Share Posted January 20, 2005 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 Quote Link to comment Share on other sites More sharing options...
edward Posted January 20, 2005 Share Posted January 20, 2005 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 Quote Link to comment Share on other sites More sharing options...
edward Posted January 20, 2005 Share Posted January 20, 2005 PS. I assume you already know about the Smooth SOP. Quote Link to comment Share on other sites More sharing options...
3__ Posted January 20, 2005 Author Share Posted January 20, 2005 PS. I assume you already know about the Smooth SOP. 15846[/snapback] yep, just wanted to combine iterative smoothing with a self-shadowing tool that relies on a relaxed input. I'll just use the smooth sop for now. -cpb Quote Link to comment Share on other sites More sharing options...
meshsmooth Posted January 20, 2005 Share Posted January 20, 2005 the smooth sop probbly Runs faster than anything that can be made with VEX Quote Link to comment Share on other sites More sharing options...
sibarrick Posted January 20, 2005 Share Posted January 20, 2005 If you want per point smoothing rather than primitives, use the sculpt tool set to smooth. 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.