All Projects → bonsairobo → ilattice3

bonsairobo / ilattice3

Licence: MIT license
Data types, structures, and algorithms for 3D integer lattices (voxels)

Programming Languages

rust
11053 projects

Labels

Projects that are alternatives of or similar to ilattice3

Sucle
Common Lisp Voxel Game Engine
Stars: ✭ 239 (+1493.33%)
Mutual labels:  voxel
Blood-Voxel-Pack
Additional voxel models for Blood video game. Compatible with BuildGDX, NBlood, and Fresh Supply.
Stars: ✭ 42 (+180%)
Mutual labels:  voxel
parse-magica-voxel
Parse MagicaVoxel .vox files to javascript objects works in browser or server
Stars: ✭ 52 (+246.67%)
Mutual labels:  voxel
Intro-Voxel-Terrain-in-Unity
A course on making the easiest to understand voxel engine (in Unity) using the C#JobSystem.
Stars: ✭ 25 (+66.67%)
Mutual labels:  voxel
ObjToSchematic
A tool to convert .obj files into Minecraft Schematics
Stars: ✭ 156 (+940%)
Mutual labels:  voxel
voxel-editor
N-Space: a mobile app for building 3D interactive worlds
Stars: ✭ 39 (+160%)
Mutual labels:  voxel
Cupoch
Robotics with GPU computing
Stars: ✭ 225 (+1400%)
Mutual labels:  voxel
server
A voxel based game server.
Stars: ✭ 46 (+206.67%)
Mutual labels:  voxel
voxel-physics-engine
Simple but physical engine for voxels. Demo:
Stars: ✭ 59 (+293.33%)
Mutual labels:  voxel
chunkstories-api
API to write Chunk Stories mods, implemented by chunkstories
Stars: ✭ 17 (+13.33%)
Mutual labels:  voxel
voxel-builder
Voxel-based 3D modeling application
Stars: ✭ 31 (+106.67%)
Mutual labels:  voxel
Perlin-Noise-3D-Voxel-Generator
Voxel generator based on perlin 3d noise | Python OpenGL
Stars: ✭ 22 (+46.67%)
Mutual labels:  voxel
craftus reloaded
A second attempt at a homebrew Minecraft clone for 3DS
Stars: ✭ 44 (+193.33%)
Mutual labels:  voxel
Spatio temporal voxel layer
A new voxel layer leveraging modern 3D graphics tools to modernize navigation environmental representations
Stars: ✭ 246 (+1540%)
Mutual labels:  voxel
DynamicCities
Cities that get fancy!
Stars: ✭ 17 (+13.33%)
Mutual labels:  voxel
Proceduralterrain
Procedural voxel terrain generation in Unity
Stars: ✭ 237 (+1480%)
Mutual labels:  voxel
VoxMerger
Console program for merge multiple MagicaVoxel scenes (.vox)
Stars: ✭ 19 (+26.67%)
Mutual labels:  voxel
VoxelEngine
Custom voxel engine written in C++ and OpenGL
Stars: ✭ 44 (+193.33%)
Mutual labels:  voxel
dendro
volumetric modeling for grasshopper built on top of openvdb
Stars: ✭ 47 (+213.33%)
Mutual labels:  voxel
mine.js
🌏 A voxel engine built with JS/TS/RS. (formerly mc.js) (maybe mine.ts? or even mine.rs?)
Stars: ✭ 282 (+1780%)
Mutual labels:  voxel

ilattice3: Voxel Structures

DEPRECATION NOTICE: ilattice3 is being superceded by building-blocks

ilattice3 provides many useful types and functions for dealing with voxel data. The core types are Point, Extent, and the various "lattice maps," which allow storing (or generating), data at each point in a 3D integer lattice.

Consider this example which samples a signed distance function at each point and stores it in a compact vector structure.

fn sphere_sdf(p: &Point) -> f32 {
    let d = p.dot(p);

    (d - 10) as f32
}

let sample_extent = Extent::from_center_and_radius([0, 0, 0].into(), 20);
let sampled_sphere =
    VecLatticeMap::copy_from_map(&FnLatticeMap::new(sphere_sdf), sample_extent);

In addition to the FnLatticeMap and VecLatticeMap, there are:

  • ChunkedLatticeMap: a sparse lattice map implemented as a "compressible map" of VecLatticeMaps
  • PaletteLatticeMap: a ChunkedLatticeMap where data shared between voxels lives in a separate "palette" vector

Other miscellaneous features:

  • conversion to/from VOX format
  • conversion to/from RgbaImage format

There are also companion modules:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].