Rendering a single frame using IPR
 
 
 

In this section, you work with IPR (Interactive Photorealistic Rendering), a type of software rendering.

The advantage of rendering with IPR is that, after you render an image, you can adjust the shading and lighting attributes of the scene and then quickly update part or all of the rendered image to review the effect of your changes. IPR is useful for iterations when you need to fine-tune specific attributes. Updates to the image are not always instantaneous, but they are full quality.

To render the scene using IPR

  1. In the perspective view, select View > Camera Attribute Editor to display the attributes for the camera.

    You need to specify the exact region of the perspective view you want to render.

  2. In the Attribute Editor, open the Display Options section and turn on Display Resolution.

    A dark green rectangular border shows the region to be rendered. This region defines the area of the final image, and allows you to decide what appears or does not appear in the final image. (The left and right borders of the rectangle may be positioned at the edge of the window.)

  3. Select Render > IPR Render Current Frame (or select the IPR render current frame button on the Status Line). (By default, Maya uses the Software renderer as indicated on the Render View window’s toolbar.)

    The Render View appears and displays the rendered image.

    The rendered image shows the appearance of the apple based on the lighting, and shows the more realistic texture of the counter.

    The message displayed at the bottom of the IPR Render View window states “Select a region to begin tuning”. In the next step, you create a subregion of the image to render using IPR.

  4. In the Render View, select View > Frame Image to resize the Render View window so it fits closely to the rendered image.

To select a subregion to render using IPR

  1. In the Render View, drag a selection box around the small area surrounding the apple, counter, and wall as shown:

    When using IPR, this selected region updates as you alter any shading, texture, or lighting attributes. Selecting a smaller region quickens the update. You can select regions throughout the image to see those areas update.

  2. In the scene view, right-click the wall and select Material Attributes to display the Attribute Editor for the Lambert shader you applied to the wall.
  3. Click the Color box and change the color to green.

    The area within the selected region of the Render View updates immediately as you alter the color; the wall turns green.

    When you drag within the color wheel of the Color Chooser window, the selected region updates occur immediately.

    NoteIf the region does not update, in the Render Settings window, turn the Raytracing option off.

    (You won’t alter any other attributes in this lesson. The purpose of the lesson is to learn the process of rendering, not to perfect the results at this point.)

  4. From the Render View menu, select IPR > Redo Previous IPR Render.

    The rendered image updates to the full resolution.

By default, the resolution of the IPR window is 320 by 240 pixels. The advantage of this relatively small resolution is that it renders quickly. However, if you want a larger image, you can increase the image resolution.

To increase the size of the rendered image

  1. In the Render View menu, select Options > Render Settings (or click the Render Settings button in the Render View window).

    The Render Settings window appears.

  2. Click the Common tab, open the Image Size section, and select 640x480 from the Presets drop-down list.

    (An image size of 640 by 480 is four times as large as the 320 by 240 image size.)

  3. Close the Render Settings window.
  4. Close the Render View window.
  5. Select Render > IPR Render Current Frame (or select the IPR render current frame button on the Status Line).

    The Render View window opens and renders an image with an image size of 640 by 480 pixels.

    NoteIf you are using Maya on Windows or Linux, rendering the scene displays another window called the Output window, typically behind other windows on your desktop. The Output window lists statistics about the image just rendered. For now, you can ignore and close the Output window. It contains information that you will appreciate more as you gain experience using Maya.

So far, you’ve used IPR to see changes you made to a shader. If you add lights to the scene rather than using default lighting, you can also use IPR to help adjust the lighting.