# Temporally coherent convex decomposition \[Houdini PLUGIN\]

**URL:** <https://forums.unrealengine.com/t/temporally-coherent-convex-decomposition-houdini-plugin/103770>\
**Category:** Showcase\
**Tags:** unreal-engine, Showcase, Work-in-Progress\
**Created:** [December 12, 2017, 9:18am UTC](https://forums.unrealengine.com/t/temporally-coherent-convex-decomposition-houdini-plugin/103770 "2017-12-12T09:18:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_3375a5e9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3375a5e9](https://forums.unrealengine.com/u/anonymous_user_3375a5e9)\
**Post date:** [December 12, 2017, 9:18am UTC](https://forums.unrealengine.com/t/temporally-coherent-convex-decomposition-houdini-plugin/103770/1 "2017-12-12T09:18:37Z")

</div>

Collision detection for physics / ray tracing for arbitrary meshes is slow, unless they are pre-processed as SDF or decomposed into convex parts. However, there was no suitable solution for animated meshes until now

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/2/7/527ff283e90c9b7636bf14158ca5db446b88ba56.png)

We are developing a Houdini plugin for approximate decomposition of the animated mesh into non-rigid convex parts. Animations were pre-processed (trained) in 30s - 4min (it could be more for more detailed animations). The approximation error can be chosen afterwards interactively (0-2s). The method is robust to topologically incoherent meshes (degenerate triangles, open meshes, self-intersections, etc), which commonly happened in all these animations. The model can be trained for one video (or a set of videos) and evaluated on another, if vertices correspond to each other (for example a rigged character for a game or a movie). Evaluation runs in real-time.

I don’t know how desired this is (simpler solutions are typically used, such as predefined set of capsules), but results can be used in real-time applications. We originally developed the decomposition for our fluid solver ( [Physics Forests - A New Real-time Fluid Solver - Download demo NOW! - Game Development - Epic Developer Community Forums](https://forums.unrealengine.com/community/work-in-progress/114470-physics-forests-a-new-real-time-fluid-solver) ), which is still under progress:)
