Jump to content
Atom

[SOLVED]Integrating Deforming Geometry With SOP Solver Denting?

Recommended Posts

Hi All,

I am trying to dent a deforming surface.

I have a working scene that will dent a static surface but when I supply deforming geometry, such as the blue bending box, to the SOP Solver it does not detect the animation.

Does anyone know how to get both effects to work together?

ap_SOP_solver_deforming_pass_through.hiplc

displace_by_shape.gif

Edited by Atom

Share this post


Link to post
Share on other sites

I think the cheaper way, if you have already all approved and you just want to "merge" the effects, is to "point deform" the geometry. Just put the geo to deform (the dented, simulated one) in the first input, the bending box at rest into the second input (probably a timeshift at the first simulated frame will works) and the bending box simulated into the third input.

I hope this helps! :)

Share this post


Link to post
Share on other sites

Point deform would work but if you want it to dynamically dent as it gets closer/further away from the object you'll need to do something else. 

So long as the topology of the deforming mesh is consistent you need only look back to the same point of the animated geometry from the last frame, get the attrib and apply the deformation ( assuming it's @P += -@N * attrib;). Then after or in the same step you can do a new additive deformation on the animated geo. This ensures that you're retaining the info from the last frame of the deforming object. 

Things get lossy if the topo is not the same so if you can keep the topo the same then do as it'll make it a lot easier to solve. 

Hope this helps, 

Tighe

Edited by trzanko

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×