Atom Posted September 6, 2017 Share Posted September 6, 2017 (edited) 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 Edited September 9, 2017 by Atom Quote Link to comment Share on other sites More sharing options...
merlino Posted September 6, 2017 Share Posted September 6, 2017 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! Quote Link to comment Share on other sites More sharing options...
trzanko Posted September 9, 2017 Share Posted September 9, 2017 (edited) 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 September 9, 2017 by trzanko Quote Link to comment Share on other sites More sharing options...
Follyx Posted September 9, 2017 Share Posted September 9, 2017 (edited) @trzanko: could you up a hip please? Edited September 9, 2017 by Follyx Quote Link to comment Share on other sites More sharing options...
Atom Posted September 9, 2017 Author Share Posted September 9, 2017 (edited) There is an example file at this link. Edited September 9, 2017 by Atom Quote Link to comment Share on other sites More sharing options...
Follyx Posted September 9, 2017 Share Posted September 9, 2017 Quote thanks atom. Quote Link to comment Share on other sites More sharing options...
trzanko Posted September 10, 2017 Share Posted September 10, 2017 On 9/9/2017 at 9:06 AM, Atom said: There is an example file at this link. Nice! 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.