Code Monkey home page Code Monkey logo

mitsuba_scene_builder's Introduction

mitsuba_scene_builder

Render your scenes in mitsuba without a XML file.

An example of configuration file (JSON file) and a simple scene in XML format can be found in the example folder. To render the scene described by these two files, simply run

python main.py -b example/scene.xml -c example/config.json

Dependencies

If you want to render using the MERL database, you will also need:

Virtual Point Lights File

This file is created by EnvyDepth

Example of a file with 4 virtual point lights and their position, normal, color and scale

NVPLS: 4
pos_0 0.004710 2.400000 0.000000
nor_0 -0.004703 -0.999989 -0.000000
col_0 0.048049 0.031343 0.011285
scale_0: 1.000022
pos_1 0.004710 2.400000 0.000022
nor_1 -0.004703 -0.999989 -0.000022
col_1 0.048042 0.031351 0.011300
scale_1: 1.000022
pos_2 0.004710 2.400000 0.000044
nor_2 -0.004703 -0.999989 -0.000044
col_2 0.048037 0.031351 0.011320
scale_2: 1.000022
pos_3 0.004710 2.400000 0.000067
nor_3 -0.004702 -0.999989 -0.000066
col_3 0.048040 0.031363 0.011345
scale_3: 1.000022

mitsuba_scene_builder's People

Contributors

weberhen avatar xiriu 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.