Dots Mesh Slicer

$19
Publisher Lukas Chodosevicius
File size 20.57MB
Number of files 88
Latest version 1.0.1
Latest release date 2022-10-24 11:01:44
First release date 2022-10-04 08:58:13
Supported Unity versions 2018.4.2 or higher

This package contains high performance mesh slicer tool. It is built to be used as an extension for existing Unity builtin packages (etc. SIMD mathematics, Collections, Jobs and Burst compiler).


The library is developed to fit well with Unity DOTS standards. This includes performance by default, simplicity and most importantly, readability of the code. Driven to take the best HPC# can offer.


This tool uses efficient algorithms for slicing/mesh reading/mesh writing. With the addition of simd/jobs/burst tool manages slice meshes in a fraction of milisecond. This also means that slicing objects will not result in garbage collection (Only exception is Mesh and GameObject instantiation, but API developed that you can easily handle them with pools if wanted).


API is split into three levels that range from artist to programmer. As a result, offers the best of both worlds, easy to use and very powerful in terms of extensibility.

  1. High level, using Mesh Slicer Monobehaviour component. It consists of two steps, adding component and calling Slice method on manager.
  2. Medium level, using Mesh Slicer Manager custom Modifiers. That allows extending functionality by implementing specific interfaces.
  3. Low level, using Slicer helper class. Allows scheduling pure dots mesh slicing jobs. For those who want different implementation or use it in different frameworks.

Note: Each upper level uses a lower level API. Ensuring no circular dependencies, code re-usability and extensibility.


Limitations

  • Fill/cap mesh generation is currently only convex.
  • No mesh separation. As example, slicing letter C vertically will not produce three pieces.
  • No skinned mesh slicing support.

Note: These limitations will be removed in future releases.


Support Discord

Demo Ninja


Dependencies

  • Tested with Unity 2020.3
  • Package com.unity.mathematics
  • Package com.unity.collections
  • Package com.unity.burst
  • Package com.projectdawn.dotsplus

Note: This package depends on other asset store package called Dots Plus. So in order to use this package you need to have Dots Plus purchased too. The reason for this dependency as dots plus provides strong foundation for this package functionality (Price of this package already accounted for Dots Plus price too). For more information about Dots Plus you can check forum.

Top Publisher Assets