Website powered by

Maya to Houdini Light Transfer (Maya/Arnold/Houdini/Mantra/Python)

Features

  • Compatible with 2 Houdini Renderers.
    • Mantra
    • Arnold
  • Adjust Scene Scale.
  • No duplication of Lights in Houdini while Importing it multiple times.
  • Works with Python 2 and 3 both.

Software Requirement

  • Maya 2018+ with Arnold
  • Houdini 16+ with Mantra or Arnold

Installation

  • Open "ui_launcher.py" in notepad or equivalent software.
  • Replace "path" variable with your script folder path.
  • Save script in Maya and Houdini Shelf.

How to use

  • Maya

    • Drag and select all the lights from the viewport.
    • Run the script.
    • Click "Browse" button, and save Json file to desired location. (Default path is current Maya workspace "data" folder.)
    • Click "Export Lights" button.
  • Houdini

    • Run the script.
    • Click "Browse" button, and load the exported Json file. (Default path is current Houdini workspace folder.)
    • Tick desired Renderer.
    • Set "Scene Scale" if required. It will adjust Translate, Scale, Exposure and Radius. (Default value is 0.1)
    • Click "Import Lights" button.

Maya Arnold Lights - Houdini Mantra Lights [Condition]

  • Point Light - Point    [if radius == 0]
  • Point Light - Sphere    [if radius > 0]
  • Directional Light - Distant    [if angle == 0]
  • Directional Light - Sun    [if angle > 0]
  • Spot Light - Point    [if radius == 0]
  • Spot Light - Sphere    [if radius > 0]
  • Area/Quad Light - Grid
  • Area/Disk Light - Disk
  • Area/Cylinder Light - Line    [if scaleX and scaleZ == 0]
  • Area/Cylinder Light - Tube    [if scaleX or scaleZ > 0]
  • Skydome Light - Environment Light

What is working?

  • Mantra

    • Working

      • Light Types

        • Point Light
        • Directional Light
        • Spot Light
        • Quad Light
        • Disk Light
        • Cylinder Light
        • Skydome Light
      • All Lights (Parameters)

        • Viewport Visibility
        • Intensity
        • Exposure
        • Color
        • Color Temperature
        • Cast Shadows
        • Shadow Density
        • Light Group
      • Point Light

        • Radius
        • Normalize
        • Shadow Color
      • Directional Light

        • Angle
        • Shadow Color
      • Spot Light

        • Cone Angle
        • Penumbra Angle
        • Radius
        • Normalize
        • Shadow Color
      • Quad Light

        • Size
        • Normalize
        • Shadow Color
      • Disk Light

        • Size
        • Normalize
        • Shadow Color
      • Cylinder Light

        • Size
        • Normalize
        • Shadow Color
    • Partially Working

      • All Lights (Parameters)

        • All Light Contributions    [Checkbox instead of Slider, 0.5 or greater will turn on, else turn off.] 
          • Camera
          • Diffuse
          • Specular
          • Sss
          • Indirect
          • Volume
          • Transmission
      • Spot Light

        • Dropoff    [Approximation]
      • Quad Light

        • Spread    [Approximation]
        • Soft Edge    [Approximation]
        • Roundness    [Checkbox instead of Slider, 0.5 or greater will convert to Disk Light] 
        • Texture Map    [Should be Linear EXR, and directly connected to light.] 
      • Disk Light

        • Spread    [Approximation]
      • Skydome Light

        • HDRI Map    [Should be Linear EXR, and directly connected to light.]
    • Not Working

      • Light Types

        • Photometric Light    [Consider Future Release.]
        • Light Portal    [Consider Future Release.]
        • Physical Sun and Sky    [Consider Future Release.]
        • Mesh Light    [No Plans.]
      • All Lights (Parameters)

        • Cast Volumetric Shadows    [Parameter doesn't exist.]
        • Volume Samples    [Parameter doesn't exist.]
        • Max Bounces    [Parameter doesn't exist.]
        • Light Linking    [No Plans.]
        • Light Filters    [No Plans.]
      • Spot Light

        • Aspect Ratio    [Parameter doesn't exist.]
        • Lens Radius    [Parameter doesn't exist.]
      • Skydome Light

        • Resolution    [Parameter doesn't exist.]
        • Format    [Parameter doesn't exist.]
        • Portal Mode    [Parameter doesn't exist.]
        • Shadow Color    [Parameter doesn't exist.]
        • AOV Indirect    [Parameter doesn't exist.]
  • Arnold

    • Working

      • Light Types

        • Point Light
        • Directional Light
        • Spot Light
        • Quad Light
        • Disk Light
        • Cylinder Light
        • Skydome Light
    • Not Working

      • Light Types

        • Photometric Light    [Consider Future Release.]
        • Light Portal    [Consider Future Release.]
        • Physical Sun and Sky    [Consider Future Release.]
        • Mesh Light    [No Plans.]
      • Spot Light

        • Dropoff    [Parameter doesn't exist.]