Skip to content
프로젝트

소개

A Simple Spectral Renderer

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Simple Spectral

This is a simple multithreaded spectral pathtracer implementing the algorithm (linear combination of bases) described in our EGSR 2019 paper "Spectral Primary Decomposition for Rendering with sRGB Reflectance" [Mallett and Yuksel 2019]. Also implemented are [Meng et al. 2015], [Jakob and Hanika 2019], and a classic RGB renderer.

The spectral rendering uses hero-wavelength sampling on a simple pathtracer. Our implementation supports both the CIE 1931 and 2006 standard observers.

Setup

Dependencies are intended to be minimal and easy (with the exception of GLM, all required dependencies are included):

  • GLM (required)
  • GLFW (optional, adds windowing support)
  • lodepng (required, included)
  • [Meng et al. 2015] (required, included)
  • [Jakob and Hanika 2019] (required, included)

Setup is basic CMake:

  1. cd <path/to/>simple-spectral/
  2. mkdir build
  3. cd build/
  4. cmake ..
  5. cmake --build .

There are some handy options in "simple-spectral/src/stdafx.hpp" near the top of the file. Some parameters are only exposed this way for simplicity or performance.

Program Invocation

Usage, including command-line options, can be found by simply running the binary with no arguments.

However, for convenience, basic usage looks something like:

<binary> --scene=cornell-srgb -w=512 -h=512 -spp=64 --output=output.png --window

The available scenes are "cornell" (original Cornell box), "cornell-srgb" (adjusted materials; Figure 5.a), and "plane-srgb" (Figure 1).

Acknowledgments

We would like to thank [Meng et al. 2015] and [Jakob and Hanika 2019], both of which make their code easy to use. Also lodepng, for existing. More acknowledgments can be found within the paper.

관련 프로젝트 살펴보기

불러오는 중…