Skip to content

Script Brushes: Gaps between chunks or adts #96

@ihm-tswow

Description

@ihm-tswow

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions