MCPcopy Index your code
hub / github.com/SparkyPotato/radiance

github.com/SparkyPotato/radiance @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
2,032 symbols 4,569 edges 165 files 329 documented · 16%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

radiance

A very WIP game engine, currently focusing on the renderer.

Features

Virtual Geometry

A virtual geometry system similar to Unreal Engine's Nanite, able to render scenes with trillions of triangles in 1-2 ms. Does not implement mesh streaming yet.

Ground-truth Path Tracing

HW-accelerated path tracer for ground-truth, to be used to generate references for the real-time path. Currently very simple with only MIS and NEE.

Hillaire Sky

An approximation of A Scalable and Production Ready Sky and Atmosphere Rendering Technique by Sébastien Hillaire.

Auto-exposure and tonemapping

Histogram-based auto-exposure with several tonemapping operators: - ACES - AgX (default, 'filmic', and punchy 'looks') - Tony McMapface

Requirements

Shrimply git clone https://github.com/SparkyPotato/radiance/ --recursive then cargo run.

Extension points exported contracts — how you extend this code

Consumer (Interface)
The binary consumer trait. The parser will call `initialize` before parsing the SPIR-V binary and `finalize` after succ [6 …
ext/rspirv/rspirv/binary/parser.rs
ColorComponent (Interface)
Trait for types that are suitable for representing a color component value. [18 implementers]
ext/vek/src/ops.rs
Module (Interface)
(no doc) [6 implementers]
crates/rad-core/src/lib.rs
ToOwnedAlloc (Interface)
(no doc) [7 implementers]
crates/rad-graph/src/arena.rs
GpuScene (Interface)
(no doc) [4 implementers]
crates/rad-renderer/src/scene/mod.rs
FileSystem (Interface)
(no doc) [2 implementers]
ext/slang-rs/src/lib.rs
SubAllocatorBase (Interface)
(no doc) [2 implementers]
ext/gpu-allocator/src/allocator/mod.rs
App (Interface)
(no doc) [2 implementers]
crates/rad-ui/src/lib.rs

Core symbols most depended-on inside this repo

into
called by 2214
crates/rad-graph/src/device/queue.rs
next
called by 2086
crates/rad-graph/src/cmd.rs
unwrap
called by 383
ext/rspirv/rspirv/lift/storage.rs
push
called by 272
crates/rad-graph/src/util/pass.rs
contains
called by 168
ext/nvtt/nvtt/src/lib.rs
iter
called by 163
ext/rspirv/rspirv/grammar/syntax.rs
map
called by 158
crates/rad-graph/src/device/queue.rs
append
called by 146
ext/rspirv/rspirv/sr/storage.rs

Shape

Method 1,259
Class 385
Function 229
Enum 112
Interface 47

Languages

Rust100%

Modules by API surface

ext/nvtt/nvtt/src/lib.rs138 symbols
ext/rspirv/rspirv/dr/autogen_operand.rs72 symbols
ext/slang-rs/src/lib.rs67 symbols
ext/rspirv/rspirv/binary/parser.rs62 symbols
crates/rad-graph/src/graph/virtual_resource.rs57 symbols
crates/rad-graph/src/graph/compile.rs57 symbols
ext/rspirv/rspirv/binary/autogen_decode_operand.rs56 symbols
crates/rad-world/src/serde.rs52 symbols
ext/rspirv/spirv/autogen_spirv.rs47 symbols
crates/rad-renderer/src/assets/mesh/virtual_mesh.rs42 symbols
crates/rad-graph/src/graph/mod.rs40 symbols
ext/nvtt/nvtt/src/enums.rs37 symbols

For agents

$ claude mcp add radiance \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact