Metaballs/Copy SOP - Jagged mesh

   2521   4   3
User Avatar
Member
64 posts
Joined: July 2005
Offline
Hi,
I'm adding metaballs to resampled curve points (using copy sop) and I'm getting some jagged meshes when rendering. I tried adding more points to the curve, converting to vdb and smoothing there, but even using very small voxel size, I can't seem to get rid of it.

Any hint on what could be causing this?

thanks!

Attachments:
steps.jpg (7.8 KB)
stepsviewport2.jpg (14.9 KB)
stepsviewport.jpg (7.5 KB)
curvesAndMetaballs.hiplc (80.7 KB)

User Avatar
Member
1743 posts
Joined: March 2012
Offline
If you don't absolutely need it to be metaballs, you could use PolyWire on the curve.
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
User Avatar
Member
64 posts
Joined: July 2005
Offline
Thanks Neil,
I was overthinking this a bit; Polywire works great for what I'm doing.

I still think there must be a way to avoid the small artifacts on the mesh though (I could use polywire, then convert to vdb to do some vdbcombine and then back to polygons will cause visible patterns).
User Avatar
Member
252 posts
Joined:
Offline
In case you are stuck with still using metaballs.. I tried tweaking your resample (addmorepoints) to add even more points to the curve. I also set it to Subdivision Curves.. It seems to have smoothened it out.

Attachments:
curvesAndMetaballs_2_rend.JPG (20.1 KB)
curvesAndMetaballs_2.hiplc (133.5 KB)

User Avatar
Member
64 posts
Joined: July 2005
Offline
Thanks, I went the polywire way. It is faster and I don't need many points.

Also, it works better with cookie sop (I'm lucky)
  • Quick Links