...
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.Note: .
The region settings allow you to render only a part of the frame. You can also do this by using Maya's region render feature, but sometimes it's more useful to be able to type in the region extents, rather than use the selection rectangle in the Render View. When Maya region rendering is used, it overrides any region settings defined at the camera level. The "Region Mode" attribute has 3 possible values:
- 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 "Custom Bokeh" settings allow you to change the aspect ratio of the bokeh effect, to simulate an anamorphic lens.
Info |
---|
If this group does not appear in your scenes, make sure "Auto Load" is checked for the Maxwell plug-in in the Plug-in Manager. |
Focus
Unlike other render engines, Maxwell always computes depth of field. This effect is influenced by 4 factors: the size of the objects, the focal length, the f/stop and the focus point. It is important to use realistic camera settings and model sizes in order to obtain correct renders.
...
If you want to manipulate these attributes from script, you need to first ensure that they exist. You can use the maxwellSetCustomScalar
utility function for thisThe 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", 58.60);
maxwellSetCustomScalar("long", "cameraShape1", "mxIso", 100200);
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 path.
...