terrain_generator
terrain_generator copied to clipboard
Data type input
Hello Sarath18,
first of all thanks for sharing the Python script with us. I am totally new in that topic and I am trying to use the wizard for some work I am doing. Is there a special data type required as input? I am trying to use TIFF data to create terrain. Whenever I enter the location the following output shows up and the program stops working: "terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr: __pos (which is 140) > this->size() (which is 0)"
Is there anything I am doing wrong ?
Best regards,
Martin
Hey Martin,
The wizard currently takes in the heightmap input as png files. I haven't tested it out with TIFF data.
What you can do now is:
- Try any of the sample images given with the repo (under images folder) to test if the code is working properly.
- Convert the TIFF data to png and then generate the world.
I'll try to add support for more file types in the future.