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

Nothing to render: -from X Z has to be <= -to X Z #64

Closed
JoaoLCordeiro opened this issue Feb 22, 2021 · 3 comments
Closed

Nothing to render: -from X Z has to be <= -to X Z #64

JoaoLCordeiro opened this issue Feb 22, 2021 · 3 comments
Assignees

Comments

@JoaoLCordeiro
Copy link

I'm trying to render part of a world and this error message always appears.
I'm using the pre-compiled version for windows and the imput is:

.\mcmap -from 700 0 -to 200 400 -min 50 -sw -v

And, the debug message with the error says:

[Debug] World spans from -6144.-7312.0 ~> 4095.6655.255 (North-West)
[Debug] Processed boundaries: 700.0.50 ~> 200.400.255 (South-West)
[Error] Nothing to render: -from X Z has to be <= -to X Z

The -sw option is used and the debug message says that is the correct direction.
What I can do?

@spoutn1k
Copy link
Owner

I see the confusion. The argument system is still a bit rustic, so it needs minX < maxX and minZ < maxZ. In your case, that comes down to:

.\mcmap -from 200 0 -to 700 400 -min 50 -sw -v

The orientation (-sw) is evaluated later and does not modify the order of the coordinates.

Hope that helps !

@spoutn1k spoutn1k self-assigned this Feb 22, 2021
@JoaoLCordeiro
Copy link
Author

Thanks for the REALLY FAST answer.
It works
I will upload the output just if you want to see...
Seriously, thank you very very much!
image

@spoutn1k
Copy link
Owner

You're welcome ! It's nice to see people using the tool. That is a cool portal too. Enjoy !

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