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

Add 'horizontal scale' and 'elevation scale' options #13

Open
amyworrall opened this issue Jul 20, 2016 · 4 comments
Open

Add 'horizontal scale' and 'elevation scale' options #13

amyworrall opened this issue Jul 20, 2016 · 4 comments

Comments

@amyworrall
Copy link

We think our current project would look better if everything (both distances and heights) were scaled by a factor of 1.2.

Any idea where I'd hook into in order to add that?

@cgutteridge
Copy link
Owner

Exactly the same place as before for distance. For height, these lines
https://github.com/cgutteridge/geocraft/blob/master/lib/Minecraft/Projection.pm#L101
& 102 should be really easy to hack. They get the surface DSM (top of
stuff like buildings) and terrain DTM (ground level of buildings and
trees) in metres for a given lat/long. A simple multiplier there should
fix it...

Gimmie a few minutes to look. It should be easy to add...

On 20/07/2016 19:57, amyworrall wrote:

We think our current project would look better if everything (both
distances and heights) were scaled by a factor of 1.2.

Any idea where I'd hook into in order to add that?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#13, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAfK6zHcpANXozliJOTaLx-vC5S21izmks5qXm-vgaJpZM4JRGLk.

Christopher Gutteridge -- http://users.ecs.soton.ac.uk/cjg

University of Southampton Open Data Service: http://data.southampton.ac.uk/
You should read the ECS Web Team blog: http://blogs.ecs.soton.ac.uk/webteam/

@cgutteridge
Copy link
Owner

Hey. OK --scale option now committed. I found some time between
Preacher, rum and arguing about the future of the labour party (or
confusingly discussing it anyhow)

On 20/07/2016 19:57, amyworrall wrote:

We think our current project would look better if everything (both
distances and heights) were scaled by a factor of 1.2.

Any idea where I'd hook into in order to add that?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#13, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAfK6zHcpANXozliJOTaLx-vC5S21izmks5qXm-vgaJpZM4JRGLk.

Christopher Gutteridge -- http://users.ecs.soton.ac.uk/cjg

University of Southampton Open Data Service: http://data.southampton.ac.uk/
You should read the ECS Web Team blog: http://blogs.ecs.soton.ac.uk/webteam/

@amyworrall
Copy link
Author

Loving your improvements!

Can generate_world.pl line 67 be

        "scale=f", \$scale,

So that we can use fractional scales? I've tested it and it works.

@cgutteridge
Copy link
Owner

done.

On 21/07/2016 17:46, amyworrall wrote:

Loving your improvements!

Can generate_world.pl line 67 be

|"scale=f", $scale, |

So that we can use fractional scales? I've tested it and it works.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#13 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAfK66HfsCwjPAdobCHt1yQKuov7ng_Dks5qX6JWgaJpZM4JRGLk.

Christopher Gutteridge -- http://users.ecs.soton.ac.uk/cjg

University of Southampton Open Data Service: http://data.southampton.ac.uk/
You should read the ECS Web Team blog: http://blogs.ecs.soton.ac.uk/webteam/

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