You can preview Ptex textures assigned to any standard Maya shading network texture input in
Viewport 2.0; or, render using the mental ray for Maya renderer.
Note: You can only preview Ptex in Viewport 2.0, mental ray and 3rd party renderers that support Ptex. Using Ptex with the Maya software renderer, the default and high quality viewports is not supported.
To use this feature, the topology of the Ptex file must match the topology of the mesh.
To use Ptex in your Maya scene file
- Select Renderer > Viewport 2.0 to switch to Viewport 2.0.
- Select Renderer > Viewport 2.0 > . Your Ptex information will be baked into a 2D Texture. Set the Color Textures attribute under Bake Resolution for Unsupported Textures to the resolution you desire. See Viewport 2.0 options for more information.
- Assign a File node to the surface shader of the object.
- Click the browse button in the File node and select your Ptex file.
Note: To display your Ptex textures in high quality, you should increase the Color Textures resolution to, for example, 2048. After adjusting the Color Textures resolution, you must click Re-bake All Textures to see the effect of the change.
Attention: All attributes on the File node are ignored with the exception of the Image Name attribute.
To render Ptex using mental ray for Maya
- Assign a File node to the surface shader of the object.
- Click the browse button in the File node and select your Ptex file.
- Select the object and create a mentalraySubdivApprox node. You can do this by selecting Window > Rendering Editors > mental ray > Approximation Editor and click Create under the Subdivisions section of the mental ray Approximation Editor.
- Under the Ptex Controls section of the File node Attribute Editor, adjust the filter controls as desired. See Ptex Controls for more information on Ptex Controls.
- Render using mental ray for Maya.
Attention: All attributes on the File node are ignored with the exception of the Image Name attribute and Ptex Controls.