Enterables: All products 50% off

Dynamic Triangulation

Andrew Esenin - 代码插件 - 2023/12/19

This C++ Plugin will allow you to create polygonal meshes from points. Meshes can be created in the editor or when the game is running.

  • 支持的平台
  • 支持的引擎版本
    4.27, 5.0 - 5.3
  • 下载类型
    引擎插件
    此产品包含一款代码插件,含有预编译的二进制文件以及与虚幻引擎集成的所有源代码,能够安装到您选择的引擎版本中,并根据每个项目的需求启动。

You can use a set of consecutive points (spline points, for example) that form an area to turn it into a single mesh.



Video | Playable Demo | Documentation | Example Project



Example Project contains an overview scene and an example of how to utilize this asset at runtime.


Features:

  • Good performance.
  • Can be edited and generated at Runtime or in the Editor.
  • Generates UV’s for meshes.
  • Triangulated meshes can be baked into single static meshes.
  • Contains two additional functions: one for chamfering or rounding corners and one for removal of duplicate points before mesh generation.
  • Can triangulate a closed spline while precisely repeating its shape.
  • Include materials that have: moving animations, texture rotation, flickering effects, opacity masks. Materials can work with or without UV’s.
  • Both the Blueprints and the C++ code contain comments.
  • Source code is also included with the plugin.


技术细节

Limitations:

  • Self-intersections of boundary edges are possible, but they disrupt the triangulation order and can cause visual bugs.
  • Holes inside the triangulation area are not supported.
  • Triangulation can produce very sharp and narrow triangles.
  • Points located at the same coordinates may cause some triangles to disappear (Use the Merge Border Points function to fix this).
  • 3D is supported, boundary points will be placed at a specified height, but the internal area will be triangulated randomly.


Plugin Contains

  • 1 С++ Class
  • 2 Blueprint Examples
  • 9 Materials and Material Instances
  • 8 Simple pattern textures


Code Modules:

  •  DynamicTriangulation [Runtime]


Network Replication Is not implemented

Supported Development Platforms: Any

Supported Target Build Platforms: Win64 (Not tested on other platforms)