A Blender render engine that renders 3D Gaussian splat objects with Spirula Studio's own rasterizer, the renderer the models were trained with, instead of approximating them in EEVEE or Cycles.
Two copies of a 3-million-splat bee scan, nose to nose, relit by a tungsten lamp orbiting them. Shot through Vintage Click's Petzval 85 mm at f/5.6 (its depth of field, swirl and single-coated flare, ghosts with dust and fungus) on Backlot 800T. 72 frames at 1280x720, about 80 s per frame with shadows and 12 lens samples on a MacBook Pro with M2 Pro. MP4
Pick Spirula (3DGS) as the render engine; F12 and Render Animation work as usual, from the scene camera. Splats erased with the Gaussian Splat Patch add-on are left out.
Status: early. Final renders and the viewport's Rendered mode (perspective, orthographic and camera view; renders at half resolution by default). Any number of splat objects (merged per frame in world space, so they overlap and shadow each other), perspective scene cameras. macOS on Apple Silicon is tested; Windows and Linux builds are experimental (see Platforms). With Relight on, the scene's lights light the splats, and the splats shadow themselves and each other.
New in 0.11 to 0.13: lens flare from any light shining into the lens, the 25 lens filters from Vintage Click (cross screens, diffraction gratings, soft focus, fog, black-and-white contrast and colour correction), and its rangefinder lenses. Since 0.13 the flare and gratings follow each light's spectrum, and old lenses' ghosts show dust, scratches, fungus and bubbles.
The full 3-million-splat bee through the Spectral Star 042 grating, lit from behind by a tungsten lamp.
You need Blender 5.3 or newer and one of:
| System | Download | Status |
|---|---|---|
| macOS, Apple Silicon (M1 or later) | spirula_render-<version>-macos-arm64.zip |
Tested |
| Windows 10/11, 64-bit, with a Vulkan GPU driver | spirula_render-<version>-windows-x64.zip |
Experimental |
| Linux, 64-bit, with a Vulkan GPU driver | spirula_render-<version>-linux-x64.zip |
Experimental |
- Open the latest release and download the zip for your system. Don't unzip it.
- In Blender: Edit > Preferences > Get Extensions, open the ⌄ menu at the top right, choose Install from Disk... and pick the zip. (Dragging the zip onto the Blender window works too.) It's enabled straight away.
- In Render Properties, set Render Engine to Spirula (3DGS).
- Import a splat model: File > Import > Stanford PLY (.ply) reads 3DGS PLY files (as exported by trainers such as Spirula Studio, Brush or SuperSplat) as point clouds.
- Add a camera if the scene has none and press F12, or switch a 3D viewport to Rendered shading.
To update, install the newer zip the same way; it replaces the old version (restart Blender afterwards, since the renderer library stays loaded). To remove it: Preferences > Add-ons > Spirula Render > ⌄ > Uninstall.
If it doesn't work:
- "The renderer library is missing": the zip is for another system; download the one for yours.
- Windows/Linux: the renderer needs a Vulkan GPU driver (any current NVIDIA, AMD or Intel driver
has one;
vulkaninfofrom the Vulkan SDK shows it). Please open an issue with what you see: those builds haven't been tried on a real Windows or Linux machine yet. - Meshes in a scene are rendered through Blender's own Cycles, which must stay enabled (it is by default).
The renderer is Spirula Studio's, as a library with a small C interface; the rest of the add-on is
Python and Blender's own GPU API, the same on every system. Each release has one zip per system,
built on GitHub Actions from upstream Spirula Studio plus the patch in spirula_patch/:
- macOS (Apple Silicon): MoltenVK linked in. Tested on an M2 Pro.
- Linux (x64): built and tested on GitHub's runners with a software Vulkan device (Mesa lavapipe), which checks it renders correctly, not how it runs on a real GPU.
- Windows (x64): built on GitHub's runners and checked to load; not yet run on a real machine.
Reports from Windows and Linux users are very welcome.
The camera bag and film fridge of Vintage Click, the vintage 35 mm camera game built on the same renderer, are in the Spirula panel: 47 classic manual-focus lenses in seven shelves (field primes, screw-mount classics, bokeh monsters, macro, exotics, toys and mods, and the rangefinder's own lenses) and 17 film stocks, all made-up names "inspired by" real ones.
Lens: sets the scene camera's focal length (36 mm film), f-stop range and blades, and turns on depth of field. Final renders then expose through it the way the game's shutter does: the splats are rendered from sub-pupils of the lens, each through the renderer's own lens projection, so the lens's character comes from the same code as in the game:
- the bokeh's shape: blades, a round or oval stop, a mirror lens's ring, rim-bright soap bubbles or rim-dark smooth discs;
- cat's eyes toward the corners (the barrel clipping off-axis pupils), and swirl where the field curves (Petzval, Helios-type, reversed elements);
- spherical-aberration glow wide open, axial colour fringes in the bokeh (64+ samples), lateral colour and light fall-off toward the corners, a mod's horizontal streak flares;
- tilt (the Bendy: Tilt in the panel) and shift (PC lenses: the camera's own Shift X / Y);
- focusing close as a real lens does: the magnification at the focused distance (the macros reach their published 1:2 or 1:1), the light lost to it (the bellows factor, N (1 + m): a third of a stop for a 50 mm at 0.45 m, two stops for the 60 mm macro at 1:1) and focus breathing (the picture grows by 1 + m; the internal-focus 200 mm widens a little instead). The panel shows both for the current focus, to compensate with Film Exposure. Breathing is in final renders (the camera's focal length is scaled for the render and put back after).
Meshes follow every sub-pupil too, including the tilted or curved focus and the barrel's clipping. Looking through the scene camera, the viewport shows the lens's depth of field as the game's finder does (one render of the whole pupil).
Lens flare (Light properties > Spirula > Lens Flare, for each light): a light shining into the lens flares as the chosen lens would, with the game's model. You get the light's own face at its true brightness (a point or spot light's sphere, an area light's panel, the sun's disc) with the bloom round it, veiling glare, a faint ring, and ghosts of the iris strung along the line through the frame's centre: round wide open, the blades' polygon stopped down, fringed in colour, softer toward the edges, each with its own focus. Single-coated lenses (the Exotic and Toys shelves, the Petzval, the Holga) throw ghosts about ten times brighter than multi-coated ones. Stopped down, the iris's corners throw a starburst (2n spikes for an odd number of blades) from a light in focus. Brightness is physical, in the same units as the relighting, so a light only flares visibly when it's much brighter than the scene; a light behind the scan or a mesh flares only as much of it as shows. With Blender's own camera (no lens chosen) the flare is a modern multi-coated lens with the camera's aperture blades. It's in final renders and, through the scene camera, in the viewport.
The flare is worked out wavelength by wavelength from the light's Spectrum (Light properties >
Spirula): From Colour (a smooth spectrum fitted to the light's colour), Tungsten (at its
temperature), Daylight, White LED, Fluorescent, Sodium, Low-Pressure Sodium or Mercury Vapour.
Match Colour to Spectrum sets the light's colour to match. The glass's dispersion bends each
part of the spectrum its own amount, so a ghost's edge runs continuously through the colours, as
strong in each as the light is there. A diffraction grating lays the same spectrum along its
spikes, order by order: a tungsten lamp's rainbow is dim blue and strong red, an LED's a bright
blue band then yellow, a fluorescent tube's separate coloured dots (its lines), a low-pressure
sodium lamp's single orange dots. Highlights in the scan spike from a smooth spectrum fitted to
their colour. The spectra and gel curves come from Vintage Click (tools/make_spectra.py there).
One grating, four lamps: each spreads its own spectrum.
Old glass shows its age in the ghosts, as in the game. Every bag lens carries some dust (dark specks with a faint bright fringe), the old, rare and home-made ones more, with cleaning marks, coating scratches (which also throw soft streaks through a bright light) and on some of them fungus (a dark branching lace). The Soviet and old Jena glass has seed bubbles. Worn glass scatters more glare. Each lens's flaws are its own, and each ghost shows those of a different element.
Ghosts close up, from the full-bee renders above.
Filter (under Lens): the 25 filters from Vintage Click's bag, screwed on the front of the lens.
- Neutral density (ND2 to ND64), the black-and-white contrast filters (yellow, orange, red, deep red, green, blue: they change how colours turn to grey on a black-and-white stock) and colour correction (skylight, warming, 85B amber for tungsten film in daylight, 80A blue for daylight film under tungsten): each colour passed in its own measure.
- Cross screens (4, 6, 8 rays) and diffraction gratings (rainbow rays) off every point well above the frame's average brightness, and from flaring lights.
- Soft/glow, haze and fog: a glow round highlights, the image mixed with a little blur, a veil lifting the shadows.
- Any filter's flat glass adds a small ghost of a flaring light, mirrored through the frame's centre.
Meter Through Filter (on by default) makes up the light the filter takes, as the game's through-the-lens meter does; the panel shows the filter factor. Lenses with a rear filter slot (the mirror lens, the widest) take colour only, no effects. Filters are in final renders and, through the scene camera, in the viewport.
Film: develops final renders on the stock: its characteristic curve (toe, shoulder, black level), dye crosstalk and balance (tungsten stocks go blue in neutral light), saturation, black-and-white or colour-infrared response, grain by speed, halation on stocks without an anti-halation layer, and push / pull development. The viewport shows the stock's colour and curve (grain and halation are final only). Use the Standard view transform: the film is the tone mapping.
Lens blur depends on the scene's real size (see Depth of field below): a scan is usually a small
object, so set Scene > Units > Unit Scale to its real size per unit. The data comes from the
game's source (tools/import_optics.py regenerates spirula_render/optics.json). Fisheyes are
the game's only lenses not here: the engine renders perspective views.
Turn on the camera's Depth of Field (Camera properties) as for any Blender render: focus distance or focus object, f-stop, blades. Final renders then render the splats from Depth of Field Samples points across the lens (Spirula panel, default 32) and average them, so out-of-focus fur blurs over what's behind it as a real lens would. Relighting is done once per frame; each sample is one more splat render (about 0.3 s for a 3M-splat model at 1080p). Meshes are rendered sharp by Cycles and moved to each lens point by their depth, so they blur with the splats and meet them correctly in every sample. The viewport doesn't show depth of field; the render window shows the blur building up every 8 samples.
Blur depends on the scene's real size: Blender works out the lens opening from the focal length and f-stop in metres. A scan imported at its training scale (a 13 mm bee that is 13 units long) needs Scene > Units > Unit Scale set to its real size per unit (0.001 if a unit is a millimetre), or the lens is far too small to blur anything. Strong blur needs more samples (64-128) to stay smooth.
One final render, one point light at the front left:
- Meshes shadow splats: the three slats cast stripes across the left bee's fur.
- Splats shadow meshes: both bees cast soft fur shadows across the floor.
- Splats shadow splats: the left bee shades the right one, and each shades itself.
- Splats in a mirror: the mirror shows the bees' backs, a side the camera can't see.
- Light off the mirror: the lamp's light bounces off the mirror onto the bees' backs (Mirror Light: each light's image behind a mirror or polished metal plane, shining through its outline, shadowed by the splats and meshes in front of it). It lights the splats only; meshes get no bounced light from mirrors.
- Splats in a glossy floor: the bees are reflected, blurred by the floor's roughness.
- Meshes in meshes (Cycles): the ball, slats and frame are reflected in the floor and the mirror.
Polygon objects (planes, text, rulers, frames, any mesh) render with the splats. In final renders they're path traced by Blender's own Cycles, run inside this engine, so their materials, textures and mesh-on-mesh shadows and reflections are Cycles'. The engine joins them up with the splats:
- Depth: meshes and splats meet per pixel, so fur in front of a plane stays in front of it.
- Splats shadow meshes: each light's contribution on a mesh is dimmed by the splats' own shadow maps (the ones the splats shadow themselves with), so fur casts soft, see-through shadows.
- Meshes shadow splats: mesh triangles are drawn into each light's shadow map.
- Reflections: flat shiny meshes (floors, mirrors) reflect the splats, as strongly as their material reflects and blurred by its roughness. Curved meshes don't reflect the splats.
- Always on Top (Object properties > Spirula): draws a mesh over the splats even where they're in front of it, for labels, rulers and highlight frames.
Cycles never sees the splats (they're hidden from its rays while it renders), and its lights are converted to this engine's units, so a light gives a mesh and a splat the same brightness. Mesh samples, device and denoising are in the Spirula render panel.
The viewport draws a fast GPU preview of the meshes (base colour or image texture, the same lights, the splats' shadows on them, their shadows on the splats). Mesh-on-mesh shadows and reflections are final-render only.
The renderer library is built from a branch of Spirula Studio (blender-render, target
spirula_render), which adds a small C interface (src/blender/SplatRenderC.cpp).
The library in each release zip is built from
Spirula Studio (GPL-3.0) at the upstream commit in
spirula_patch/UPSTREAM_BASE.txt, plus spirula_patch/spirula-local-changes.patch (which adds the C
interface src/blender/SplatRenderC.cpp and the spirula_render CMake target).
.github/workflows/build.yml does this on every tag for all three systems. By hand, with the
Vulkan SDK (Windows, Linux) or Xcode tools (macOS), CMake and Ninja:
git clone https://github.com/harry7557558/spirula-studio spirula && cd spirula
git checkout "$(cat ../spirula_patch/UPSTREAM_BASE.txt)"
git apply ../spirula_patch/spirula-local-changes.patch
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DSS_BACKEND=vulkan -DSS_ENABLE_PATENTED=ON
cmake --build build --target spirula_render
cd .. && python tools/smoke_test.py spirula/build/libspirula_render.so # optional test render
python tools/package.py --lib spirula/build/libspirula_render.so --platform linux-x64(On Windows the library is spirula/build/spirula_render.dll and the platform windows-x64, built
from a Visual Studio developer prompt; on macOS libspirula_render.dylib and macos-arm64.)
License: GPL-3.0-or-later.









