This is a command line tool made with .NET to generate 3d terrain from grayscale HeightMaps
Explore the docs »
Report Bug
Request Feature
This tool generates a wavefront obj file from grayscale heightmaps.
Using the heightmap of Pasedena, California given in the sample heightmap folder.
- .NET
To get a local copy up and running, follow these simple steps.
This Visual Studio Project targets .NET 8.
- Clone the repo
git clone https://github.com/shanto462/HeightMapTo3dTerrain.git
- Restore Nugets packages and Build
Or
- Download from Release.
HeightMapTo3dTerrain.exe -sourcefile -destinationfile -minHeight -maxHeight
Make sure input image has same width and height
HeightMapTo3dTerrain.exe /dir/a.png /dir/out.obj -200 200
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Name - Shanto
Email - shalahuddinshanto@gmail.com
Project Link: https://github.com/shanto462/HeightMapTo3dTerrain