WGPU + RUST

VIVIA

Voxel survival engine with real-world NASA climate data and an embedded MeMLP neural network. Rust + wgpu.

vivia โ€” neural voxel engine
$ git clone https://github.com/BartoszOsiej/NV2_ENGINE && cd NV2_ENGINE/Core
$ cargo run --release
Compiling nv2_engine v0.1.0
Release build optimized
wgpu adapter: initialized
[climate] embedded NASA POWER grid ready โ€” 9 biomes
[ai] MeMLP ready: vegetation / biome / texture heads
$ # voxel survival ยท real climate ยท neural terrain

What it does

A from-scratch game engine โ€” not a framework, not a tutorial.

๐Ÿง 

MeMLP Neural Terrain

An embedded neural network (ndarray, pure CPU) learns vegetation placement, biome classification and texture styles while you play โ€” trained online in a background thread, checkpointed as ~14 KB JSON.

Machine Learning
๐ŸŸฆ

Voxel Engine

Full voxel pipeline: chunk loading, greedy meshing, block interaction, inventory/crafting. GPU-driven rendering with wgpu โ€” no OpenGL, no Vulkan SDK.

wgpu
๐ŸŒ

Real-Climate Worlds

Every seed maps to a real location on Earth. NASA POWER climatology drives biomes, weather and sky; Open-Meteo feeds the online trainer. Offline fallback keeps worlds fully playable.

NASA POWER
๐ŸŽฎ

Gameplay Loop

Menus, save/load, item handling, block placement, world simulation. A complete playable game, not a graphics demo.

Game Design
๐Ÿ“ฆ

MIT + Releases

MIT-licensed engine. Portable Linux & Windows builds on GitHub Releases. Docker images on GHCR.

Distribution
๐Ÿช

Epic Games Store

Build pipeline for EGS integration. Linux and Windows portable builds. itch.io DRM-free distribution.

Publishing

Architecture

From input to pixels โ€” the full pipeline.

Input
SDL / Events
โ†’
Game Logic
Loop + State
โ†’
Terrain
OpenSimplex2 + MeMLP
โ†’
Meshing
Chunk Voxels
โ†’
GPU
wgpu Render

By the numbers

0%
GC pauses (Rust)
60+
FPS target
100%
Custom engine
2
Platforms (Win/Linux)
โˆž
Neural terrain

Quick start

install
# From crates.io
$ cargo install nv2_engine
$ nv2_engine
โ–ธ VIVIA v0.1.0 starting...
โ–ธ Neural terrain: loaded
โ–ธ wgpu renderer: initialized
# Or from Docker
$ docker pull ghcr.io/bartoszosiej/nv2_engine