Back to all projects

Nexara

A desktop 3D app in C++23 with Maya-style modelling, node-based geometry, materials and scripts, animation and rigging, and a renderer.

146k
Lines of code
410
Catch2 test cases

Nexara is a desktop 3D application for polygon modelling, procedural geometry, materials, UVs, animation, rigging and rendering. It is still in development; the UV editor and the remaining limitations in the roadmap are next.

The code is split into 23 modules under src/, and each module links only to the modules below it. Modelling operators contain no UI code, which lets 410 Catch2 tests run without a window or a GPU. The OpenGL backend sits behind a render_device interface and is the only code that calls GL.

The video above is Candlelit Sanctum, a scene built in Nexara with scanned CC0 assets from Poly Haven and rendered at 2560x1440. The renderer handles sun and sky lighting, height fog, reflections, subsurface scattering, transmission, render passes and EXR output.

The dense-mesh work is measured in the release build. On a 1M-face mesh, extrude takes 223 ms, bevel 315 ms and delete 278 ms.

Drag between sockets to rewire the graph, and drag a node by its title to move it. M mutes a node, which passes its input straight through. This is a small JavaScript version written for this site. Nexara's graph is C++.

Modelling

Half-edge meshes that retain n-gons, with Maya-style component editing and modal tools.

Modifiers

A non-destructive stack on every object, including BSP booleans and Catmull-Clark subdivision.

UVs and export

Least squares conformal unwrapping, packing, and import and export through FBX, glTF, USD and EXR.

Fluid Domain

A FLIP/PIC water solver with obstacles and surface meshing, plus cloth and rigid bodies.

Geometry scripting

Node graphs that generate and edit meshes, curves and instances, with timings shown on every node.

Shader scripting

Material node graphs that compile to GLSL for the pixel and vertex stages.

Visual scripting

Blueprint style scripts with execution pins, variables and timed events, attached to scene objects.

Inferno

A shader and geometry script render at 4K with 256 samples, ambient occlusion and bloom.

Renderer

A sample-accumulated renderer with fog, reflections, transmission, render passes and EXR output.