Previewing Ptex textures

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

  1. Select Renderer > Viewport 2.0 to switch to Viewport 2.0.
  2. 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.
  3. Assign a File node to the surface shader of the object.
  4. Click the browse button in the File node and select your Ptex file.
  5. 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

  1. Assign a File node to the surface shader of the object.
  2. Click the browse button in the File node and select your Ptex file.
  3. 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.
  4. 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.
  5. Render using mental ray for Maya.
  6. Attention: All attributes on the File node are ignored with the exception of the Image Name attribute and Ptex Controls.