GithubHelp home page GithubHelp logo

hugoperrin / mitsuba_client Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 77.69 MB

Python client for Mitsuba renderer designed to automate certain routine tasks

License: MIT License

Makefile 2.23% Python 95.85% Shell 1.92%

mitsuba_client's Introduction

mitsuba_client module

Python client for Mitsuba renderer designed ro automate certain routine tasks. This will wrap the mitsuba renderer python bindings with an API tailored for my other other projects.

For dependencies, they are specified with poetry's pyproject.toml.

We recommend installing it in a fresh python environment:

pip install pip --upgrade; pip install poetry
poetry install

To allow mitsuba bindings to work, you'll need to compile it the right way.

Follow the tutorial there, but be mindful of the intricacies of the integration to the right pyenv. It will not create any wheel to install it with, and therefore if you do not want to use the python global setting, you will need to adjust one step of the process.

For Linux, activate your python environment before compiling, and instead of doing:

cmake -GNinja ..

You will need to do instead:

 cmake -GNinja .. -DPYTHON_EXECUTABLE:FILEPATH=$(which python)

This will ensure it targets the right environment. To enable auto completion for it inside of your IDE, launch the idea with the right paths sourced. Changes to the mitsuba library must be done to enable full autocompletion however as most IDE do not do the kind of dynamic resolve needed. This module, by wrapping it all ensures that we can have autocomplete in other projects though.

mitsuba_client's People

Contributors

hugoperrin avatar

Watchers

James Cloos 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.