{"id":13589571,"url":"https://github.com/mikhomak/Ue4MarchingCubes","last_synced_at":"2025-04-08T09:33:20.955Z","repository":{"id":188511172,"uuid":"325647501","full_name":"mikhomak/Ue4MarchingCubes","owner":"mikhomak","description":"📦3D Perlin Noise using Marching cubes algorithm for Unreal Engine 4📦","archived":false,"fork":false,"pushed_at":"2021-01-08T18:33:27.000Z","size":629639,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-02T16:31:59.230Z","etag":null,"topics":["marching-cubes","noise","perlin-noise","procedural-generation","ue4","unreal-engine","unreal-engine-4"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikhomak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-12-30T21:02:37.000Z","updated_at":"2024-06-22T13:20:22.000Z","dependencies_parsed_at":"2023-08-15T17:29:48.476Z","dependency_job_id":null,"html_url":"https://github.com/mikhomak/Ue4MarchingCubes","commit_stats":null,"previous_names":["mikhomak/ue4marchingcubes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikhomak%2FUe4MarchingCubes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikhomak%2FUe4MarchingCubes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikhomak%2FUe4MarchingCubes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikhomak%2FUe4MarchingCubes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikhomak","download_url":"https://codeload.github.com/mikhomak/Ue4MarchingCubes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223314220,"owners_count":17125028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["marching-cubes","noise","perlin-noise","procedural-generation","ue4","unreal-engine","unreal-engine-4"],"created_at":"2024-08-01T16:00:31.758Z","updated_at":"2024-11-06T09:31:12.422Z","avatar_url":"https://github.com/mikhomak.png","language":"C++","funding_links":[],"categories":["Utilities","Game Development"],"sub_categories":["Unreal Engine: Resources"],"readme":"# 3D Perlin noise using marching cubes algorithm \n![](https://raw.githubusercontent.com/mikhomak/Images/master/MarchinCubes/3D%20Perlin%20Noise.png)\n\n## About:\nThis component allows you to generate 3D Perlin Noise mesh with collisions in runtime in unreal engine.    \n![](https://github.com/mikhomak/Images/blob/master/MarchinCubes/gifPreview.gif)\n\n## Requirements:\n\nIn order for this component to work you will need:\n1. Unreal Engine 4 2.5 (2.6 is yet not supported by *RuntimeMeshComponent* so you need to use 2.6 or update *RuntimeMeshComponent* to 2.6)\n2. [Runtime mesh component](https://github.com/TriAxis-Games/RuntimeMeshComponent) - In order to create a mesh ([Marketplace](https://www.unrealengine.com/marketplace/en-US/product/runtime-mesh-component))\n3. [PerlinNoiseComponent](https://github.com/nialna/PerlinNoiseComponent) - In order to get noise values (This component comes bundled in this repo)\n\n## Installation:\n1.  Install the ***RuntimeMeshComponent***  \n2.  Add ***libnoise*** library to your UE4 project. You can find how [in this repo](https://github.com/nialna/libnoise-UE4-ready) by [nialna](https://github.com/nialna). P.S. - in the git history of this repo you can find installed version of libnose. \n4.  Copy *PerlinNoiseComponent.h* and *PerlinNoiseComponent.cpp* to your `Source` folder. This component was made by [nialna](https://github.com/nialna), thanks a lot to her!\n3.  Copy *MCubeComponent.h* and *MCubeComponent.cpp* to your `Source` folder. (You can also copy *MCubeActor.h* and *MCubeActor.cpp* which is an Actor example)\n4.  Add `UMcubeComponent, URuntimeMeshComponentStatic` and `UPerlinNoiseComponent` to your actor. Set `Noise` and `RuntimeMesh` variables for `UMcubeComponent`.\n5.  Call `GenerateMarchingCubeMesh()` of `UMcubeComponent` to generate the mesh!\n\n## Screenshots:\n![](https://raw.githubusercontent.com/mikhomak/Images/master/MarchinCubes/ScreenShot00011.png)\n![](https://raw.githubusercontent.com/mikhomak/Images/master/MarchinCubes/ScreenShot00010.png)\n![](https://raw.githubusercontent.com/mikhomak/Images/master/MarchinCubes/ScreenShot00004.png)\n\n## FAQ:\n**1) Does the mesh have collisions?**   \nYES, but you can disable them in *MCubeComponent.cpp* `    RuntimeMesh-\u003eCreateSectionFromComponents(0,\n                                             0,\n                                             0,\n                                             Vertices,\n                                             Triangles,\n                                             Normals,\n                                             UV,\n                                             VertexColors,\n                                             Tangents,\n                                             ERuntimeMeshUpdateFrequency::Infrequent,\n                                             true);` by setting the last argument to `false`.\n\n**2) Can you use it as a Terrain?**   \nYeap, but I recomend you for this purpouse to use [Voxel plugin](https://www.unrealengine.com/marketplace/en-US/product/voxel-plugin-free) which is cool as shit\n\n## Credits:\n* Thanks a lot to all the people who created/contributed to [RuntimeMeshComponent](https://github.com/TriAxis-Games/RuntimeMeshComponent)\n* Thanks a lot to [nialna](https://github.com/nialna) for her blogs and [PerlinNoiseComponent](https://github.com/nialna/PerlinNoiseComponent)\n* Thanks a lot to Paul Bourke for the [marching cubes article](http://paulbourke.net/geometry/polygonise/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikhomak%2FUe4MarchingCubes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikhomak%2FUe4MarchingCubes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikhomak%2FUe4MarchingCubes/lists"}