When using facets to do tree generation, I came across a couple problems when it comes to extending the viewport of facet data outside the bounds of the original region (using border3d). This is important so that trees that straddle chunk boundaries can be generated in both chunks the same way.
1. Noise that is across the region boundary needs to be mirrored so that when the neighboring region generates the noise naturally, it matches.
Build mirroring into each facet producer? or can we build in something automatic to avoid errors?
2. Extending the viewport of facet data means that all (or most) facets need to also be extended the same amount so that the facet being produced can lookup values from other facets.
Dont allow facets to define a custom border? or fix all the facet's borders to the largest defined border?
Thanks for the input,
Josharias
1. Noise that is across the region boundary needs to be mirrored so that when the neighboring region generates the noise naturally, it matches.
Build mirroring into each facet producer? or can we build in something automatic to avoid errors?
2. Extending the viewport of facet data means that all (or most) facets need to also be extended the same amount so that the facet being produced can lookup values from other facets.
Dont allow facets to define a custom border? or fix all the facet's borders to the largest defined border?
Thanks for the input,
Josharias