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

Show chunk borders #542

Merged
merged 5 commits into from
May 26, 2024
Merged

Show chunk borders #542

merged 5 commits into from
May 26, 2024

Conversation

TechnicJelle
Copy link
Member

@TechnicJelle TechnicJelle commented May 13, 2024

image
image

Should probably add a toggle for it, though.
And a way to customise the colour.

@TBlueF
Copy link
Member

TBlueF commented May 13, 2024

Great work!
I'll not merge this without a toggle, though ^^

@TechnicJelle
Copy link
Member Author

Aw dangit, I was hoping I wouldn't have to do that myself :p

@TBlueF
Copy link
Member

TBlueF commented May 13, 2024

I mean .. you can also wait for me to do it, but then it'll end up on the todo and probably take a while to be prioritised ^^

@TechnicJelle
Copy link
Member Author

TechnicJelle commented May 13, 2024

Fair enough...
I guess I'll see how horrific vue.js is, then :p

The hires tiles just always had the chunkborders on them.
But the "fade out" distance of those models was 1000.
While the fade distance of the chunkborders on lowres tiles was between 200 and 600.
This would cause an uneven fadeout between the lowres tiles and the hires tiles.
@TBlueF
Copy link
Member

TBlueF commented May 14, 2024

If you move the show-chunk-borders variable away from the appState directly to the mapviewer and do it like the sunlightStrength and ambientLight sliders do it, then you don't need to extend the poor MapViewer constructor =)

And then i am happy :3

@TBlueF TBlueF merged commit fc83777 into BlueMap-Minecraft:wip/v5 May 26, 2024
@TechnicJelle TechnicJelle deleted the wip/v5 branch June 9, 2024 00:14
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

Successfully merging this pull request may close these issues.

2 participants