Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data type input #2

Open
Maddlovski opened this issue Jan 29, 2021 · 1 comment
Open

Data type input #2

Maddlovski opened this issue Jan 29, 2021 · 1 comment

Comments

@Maddlovski
Copy link

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

@Sarath18
Copy link
Owner

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:

  1. Try any of the sample images given with the repo (under images folder) to test if the code is working properly.
  2. Convert the TIFF data to png and then generate the world.

I'll try to add support for more file types in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants