Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maya Playblast OpenImageIO

Playblast using OpenImageIO (OIIO) to save image files inside Autodesk Maya.

This project is a work in progress, the goals are:

  • Simple plug-in command, relies on python wrapper to do the heavy lifting.
  • Command flags should be logical - we will not maintain compatibility with 'maya.cmds.playblast'.
  • OpenImageIO should be used for file writing and any image manipulation.
  • Maya playblasts images should be able to be written in linear ACES colour-space, using OpenColorIO for implementation of colour conversions.
  • 3D Motion Blur should be possible. This means playblasting more than one image, then averaging the resulting pixels together. This should be done efficiently.

Features

  • Work in progress.
  • See goals above.

Usage

  • Compile plugin using CMake.
  • Copy library (.so file) into plugin path (MAYA_PLUGIN_PATH)
    • For example, create the following directory and copy the .so file into it:
      • /home/$USER/maya/2016/plug-ins/
  • Open Maya
  • Load "playblastOIIO", using MEL or Python.
    • MEL:
      • loadPlugin "playblastOIIO";
    • Python:
      • maya.cmds.loadPlugin("playblastOIIO")
  • Playblast the current Maya scene:
    • Python:
      • maya.cmds.playblastOIIO(filepath='/path/to/output_filename', startFrame=1, endFrame=24, imageSize=(1920, 1080))

Building and Install

Dependencies

Build

To be written.

Install

To be written.

Limitations and Known Bugs

  • On Linux build there is a symbol clash between boost inside Maya and OpenImageIO, this causes any parallel computation to crash Maya immediately. Because of this bug the reader has been forced to use a single thread (disable boost) for all image computation inside OpenImageIO.

About

Implements a new 'playblast' command that uses OpenImageIO (OIIO) to process and write image data.

Topics

Resources

Stars

36 stars

Watchers

6 watching

Forks

Releases

Packages

Contributors

Languages