emPolygonizer3 lagoa cloth meshing
emPolygonizer3 lagoa cloth meshing
I've got a tearable cloth lagoa sim which I'm using emPolygonizer to mesh with thickness, and passing UVs onto it. Ideally I'd like to be able to tell one side of the mesh to use a different material, but as its a changing topology I can't figure out how to set a cluster. Any suggestions welcome!
Re: emPolygonizer3 lagoa cloth meshing
Maybe you can figure out which way each polygon's normal is pointing, and use that to set MaterialID.
Re: emPolygonizer3 lagoa cloth meshing
Relative to the underlying lagoa point structure? Its folding over on itself so no easy worldspace options.
Re: emPolygonizer3 lagoa cloth meshing
OK then that's trickier -- I was hoping it wasn't the case.
There might be a Lagoa attribute you can read off, otherwise maybe you can walk the mesh. I need to think about it a bit more...
There might be a Lagoa attribute you can read off, otherwise maybe you can walk the mesh. I need to think about it a bit more...
Re: emPolygonizer3 lagoa cloth meshing
OK I presume that the original mesh used to generate the Lagoa is one-sided. In that case, maybe you can store the closest location's normal on the Lagoa particles on the first frame. After the sim you can read that from the polygonized mesh and compare with its own normal.
EDIT: Wait that's not going to work. You're going to need to update that vector using the point's orientation, and if Lagoa doesn't update orientation you'll need to deduce it yourself based on neighbors' relative positions.
EDIT: Wait that's not going to work. You're going to need to update that vector using the point's orientation, and if Lagoa doesn't update orientation you'll need to deduce it yourself based on neighbors' relative positions.
Re: emPolygonizer3 lagoa cloth meshing
Seem to be getting somewhere by keeping the polygonizer sim one sided and adding thickness with an ice compound, which (unintentionally) is only passing UVs to the front side. Not quite sure what it will do to motion user data I'm also passing through, but hopefully getting closer.
Who is online
Users browsing this forum: No registered users and 36 guests