Spectra 1.23
Ray tracing library · C API · CPU and NVIDIA GPU · Windows, Linux, MorphOS

Spectra

A path tracer with a physically based material, and a fast direct-lighting renderer, in one static library with a plain C interface. These pages tell how to render with its tools and how to build it into your own program.

A beam of white light passes through a glass prism and fans out into the colours of the spectrum on a table, in light haze
The scene Spectra starts with: white light through a glass prism, spread into colours. Haze makes the beams visible. spectra-cli --scene beam

Manual · rendering with the tools: sample scenes, models, lights, cameras, the picture, the render server

English

User manual

Polski

Podręcznik użytkownika

Deutsch

Benutzerhandbuch

Français

Manuel d'utilisation

Español

Manual de usuario

Italiano

Manuale d'uso

Українська

Посібник користувача

中文

用户手册

SDK guide · programming with the library: linking, scenes, materials, shaders, sessions, every function

English

SDK guide

Polski

Opis SDK

Deutsch

SDK-Handbuch

Français

Guide du SDK

Español

Guía del SDK

Italiano

Guida all'SDK

Українська

Посібник з SDK

中文

SDK 指南

What it does

Physically based

One material in the style of the Principled BSDF: metal, plastic, glass from clear to frosted with dispersion, clear coat, sheen, anisotropy, subsurface scattering, thin films.

Light as it is

Global illumination, caustics followed from the lights, volumes of smoke, cloud and fire, a computed sky with the sun, HDR environment maps, measured lamps from IES files.

Made to be embedded

C99 header, static library, no C++ runtime, no dependencies. Sessions render in steps for a live preview. Every result is the same, bit for bit, on any number of threads.

Anywhere

Windows, Linux and MorphOS on PowerPC; an NVIDIA GPU when there is one; a server that lets a machine without a GPU render on one that has it.

Gallery · every sample scene, rendered, with its command: in the manual