redeclipse.voxel package

We can’t work with octrees. Just… no.

So we work in a voxel world, and then convert this to an octree with the small resolution cube that makes sense, and then let RE optimise the map when need be.

class redeclipse.voxel.VoxelWorld(size=128)[source]

Bases: object

del_point(x, y, z)[source]
del_pointv(xyz)[source]
get_point(x, y, z)[source]
set_point(x, y, z, data)[source]
set_pointv(xyz, data)[source]
to_octree(x_bounds=None, y_bounds=None, z_bounds=None, layers=False)[source]