# Overview This repository includes a number of example scenes and data for use with the [pbrt-v3](https://github.com/mmp/pbrt-v3) renderer, which corresponds to the system described in the third edition of _Physically Based Rendering_, by Matt Pharr, Wenzel Jakob, and Greg Humphreys. (See also the [pbrt website](http://pbrt.org).) # Data Sets In addition to example scenes, there is some useful data for use with the system. * [bsdfs/](bsdfs/): this directory includes a variety of bidirectional scattering distribution functions (BSDFs) for use with the `FourierMaterial`. See, for example, the [coffee-splash](coffee-splash) scene for use of such a BSDF in a scene. * New versions of BSDFs for use with `FourierMaterial` can be generated with [layerlab](https://github.com/wjakob/layerlab/). * [lenses/](lenses/): lens description files for a handful of real-world lens systems, for use with the `RealisticCamera`. See the scenes [villa/villa-photons.pbrt](villa/villa-photons.pbrt) and [sanmiguel/f6-17.pbrt](sanmiguel/f6-17.pbrt) for examples of their use. * [spds/](spds/): measured spectral power distributions for a variety of standard illuminants, light sources, metals, and the squares of the Macbeth color checker. * [utils/](utils/): usefull scripts for updating `.pbrt` file information quickly. # Scenes and synthesis images All synthesis images generated are of size `1000 x 1000` and saved into `.rawls` format for each sample estimated. | Scene folder | Filename | Integrator | Sampler | Samples | Generated | |-------------------------|----------------------------------|------------|---------|------------|-----------| | `barcelona-pavilion` | `p3d_pavilion-day.pbrt` | path | random | 1 to 10000 | ✅ | | `barcelona-pavilion` | `p3d_pavilion-night.pbrt` | path | random | 1 to 10000 | ✅ | | `bathroom` | `p3d_bathroom.pbrt` | path | random | 1 to 10000 | ❌ | | `bedroom` | `p3d_bedroom.pbrt` | path | random | 1 to 10000 | ✅ | | `bmw-m6` | `p3d_bmw-m6.pbrt` | path | random | 1 to 10000 | ✅ | | `breakfast` | `p3d_breakfast.pbrt` | path | random | 1 to 10000 | ❌ | | `bunny-fur` | `p3d_bunny-fur.pbrt` | path | random | 1 to 10000 | ✅ | | `car2` | `p3d_car2.pbrt` | path | random | 1 to 10000 | ✅ | | `chopper-titan` | `p3d_chopper-titan.pbrt` | path | random | 1 to 10000 | ✅ | | `classroom` | `p3d_classroom.pbrt` | path | random | 1 to 10000 | ✅ | | `coffee-splash` | `p3d_splash.pbrt` | bdpt | random | 1 to 10000 | ❌ | | `contemporary-bathroom` | `p3d_contemporary-bathroom.pbrt` | path | random | 1 to 10000 | ❌ | | `crown` | `p3d_crown.pbrt` | path | random | 1 to 10000 | ✅ | | `dining-room` | `p3d_dining-room.pbrt` | path | random | 1 to 10000 | ✅ | | `dragon` | `p3d_dragon.pbrt` | path | random | 1 to 10000 | ✅ | | `ecosys` | `p3d_ecosys.pbrt` | path | random | 1 to 10000 | ✅ | | `ganesha` | `p3d_ganesha.pbrt` | path | random | 1 to 10000 | ❌ | | `glass` | `p3d_glass.pbrt` | volpath | random | 1 to 10000 | ✅ | | `glass-of-water` | `p3d_glass-of-water.pbrt` | path | random | 1 to 10000 | ❌ | | `kitchen` | `p3d_kitchen.pbrt` | path | random | 1 to 10000 | ❌ | | `lamp` | `p3d_lamp.pbrt` | path | random | 1 to 10000 | ❌ | | `landscape` | `p3d_view0.pbrt` | path | random | 1 to 10000 | ❌ | | `landscape` | `p3d_view1.pbrt` | path | random | 1 to 10000 | ❌ | | `landscape` | `p3d_view2.pbrt` | path | random | 1 to 10000 | ❌ | | `landscape` | `p3d_view3.pbrt` | path | random | 1 to 10000 | ❌ | | `landscape` | `p3d_view4.pbrt` | path | random | 1 to 10000 | ❌ | | `living-room` | `p3d_living-room.pbrt` | path | random | 1 to 10000 | ❌ | | `living-room-2` | `p3d_living-room-2.pbrt` | path | random | 1 to 10000 | ❌ | | `living-room-3` | `p3d_living-room-3.pbrt` | bdpt | random | 1 to 10000 | ❌ | | `sanmiguel` | `p3d_sanmiguel.pbrt` | path | random | 1 to 10000 | ❌ | | `sanmiguel` | `p3d_sanmiguel_cam1.pbrt` | path | random | 1 to 10000 | ❌ | | `sanmiguel` | `p3d_sanmiguel_cam3.pbrt` | path | random | 1 to 10000 | ❌ | | `sanmiguel` | `p3d_sanmiguel_cam18.pbrt` | path | random | 1 to 10000 | ❌ | | `spaceship` | `p3d_spaceship.pbrt` | path | random | 1 to 10000 | ❌ | | `sportscar` | `p3d_sportscar.pbrt` | path | random | 1 to 10000 | ❌ | | `sssdragon` | `p3d_dragon_250.pbrt` | path | random | 1 to 10000 | ❌ | | `staircase` | `p3d_staicase.pbrt` | path | random | 1 to 10000 | ❌ | | `staircase2` | `p3d_staicase2.pbrt` | bdpt | random | 1 to 10000 | ❌ | | `structuresynth` | `p3d_arcsphere.pbrt` | path | random | 1 to 10000 | ❌ | | `tt` | `p3d_tt.pbrt` | path | random | 1 to 10000 | ❌ | | `tungsten-veach-bidir` | `p3d_veach-bidir.pbrt` | path | random | 1 to 10000 | ❌ | | `tungsten-veach-mis` | `p3d_veach-mis.pbrt` | path | random | 1 to 10000 | ❌ | | `veach-ajar` | `p3d_veach-ajar.pbrt` | path | random | 1 to 10000 | ❌ | | `veach-bidir` | `p3d_veach-bidir.pbrt` | path | random | 1 to 10000 | ❌ | | `villa` | `p3d_villa-daylight.pbrt` | path | random | 1 to 10000 | ❌ | | `volume-caustic` | `p3d_caustic.pbrt` | bdpt | random | 1 to 10000 | ❌ | | `vw-van` | `p3d_vw-van.pbrt` | path | random | 1 to 10000 | ❌ | | `water-caustic` | `p3d_water-caustic.pbrt` | path | random | 1 to 10000 | ❌ | | `white-room` | `p3d_whiteroom-daytime.pbrt` | path | random | 1 to 10000 | ❌ | | `white-room` | `p3d_whiteroom-night.pbrt` | path | random | 1 to 10000 | ❌ | # Usefull scripts - `change_ext_pbrt.py`: change extension of output image into `pbrt` file. - `change_integrator_pbrt.py`: change Integrator declaration line into `pbrt` file. - `change_sampler_pbrt.py`: change Sampler declaration line into `pbrt` file. - `reformat_pbrt.py`: reformat `pbrt` scene file generated from `tungsten` renderer using information from `tungsten` scene file (Camera, LookAt...).