Omitsu Posted May 10, 2020 Share Posted May 10, 2020 (edited) Hi, I'm trying to achieve the effect of trail curves generated from a mesh-like the example above. (credits to matt from CgWiki) In my case, the mesh is an alembic mesh from a volumetric scan (above) - thus the topology is a mess and points move around or change ID every frame due to the scanning process. I've been trying different ways to connect the points that are emitted from the mesh through a popnet, however instead of getting a continuous curve, I get messy shapes and triangle forms. I've been using the attributeWrange with this VEX by acey195 on OCDFORCCE: Quote int nearbyPts[], pt, connectingPrim; nearbyPts = nearpoints(0, v@P, chf("range")); foreach(pt; nearbyPts) { if(pt <= @ptnum) continue; connectingPrim = addprim(0, "polyline"); addvertex(0, connectingPrim, @ptnum); addvertex(0, connectingPrim, pt); } This is how it looks with the wrangle: And this is the particles: I very much appreciate someone guiding me through this to be able to get continuous trail curves out of this particular deforming shape: like the example with the sphere. I guess that means creating arguments to not repeat using the same point more than once with the price of missing some odd/far points. I'm new to Houdini btw Thanks a lot! Edited May 10, 2020 by Omitsu 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.