Runtime Mesh Component
Version 4.1 available on GitHub and Marketplace!
**The RuntimeMeshComponent, or RMC for short, is a component designed specifically to support rendering and collision on meshes generated or imported at runtime. This could be anything from voxel engines like Minecraft, to custom model viewers, or just supporting loading user models for things like modding. It has numerous different features to support most of the normal rendering needs of a game, as well as ability to support both static collision for things such as terrain, as well as dynamic collision for things that need to be able to move and bounce around!
The RMC is designed to do the same tasks as ProceduralMeshComponent or CustomMeshComponent currently found in UE4, but far surpasses both in features, and efficiency! Depending on the configuration, the RMC can use between half as much memory, all the way down to basically no significant amount of main memory, and instead only use VRAM, by not keeping extra copies of the mesh data around in main memory. It also is far more efficient in the render thread, implementing static draw and a more efficient dynamic draw than the ProceduralMeshComponent. Transitioning from the PMC is fairly straightforward, but it is not 100% cross compatible for features and performance reasons.**
Please Consider Supporting the RMC’s development! Donations will be counted towards a pre-purchase of the upcoming Extended RMC.
More info can be found here: https://github.com/Koderz/RuntimeMes…e-development!
Current list of features in the RMC
- All features found in the ProceduralMeshComponent including slicing.
- Mesh LODs
- Async Collision Updates.
- Separate Collision mesh.
- Configurable precision for normals/tangents, and texcoords.
- Tessellation support
- Nav Mesh support.
- RMC <-> StaticMeshComponent conversions. SMC -> RMC at runtime or in editor. RMC -> SMC in editor.
- Faster normal/tangent calculation than PMC.
- Far lower memory footprint than PMC
- Customizable mesh providers allow for customizable lod/section generation.
- Efficient draw paths
Supported Engine Versions:
v1.2 supports engine versions 4.10+
v2.0 supports engine versions 4.12+
v3.0 supports engine versions 4.17+
v4.0 supports engine versions 4.20-4.22
v4.1 supports engine versions 4.23+
The Runtime Mesh Component should support all UE4 platforms.
Collision MAY NOT be available on some platforms (HTML5)
Windows, Linux, HTML5
(Also tested with HTC Vive, and Oculus Rift)
https://runtimemesh.koderz.io/ (Still in progress)
640k vertex animated mesh! (Not great quality gif)
Convex collision support for movable objects!