November 4, 2018

237 words 2 mins read

daseyb/pathgraph

daseyb/pathgraph

Pretty visualizations for ray tracing algorithms

repo name daseyb/pathgraph
repo link https://github.com/daseyb/pathgraph
homepage http://darioseyb.com/pathgraph
language JavaScript
size (curr.) 8076 kB
stars (curr.) 121
created 2017-01-10
license MIT License

Path Graph

Pretty visualizations for ray tracing algorithms

Hosted at darioseyb.com

This project was born out of my frustation with making figures that illustrate processes in ray/path tracing algorithm. Particularly in the context of my seminar report about “Gradient Domain Path Tracing” creating figures by hand was not feasible.

Path Graph gives you a flexible framework to visualize all kinds of situations. You can write your scattering functions directly in the browser and see the results immediatly. It also provides various visualization modes and SVG export functionality. This way you can put final touches on your figures in your favourite vector graphics editing tool. As shown below you can then easily embed the SVG files in your LaTex report.

Embed

Visualization includes a “path density” renderer which shows the distributions of paths starting at the camera. You can color the paths based on certain attributes, e.g. if they hit a light or not.

PathDensity

Path Graph also provides a primary samples space visualizer which draws the scene from the perspective of the camera.

SampleSpace

I plan on developing this tool further and include support for features like scriptable material models. If you have a feature request please open an issue!

Papers using PathGraph:

comments powered by Disqus