An open API service indexing awesome lists of open source software.

https://github.com/calciferzh/minimaloptix

A simple path tracing renderer based on OptiX.
https://github.com/calciferzh/minimaloptix

graphics optix raytracing renderer

Last synced: 5 months ago
JSON representation

A simple path tracing renderer based on OptiX.

Awesome Lists containing this project

README

          

# MinimalOptiX

MinimalOptiX is a simple path tracing rendered based on [OptiX](https://developer.nvidia.com/optix). I don't expect anyone to really use this project, but I hope it can help beginners to get familiar with OptiX.

## Demos

### Cornell Box

![](./demo/cornell.png)

### Spheres - Pinhole Camera

![](./demo/spheres_pinhole.png)

### Spheres - Lens Camera

![](./demo/spheres_lens.png)

### Random Spheres

![](./demo/random_spheres.png)

We also have a video [here](https://youtu.be/LYERSPoh_GA).

### Coffee Pot

![](./demo/coffee.png)

### Spaceship

![](./demo/spaceship.png)

### Bedroom

![](./demo/bedroom.png)

### Dining Room

![](./demo/diningroom.png)

### Stormtrooper

![](./demo/stormtrooper.png)

### Hyperion

![](./demo/hyperion.png)

![](./demo/dragon.png)

## Features

### Geometry and Scene

MinimalOptiX supports sphere, quadrangle, and triangle mesh. It can load scene description from file dynamically.

### Material

MinimalOptiX supports three basic materials: Lambertian, metal and glass. It also implements [Disney BRDF](https://disney-animation.s3.amazonaws.com/library/s2012_pbs_disney_brdf_notes_v2.pdf).

## Credits

* BRDF evaluation comes from [here](https://github.com/wdas/brdf/blob/master/src/brdfs/disney.brdf).
* Sampling, PDF and scenes come from [Optix-PathTracer](https://github.com/knightcrawler25/Optix-PathTracer). Well, his results are better than mine.
* .obj file loader comes from [TinyObjLoader](https://github.com/syoyo/tinyobjloader).