Skip to content

DustStock/blender-convex-decomposition

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blender Plugin For Convex Decomposition

This Blender addon makes V-HACD and CoACD available inside Blender.

It can also export a mesh and its collision shapes to Unreal Engine via FBX.

OriginalV-HACDCoACD
screenshots/root_object.jpgscreenshots/vhacd.jpgscreenshots/coacd.jpg
Time: 2sTime: 5min

Installation

Grab (or build) the binaries for V-HACD and/or CoACD from their website.

Install the convex_decomposition.py addon like you would any other Blender addon and specify the path to the V-HACD and CoACD binaries in the preferences.

Now you should have a ConvDecomp panel in Blender’s N-menu as shown in the screenshots.

Usage

Select an object and a solver, then press Run.

The solver may run for several minutes (especially CoACD) during which the Blender UI will be unresponsive. Afterwards, the shapes will appear in the scene and be parented to the original object. The addon will also place the shapes into a dedicated convex hulls collection to easily (un)hide all of them at once.

The shape names adhere to the FBX convention for Unreal and you can export the mesh with the Export button. Please note that this is a convenience function only and not meant to replace a proper Blender -> Unreal workflow.

Please refer to the official V-HACD and CoACD sites for an explanation of the parameters.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%