Giter Club home page Giter Club logo

pbrtmayapy's Introduction

Welcome to pbrtMayaPy

This is a cross-platform exporter Plugin for Maya that renders your Autodesk Maya scenes using PBRT v2. PBRT is a Physically Based Rendering system that is described in a wonderful book by Matt Pharr and Greg Humphreys: "Physically Based Rendering: From Theory To Implementation".

About

The purpose of this plugin is to allow the reader of "Physically Based Rendering: From Theory To Implementation" to work with the system described in the book using Autodesk Maya.

Therefore, pbrtMayaPy is written with three principles in mind:

  • Completeness. Comprehensive coverage of most features of PBRT
  • The user is technically-savvy. User is capable to enter PBRT commands, when neccecary.
  • Simplicity. The system has a simple and modular design. New exporter features should be easy to add by anyone with Python knowledge.

This plugin is based on Python LuxMaya translation by Doug Hammond (https://bitbucket.org/luxrender/luxmaya) , in turn base on translation of the c++ luxmaya exporter, in turn based on original maya-pbrt c++ exporter by Mark Colbert (http://graphics.cs.ucf.edu/mayapbrt/index.php).

Features

  • Render settings and Film options
    • Samplers
    • Filtering
    • Renderers
    • Integrators
    • Accelerators
  • Cameras
    • Perspective
    • Environment
    • Orthographic
  • Lights
    • Point
    • Spot
    • Distant
    • Area
    • Other types (using a text object)
  • Geometric primitives
    • Polygons only
    • Implicit shapes (using a text object)
  • Materials
    • Basic Maya materials
    • Full PBRT Shading graph is accessible using text material

Requirements

  • Autodesk Maya for Windows, Mac or Linux.
  • PBRT Open-Source renderer

Installation

  1. Get the source by pressing "Download ZIP" on the right (or via git). Unzip to any folder, e.g.: $HOME/youMayaStuff/pbrtMayaPy/

  2. Download and compile PBRT from http://pbrt.org/downloads.php

  3. Set the following Environment variables (you can add the following to your Maya.env):

  • MAYA_PLUG_IN_PATH = $HOME/youMayaStuff/pbrtMayaPy/
  • PBRT_SEARCHPATH = $HOME/youMayaStuff/pbrt-v2/Build/Products/Release/
  1. Load the plugin in Maya using Plug-in Manager

  2. Press "Export and Render" from the top menu or execute MEL: pbrt_export (python: cmds.pbrt_export)

screenshot

Useful links

pbrtmayapy's People

Contributors

volodymyrk avatar

Watchers

James Cloos avatar Marwan Abdellah 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.