Public Repository

Last pushed: 2 years ago
Short Description
PBRT container with spectral branch of pbrt-v2 compiled
Full Description

Container with PBRT compiled from github.com/ydnality/pbrt-v2-spectral/tree/spectral

Example container usage

Given an input file [ /path/to/your/data/inputdata.pbrt ] run the command below editing the portions within the brackets to match your needs.

docker run -t -i --rm \
    -v [/path/to/your/data]:/data \
    vistalab/pbrt \
    pbrt /data/[inputdata.pbrt] --outfile /data/[outputdata.dat]

PBRT command usage:

The pbrt command arguments are shown below.

pbrt [--ncores n] [--outfile filename] [--quick] [--quiet] [--verbose] [--help]<filename.pbrt> ...

#Dockerfile

FROM ubuntu:14.04
MAINTAINER Michael Perry <lmperry@stanford.edu>
RUN apt-get update && apt-get install -y build-essential openexr openexr-viewers libopenexr-dev libilmbase-dev libfl-dev bison flex vim git gsl-bin libgsl0-dev wget unzip
RUN mkdir /pbrt
RUN cd /pbrt
RUN wget https://github.com/ydnality/pbrt-v2-spectral/archive/spectral.zip
RUN unzip spectral.zip
RUN cd pbrt-v2-spectral-spectral/src/
RUN make clean
RUN make
Docker Pull Command
Owner
vistalab

Comments (0)