Giter VIP home page Giter VIP logo

mitsuba-docker's Introduction

mitsuba-docker

Dockerfile and instructions for building Mitsuba

Hello!

The Dockerfiles in this repository represent complete instructions for building Mitsuba on Ubuntu. You can use this to create a Docker image with Mitsuba in it.

You can also consult this to figure out how to build Mitsuba. The RUN commands are thing you can run on the command line. Some of them will require sudo.

The build comes in two flavors. /rgb builds Mitsuba in standard RGB mode. /spectral builds Mitsuba with 31 spectrum slices in the range 395nm-405nm.

Get the Docker Image

The Docker images are hosted on DockerHub. See rgb and spectral. You can obtain them locally with:

sudo docker pull ninjaben/mitsuba-rgb
sudo docker pull ninjaben/mitsuba-spectral

Or you can build them yourself from the Dockerfile:

git clone https://github.com/benjamin-heasly/mitsuba-docker.git
cd mitsuba-docker
sudo docker build -t your-name/mitsuba-rgb ./rgb
sudo docker build -t your-name/mitsuba-spectral ./spectral

Run a Docker Container

You can launch a Docker container from one of these images and use it just like a Mitsuba executable:

sudo docker run -ti ninjaben/mitsuba-rgb mitsuba -h
# or
sudo docker run -ti ninjaben/mitsuba-spectral mitsuba -h

To give the container access to your Mitsuba scene files, mount in the current folder as a temporary volume:

sudo docker run -ti --rm -v `pwd`:`pwd` ninjaben/mitsuba-rgb mitsuba myScene.xml
# or
sudo docker run -ti --rm -v `pwd`:`pwd` ninjaben/mitsuba-spectral mitsuba myScene.xml

mitsuba-docker's People

Contributors

benjamin-heasly avatar marceliwac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.