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

Script Brushes: Gaps between chunks or adts #96

Open
ihm-tswow opened this issue Aug 9, 2021 · 0 comments
Open

Script Brushes: Gaps between chunks or adts #96

ihm-tswow opened this issue Aug 9, 2021 · 0 comments

Comments

@ihm-tswow
Copy link
Collaborator

Transferred from tswow#41
Originally by https://github.com/gratural

I been playing with script functions in 0.0.3 and find that our favorite gaps have reason - different xy coordinate precision of points who living in various chunks and adt's.
As i see, FixAllGaps() func when merging pick only of 2 vertices from 4. And any action, like raise, bloor and fixGaps dont changed xy coords - only z.
As we know, between near each two grid edge 533.33333 / 16 / 8 = 4.16666... units. (Interesing, why not 512=4.0?)

Is possible changing FixAllGaps work algoryth - to set xy positions edged (boundary) vertices еxactly by 4.66666666666666666666666666666 * cell units?
Or even, make special function, which recalculate and move all existing lanscape by right coords?

adt
chunk
wmc_vert_tool.lua.txt

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

No branches or pull requests

2 participants