← all repositories
microsoft/renderformer

RenderFormer Treats Ray Tracing as a Token Translation Task

RenderFormer is a generalized neural renderer that treats a 3D triangle mesh as a token sequence and paints it into a globally illuminated image, no per-scene training required.

965 stars Python Other AI
renderformer
Not currently ranked — collecting fresh signals.
star history

What it does

RenderFormer takes a triangle mesh scene—complete with materials and lights—and renders a finished image using only learned transformers. It handles specular reflections, soft shadows, diffuse bounces, and multiple light sources without any per-scene optimization or fine-tuning. The pipeline runs on common hardware (8 GB GPU) and outputs linear HDR frames suitable for tone mapping or video sequences.

The interesting bit

Instead of simulating photons with ray tracing or radiosity, the authors frame rendering as a sequence-to-sequence translation problem: triangles become input tokens, and small pixel patches become output tokens. A two-stage transformer first computes view-independent light transport between triangles, then a second stage turns ray bundles into final colors guided by that global light field. It is essentially a language-model architecture trained to speak in patches and prisms.

Key highlights

  • Pre-trained models (205M and 483M parameters) generalize to unseen scenes out of the box.
  • Two-stage transformer: one pass for triangle-to-triangle light transport, one for view-dependent pixel synthesis.
  • Runs on Linux, macOS, or Windows with NVIDIA CUDA or Apple Silicon.
  • Outputs linear HDR .exr and tone-mapped .png; supports batch and video rendering.
  • Includes a Blender extension and JSON scene format for bringing custom meshes.

Caveats

  • The released models were re-trained after a shader bug was found in the original submission data, so outputs may differ from the SIGGRAPH 2025 paper.
  • Scene setup requires converting custom meshes to an HDF5 format via provided scripts; it is not a drop-in Blender replacement yet.
  • Material support is currently limited: specular and emissive colors must be white, and diffuse plus specular albedo cannot exceed 1.0.

Verdict

Graphics researchers and neural-rendering hackers should grab this to see how far a pure transformer can get without physics priors. Traditional path-tracing purists will likely find the approximations and material limits frustrating.

Frequently asked

What is microsoft/renderformer?
RenderFormer is a generalized neural renderer that treats a 3D triangle mesh as a token sequence and paints it into a globally illuminated image, no per-scene training required.
Is renderformer open source?
Yes — microsoft/renderformer is open source, released under the MIT license.
What language is renderformer written in?
microsoft/renderformer is primarily written in Python.
How popular is renderformer?
microsoft/renderformer has 965 stars on GitHub.
Where can I find renderformer?
microsoft/renderformer is on GitHub at https://github.com/microsoft/renderformer.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.