# pixelguys/cubyz

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/pixelguys-cubyz).**

3,173 stars · 192 forks · Zig · gpl-3.0

## Links

- GitHub: https://github.com/PixelGuys/Cubyz
- awesome-repositories: https://awesome-repositories.com/repository/pixelguys-cubyz.md

## Topics

`3d-game` `cubyz` `game` `procedural-generation` `sandbox` `sandbox-game` `voxel` `voxel-game` `zig`

## Description

Cubyz is a voxel game engine designed for building procedurally generated 3D sandbox worlds. It provides a framework for creating infinite landscapes with real-time terrain modification and exploration, supported by a dedicated voxel rendering engine.

The project features a procedural terrain generator that utilizes a chunk-based system to allow for massive vertical construction without height or depth limitations. It optimizes performance through a distance-based rendering system that simplifies the geometric complexity of distant landscape elements to maintain wide view distances.

The engine includes a procedural crafting system for generating specialized equipment and utility items. These capabilities are supported by an underlying architecture of spatially-partitioned data structures, asynchronous chunk loading, and procedural mesh generation.

## Tags

### Game Development

- [Voxel Engines](https://awesome-repositories.com/f/game-development/game-engines-frameworks/game-engines/voxel-engines.md) — Provides a full framework for building and manipulating procedurally generated 3D voxel sandbox worlds.
- [Spatial Partitioning Systems](https://awesome-repositories.com/f/game-development/engine-architecture/spatial-partitioning-systems.md) — Organizes world elements into a grid of chunks for fast lookup and modification of 3D coordinates.
- [Voxel World Generation](https://awesome-repositories.com/f/game-development/simulation-engines/simulation-worlds/voxel-world-generation.md) — Creates interactive 3D block-based grid environments through procedural generation that players can modify in real time. ([source](https://cdn.jsdelivr.net/gh/pixelguys/cubyz@master/README.md))
- [Infinite Terrain Generators](https://awesome-repositories.com/f/game-development/tooling-asset-pipeline/procedural-generation/infinite-terrain-generators.md) — Generates infinite 3D landscapes using procedural noise and chunk-based management.
- [Procedural Recipe Generation](https://awesome-repositories.com/f/game-development/automated-item-manufacturing/complex-item-crafting/procedural-recipe-generation.md) — Combines item inputs with predefined logic to generate a wide variety of specialized tools and equipment.
- [Infinite Vertical Construction](https://awesome-repositories.com/f/game-development/infinite-vertical-construction.md) — Removes height and depth limitations for the construction of massive vertical architectural projects.
- [Item Collection and Crafting Systems](https://awesome-repositories.com/f/game-development/item-collection-and-crafting-systems.md) — Provides a system for generating specialized equipment and utility items to expand gameplay capabilities.
- [Chunk-Based Vertical Building](https://awesome-repositories.com/f/game-development/level-construction/chunk-based-vertical-building.md) — Enables the construction of massive vertical structures without height or depth limitations. ([source](https://cdn.jsdelivr.net/gh/pixelguys/cubyz@master/README.md))

### Graphics & Multimedia

- [Procedural Mesh Generation](https://awesome-repositories.com/f/graphics-multimedia/real-time-neural-renderers/real-time-3d-rendering-engines/procedural-mesh-generation.md) — Programmatically creates 3D mesh geometry in real time using mathematical noise functions for varied terrains.
- [Distance-Based LOD Management](https://awesome-repositories.com/f/graphics-multimedia/scene-visibility-controllers/distance-based-lod-management.md) — Reduces geometric complexity of distant landscape sections based on camera distance to maintain high performance.

### Operating Systems & Systems Programming

- [World Chunking](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-core-internals/process-and-memory-management/memory-management/buffer-and-cache-management/chunked-memory-management/world-chunking.md) — Divides the 3D world into discrete cubic segments to manage memory and enable efficient environment loading.
- [Asynchronous World Loading](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-core-internals/process-and-memory-management/memory-management/buffer-and-cache-management/chunked-memory-management/world-chunking/asynchronous-world-loading.md) — Implements background threading for loading spatial world chunks to prevent main loop stutters during exploration.

### Software Engineering & Architecture

- [Level-of-Detail Renderers](https://awesome-repositories.com/f/software-engineering-architecture/performance-reliability/performance-optimization/frontend-rendering-loading/rendering-optimizations/level-of-detail-renderers.md) — Simplifies visual representations of distant terrain to optimize rendering performance and maintain wide view distances.
