Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The plug-in adds a group called "Maxwell Render" at the bottom of the camera Attribute Editor. This contains the Maxwell-specific attributes:

Image RemovedImage Added

Since the Maxwell camera is very similar to a real-life DSLR camera, most of the parameters in this group should be intuitive to anyone familiar with traditional photography: shutter speed, f/stop, ISO, exposure mode, diaphragm. The Camera section in the main Maxwell documentation contains a detailed explanation of how these features work.

...

  • Full: region rendering is off.
  • Region: only the specified region is rendered and the rest of the image is black.
  • Blowup: the region is scaled to cover the full render resolution. Black bars are added to maintain the aspect ratio, if needed.

The "Lens Type" settings allows you to control the type of the lens the camera will render with. An in depth explanation of each lens type is available in the Camera Lenses section from the main Maxwell documentation. All lens types can be set using this setting except for the Orthographic lens type. Instead the plugin exports cameras marked as Orthographic from Maya with the Orthographic lens type in order to provide a viewport preview. When the camera is marked as Orthographic, this setting is ignored.

Image Added

The "Custom Bokeh" settings allow you to change the aspect ratio of the bokeh effect, to simulate an anamorphic lens.

...

The rotary shutter feature is incompatible with the aperture priority mode. If these settings are used in combination, the plug-in will issue a warning at export time and force the exposure mode to shutter priority.

...

Keying the Maxwell Camera Attributes

...

- Maya 2012

In Maya 2012, you cannot set keys or create layer overrides for Maxwell-specific attributes by right-clicking the corresponding control in the Attribute Editor. Instead, you have to expand the "Extra Attribute" rollup and right-click the corresponding control there. The controls will have the same name as those in the Maxwell Render rollup, but prefixed with "Mx":

Image Modified

The controls in this group behave like regular attribute controls, so you can use them for keying, locking, setting layer overrides etc.

If you want to manipulate these attributes from script, you need to first ensure that they exist. The plug-in provides a function called maxwellSetCustomScalar which creates the attribute if needed and sets it to the specified value, so use that instead of calling setAttr directly:

    maxwellSetCustomScalar("double", "cameraShape1", "mxFstop", 8.0);
    maxwellSetCustomScalar("long", "cameraShape1", "mxIso", 200);

The first parameter specifies the type of the attribute. Valid values are "long" for integers and enums, "double" for floating point numbers and "bool" for booleans. The following parameters are the node name, attribute name and value. For the complete list of custom attribute names, see the file maxwellCustomAttrs.mel in the scripts/others subdirectory of the Maya installation pathrollup do not have state logic, e.g. the region controls are not disabled when the region mode is set to "full". They are only useful when you need to set keys, expressions or layer overrides; for value manipulations, please use the controls in the Maxwell Render rollup.

This limitation does not exist in Maya 2013 or newer, where the controls in the Maxwell Render rollup behave in the same way as those for native Maya attributes.