overte-org / overte

Overte open source virtual worlds platform.
https://overte.org/
Other
136 stars 50 forks source link

Voxel did not save outer polygons #87

Open johappel opened 2 years ago

johappel commented 2 years ago

The new voxel terrains seem to be designed in such a way that they can be edited both outside and inside the visible output object.

grafik

Unfortunately, the externally designed polygons do not seem to be saved in conclusion:

grafik

after "Reload Content" the terrain is clearly redrawn. The outer areas are largely missing:

grafik

ksuprynowicz commented 2 years ago

Are you using the new edit tools from the Create App, or the old Voxels.js ones?

ksuprynowicz commented 2 years ago

It seems that the problem is caused by the function that adds sphere. After adding it, it should check the voxel data size and revert if it's too big. Should be possible to fix by copying code from the function that adds single voxels.