HeightMapTo3dTerrain

A command line tool developed with .NET to generate 3d Terrain from HeightMap

HeightMapTo3dTerrain

This is a command line tool made with .NET to generate 3d terrain from grayscale HeightMaps
Explore the docs » Report Bug Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgements

About The Project

This tool generates a wavefront obj file from grayscale heightmaps.


Using the heightmap of Pasedena, California given in the sample heightmap folder.

Built With

  • .NET

Getting Started

To get a local copy up and running, follow these simple steps.

Prerequisites

This Visual Studio Project targets multiple runtimes.
You will need .NET 5.0, .NET Core 3.1 and .NET Framework.

Installation

  1. Clone the repo
    git clone https://github.com/shanto462/HeightMapTo3dTerrain.git
    
  2. Restore Nugets packages and Build

Or

  1. Download from Release.

Usage

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

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Name - Shanto


Email - [email protected]

Project Link: https://github.com/shanto462/HeightMapTo3dTerrain