11
$\begingroup$

I have a scene with two objects. I need one to be rendered with the camera set to Perspective and the other to be rendered with an Orthographic camera.

I've put them on separate render layers, but it seems there can only be a single camera for both render layers. Is that true?

What's the best way to achieve this?

$\endgroup$
  • $\begingroup$ You could use a different scene. (I think. I'll test in a second..) $\endgroup$ – gandalf3 Jan 15 '14 at 0:09
10
$\begingroup$

You can have multiple cameras, but only one can be used at a time.

As a workaround, you can use two scenes.

  1. Move the object to be rendered in Perspective to the first layer and the object to be rendered in Orthographic to the second layer.

    Go to the Layers tab and select Layer 1 to be rendered.

    Select Layer 1

  2. Create a new scene by clicking the + in the Info Panel:

    enter image description here

    Select Link Objects.

  3. In the new scene, select the camera and press U> Object and Data to make the camera's transforms and settings independent from the original scene. Then set the camera to be orthographic in Properties > Object data > Lens.

  4. Still in the new scene, go to the Layers tab and select Layer 2 to be rendered.

  5. Set the background to transparent by enabling Transparent in Render settings > Film.

  6. In the composite nodes (for either scene, just keep in mind that they are independent so it's easiest to keep all the nodes in one scene) duplicate the Render Layers node and pick the other scene:

    enter image description here

  7. You can now combine them however you want using the compositor. E.g. with an Alpha Over node:

    Suzanne in Orthographic and Cube in Perspective

In this render, Suzanne is in orthographic and the rest is in perspective.

$\endgroup$
  • $\begingroup$ Good call, that's not too painful. But I have some edits to suggest since I wanted just one object to be in Orthographic and the rest of the scene in Perspective. $\endgroup$ – Garrett Jan 15 '14 at 7:26
  • $\begingroup$ It turned out to be more editing that I thought, but let me know what you think. $\endgroup$ – Garrett Jan 15 '14 at 7:50
  • 2
    $\begingroup$ @Garry I adjusted it slightly (creating two renderlayers in each scene is unnecessary), but good job otherwise :) $\endgroup$ – gandalf3 Jan 15 '14 at 20:31
  • $\begingroup$ nice, that simplifies thing. $\endgroup$ – Garrett Jan 16 '14 at 8:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.