LuisaCompute

Contents:

  • Getting Started
  • Tutorials
  • Project Architecture
  • Domain Specific Language (DSL)
  • Resources and Runtime
  • API Reference
  • Gallery
    • Rendering
      • Path Tracing
      • Path Tracing (HDR)
      • Path Tracing (Camera)
      • Path Tracing (Cutout)
      • Path Tracing (Nested Callable)
      • Path Tracing (Ray Masks)
      • Path Tracing (Spectral)
      • Path Tracing (IR Backend)
      • Photon Mapping
      • SDF Renderer
      • SDF Renderer (IR Backend)
      • Voxel Ray Tracer
      • Black Hole
      • ShaderToy
      • ShaderToy (SpaceX)
      • Procedural Geometry
    • Simulation
      • MPM88 Fluid
      • Game of Life
      • Wave Equation
      • Fire Simulation
      • N-Body Simulation
    • Compute
      • Image Processing
    • Integration Tests
      • RTX Ray Tracing
      • Indirect RTX
      • Procedural (Test)
      • Native Code Include
      • Motion Blur
      • 3D Texture Volume Rendering
LuisaCompute
  • Gallery
  • View page source

Gallery

This gallery showcases output images from LuisaCompute examples and integration tests. Reference images are stored in docs/gallery/ and are automatically generated by running examples and tests with the --offline flag.

To regenerate reference images:

./bin/<example_or_test> <backend> --update-reference

Rendering

Path Tracing

Cornell Box rendered with Monte Carlo path tracing, demonstrating global illumination, soft shadows, and color bleeding.

Path Tracing (Cornell Box)

Source: examples/rendering/path_tracing.cpp

Path Tracing (HDR)

High dynamic range path tracing with tone mapping.

Path Tracing HDR

Source: examples/rendering/path_tracing_hdr.cpp

Path Tracing (Camera)

Path tracing with depth of field camera model.

Path Tracing with Camera

Source: examples/rendering/path_tracing_camera.cpp

Path Tracing (Cutout)

Path tracing with alpha-tested cutout geometry.

Path Tracing Cutout

Source: examples/rendering/path_tracing_cutout.cpp

Path Tracing (Nested Callable)

Path tracing demonstrating nested callable composition.

Path Tracing Nested Callable

Source: examples/rendering/path_tracing_nested_callable.cpp

Path Tracing (Ray Masks)

Path tracing with per-instance ray visibility masks.

Path Tracing Ray Masks

Source: examples/rendering/path_tracing_ray_masks.cpp

Path Tracing (Spectral)

Spectral path tracing with wavelength-dependent rendering.

Path Tracing Spectral

Source: examples/rendering/path_tracing_spectrum.cpp

Path Tracing (IR Backend)

Path tracing compiled through the IR pipeline.

Path Tracing IR

Source: examples/rendering/path_tracing_ir.cpp

Photon Mapping

Global illumination via photon mapping with caustics.

Photon Mapping

Source: examples/rendering/photon_mapping.cpp

SDF Renderer

Signed distance field renderer with ray marching.

SDF Renderer

Source: examples/rendering/sdf_renderer.cpp

SDF Renderer (IR Backend)

SDF renderer compiled through the IR pipeline.

SDF Renderer IR

Source: examples/rendering/sdf_renderer_ir.cpp

Voxel Ray Tracer

Real-time voxel rendering with ray tracing.

Voxel Ray Tracer

Source: examples/rendering/voxel_raytracer.cpp

Black Hole

Interstellar-style black hole with gravitational lensing and accretion disk.

Black Hole

Source: examples/rendering/blackhole.cpp

ShaderToy

Classic ShaderToy-style procedural rendering.

ShaderToy

Source: examples/rendering/shader_toy.cpp

ShaderToy (SpaceX)

SpaceX-inspired ShaderToy effect.

ShaderToy SpaceX

Source: examples/rendering/shader_toy_spacex.cpp

Procedural Geometry

Procedural geometry rendering with ray tracing.

Procedural

Source: examples/rendering/procedural.cpp


Simulation

MPM88 Fluid

Material Point Method fluid simulation.

MPM88 Fluid Simulation

Source: examples/simulation/mpm88.cpp

Game of Life

Conway’s Game of Life cellular automaton.

Game of Life

Source: examples/simulation/game_of_life.cpp

Wave Equation

Interactive wave equation PDE solver.

Wave Equation

Source: examples/simulation/wave_equation.cpp

Fire Simulation

Physics-based fire particle system.

Fire Simulation

Source: examples/simulation/fire_simulation.cpp

N-Body Simulation

Gravitational N-body particle simulation.

N-Body Simulation

Source: examples/simulation/nbody_simulation.cpp


Compute

Image Processing

Multi-pass image processing pipeline with filters and effects.

Image Processing

Source: examples/compute/image_processing.cpp


Integration Tests

These images are produced by integration tests and verify correctness of specific framework features.

RTX Ray Tracing

Basic RTX intersection test with triangle meshes.

RTX Test

Source: src/tests/integration/runtime/test_rtx.cpp

Indirect RTX

Indirect dispatch ray tracing test.

Indirect RTX Test

Source: src/tests/integration/runtime/test_indirect_rtx.cpp

Procedural (Test)

Procedural rendering integration test.

Procedural Test

Source: src/tests/integration/runtime/test_procedural.cpp

Native Code Include

External native shader code inclusion test.

Native Code Test

Source: src/tests/integration/runtime/test_native_include.cpp

Motion Blur

Motion blur rendering with mesh and curve keyframes.

Motion Blur Test

Source: src/tests/integration/runtime/test_motion_blur.cpp

3D Texture Volume Rendering

Perlin noise volume rendering with ray marching.

3D Texture Test

Source: src/tests/integration/runtime/test_texture3d.cpp

Previous

© Copyright 2026, LuisaGroup.

Built with Sphinx using a theme provided by Read the Docs.