Voxel module for Godot Engine
Go to file
2016-05-10 04:42:30 +02:00
screenshots Added screenshot and feature list 2016-05-04 14:52:41 +02:00
.gitignore Added project: first working prototype, but lots of TODOs 2016-05-01 15:00:02 +02:00
config.py Added project: first working prototype, but lots of TODOs 2016-05-01 15:00:02 +02:00
README.md Added screenshot and feature list 2016-05-04 14:52:41 +02:00
register_types.cpp Added VoxelMap and VoxelTerrain + various fixes 2016-05-10 01:59:54 +02:00
register_types.h Added project: first working prototype, but lots of TODOs 2016-05-01 15:00:02 +02:00
SCsub Removed useless line in SCsub 2016-05-05 21:09:13 +02:00
vector3i.h Fixed Vector3::sort_min_max() 2016-05-10 02:46:33 +02:00
voxel_buffer.cpp Fixed VoxelBuffer::fill_area() 2016-05-10 03:10:20 +02:00
voxel_buffer.h Removed internal offset from VoxelBuffer and improved Vector3i 2016-05-08 02:12:47 +02:00
voxel_library.cpp Facet extraction works with transparent sides 2016-05-05 02:12:23 +02:00
voxel_library.h Added VoxelLibrary, texture coordinates and random stuff 2016-05-01 22:20:27 +02:00
voxel_map.cpp Added VoxelMap and VoxelTerrain + various fixes 2016-05-10 01:59:54 +02:00
voxel_map.h Added VoxelMap and VoxelTerrain + various fixes 2016-05-10 01:59:54 +02:00
voxel_mesher.cpp Index meshes 2016-05-10 04:42:30 +02:00
voxel_mesher.h Added VoxelMap and VoxelTerrain + various fixes 2016-05-10 01:59:54 +02:00
voxel_terrain.cpp Added VoxelMap and VoxelTerrain + various fixes 2016-05-10 01:59:54 +02:00
voxel_terrain.h Added VoxelMap and VoxelTerrain + various fixes 2016-05-10 01:59:54 +02:00
voxel.cpp Renamed VoxelMeshBuilder => VoxelMesher 2016-05-08 01:09:00 +02:00
voxel.h Added VoxelLibrary, texture coordinates and random stuff 2016-05-01 22:20:27 +02:00

Voxel Tools for Godot

C++ module for creating cube-esque voxel worlds in Godot Engine.

Example screenshot

Features

  • Compact voxel storage using 8-bit channels like images
  • Calculates meshes based on grid of voxels. Only visible faces are generated.
  • Vertex-based ambient occlusion (comes for free at the cost of slower mesh generation)
  • Voxels can be of any shape, not just cubes (not fully accessible yet but present in code)

Ideas TODO

  • VoxelMap node for infinite voxel terrain
  • VoxelStreamer node to put on players so terrains know which voxels to load around them
  • Physics!
  • Make voxels editable
  • Support internal threading
  • Support saving and loading
  • Promote classes to Node and Resource for better editor experience
  • Interface for terrain generation modules (I don't plan to integrate a noise library in this module, unless it's integrated in Godot core)
  • Support structure generation (anything that is bigger than one voxel)
  • Convert any imported meshes to Voxel-compatible meshes (to comply with a few optimizations)
  • Generate Mesh resources from voxels so they can be used in the editor as MeshInstances
  • Import resources from other editors like Magicka-voxel
  • Volumetric grid algorithms: fluids, pathfinding, lighting...