![]()
Rendering variables
AW_JPEG_Q_FACTOR
This variable can be used to specify the quality of JPEG files that Maya renders out. The valid values are 1 through 100, with 100 being the highest quality.
AW_JPEG_SUB_SAMPLING
Allows you to control the subsampling quality of the rendered image.
The value of the
AW_JPEG_SUB_SAMPLINGenvironment variable is:
L1xL2,Ch1xCh2,Gr1xGr2where:
- L1 and L2: sampling factors for the luminance component
- Ch1 and Ch2: sampling factors for the chrominance component
- Gr1 and Gr2: sampling factors for the grayscale components
A few possible settings for this environment variable are as follows:
- 2x2,1x1,1x1 (default)
- 2x1,1x1,1x1
- 1x1,1x1,1x1 (provides the highest visual quality)
For example:
mel% putenv "AW_JPEG_SUB_SAMPLING" "1x1,1x1,1x1"The values for each of the L1xL2, Ch1xCh2, and Gr1xGr2 components can be between 1 and 4, where 1x1 is of the highest quality. In general, the lower the component value, the better the quality of the final JPEG because a smaller sampling block allows better high-frequency color information to be captured.
MAYA_DISABLE_MRMAP
By default, Maya converts non-native image file formats into temporary IFF files so that they can be read. This variable allows you to disable the conversion of mental ray
.mapfiles. Disabling this conversion saves scene export time and render time. To enable this option, set the value equal to 1. To disable it, set the value to 0 (zero) or leave it undefined.
Note
You can still render textures of this file format type, but only with the mental ray for Maya renderer. In addition, the following functionality is disabled:
MAYA_DISABLE_MRFORMATS
By default, Maya converts non-native image file formats into temporary IFF files so that they can be read. This variable allows you to disable the conversion of mental ray
.ctand.stfiles. Disabling this conversion saves scene export time and render time. To enable this option, set the value equal to 1. To disable it, set the value to 0 (zero) or leave it undefined.
Note
You can still render textures of this file format type, but only with the mental ray for Maya renderer. In addition, the following functionality is disabled:
MAYA_NO_JITTER_FINAL_COLOR
If you are quantizing to 8-bit color, we apply some randomness, or jitter, to the color. To enable this option, set the value equal to 1. To disable it, set the value to 0 (zero) or leave it undefined.
MAYA_RENDERER_RT_BACKGROUND_COLOR
If you set this variable to 1, Maya includes the camera background in the calculation of reflection and refraction rays. If you set this variable to 0 (zero) or leave it undefined, Maya ignores the background color for these rays.
MAYA_USE_V1_CAMERA
Allows you to revert to the old (Maya 1.0/1.5) camera model behavior. Starting with Maya 2.0, we have fixed how the camera behaves when lens squeeze is not 1.0, or when the resolution’s aspect ratio is not the same as the x-resolution divided by the y-resolution. If you are in the middle of a job started with Maya 1.0/1.5, you may need the old (incorrect) behavior for continuity.
To enable this option, set the value equal to 1. To disable it, set the value to 0 (zero) or leave it undefined.
MAYA_USE_VERSION1_DISPLACEMENT
Allows you to revert to the old (Maya 1.0) displacement mapping behavior. Starting with Maya 1.5/2.0, we significantly improved displacement mapping. If you are in the middle of a job started using Maya 1.0, you may need the old behavior for continuity.
To enable this option, set the value equal to 1. To disable it, set the value to 0 (zero) or leave it undefined.
MAYA_USE_VERSION1_POLY_TANGENT
Allows you to revert to the old (Maya 1.0) polygon tangent calculation behavior. For Maya 1.5/2.0 we significantly improved the way we calculate tangents on polygon objects. This primarily affects bump-mapping. If you are in the middle of a job started using Maya 1.0, you may need the old behavior for continuity.
To enable this option, set the value equal to 1. To disable it, set the value to 0 (zero) or leave it undefined.
MAYA_HW_FILE_TEXTURE_RESOLUTION_OVERRIDE
Enable this flag to force baked file textures to be the maximum of the texture resolution attribute on the file texture or the actual file texture dimensions.