A ray tracer based on physically based rendering. Originally based on the pbrt-v3 rendering engine.
Project is under active development. No release candidates yet.
- OpenEXR
Platform | Command |
---|---|
Fedora | sudo dnf install OpenEXR OpenEXR-libs OpenEXR-devel OpenEXR_Viewers |
Ubuntu | sudo apt-get install openexr libopenexr-dev libopenexr22 openexr-viewers |
Clone this repository
git clone https://github.com/methusael13/phy-ray
Create a build directory and compile
cd phy-ray
mkdir build
cd build && cmake ..
make
Run unit tests
make test
Render a test scene (defined in phyray_app/src/main.cpp
)
phyray_app/phyrapp <filename>
View rendered image
exrdisplay <filename>.exr
Materials: Plastic, Glass, Metal(Gold) | Samples: 400 | Lights: AreaLights(Disk, Sphere)
Materials: Plastic, Glass, Metal(Copper) | Samples: 400 | Lights: AreaLights(Disk, Sphere)
Materials: Plastic | Samples: 256 | Lights: AreaLights(Disk, Sphere)
Materials: Plastic, Glass, Mirror, Matte, Metal(Silver) | Samples: 2500 | Lights: AreaLights(Disk)