13
$\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$
1
  • $\begingroup$ You could use a different scene. (I think. I'll test in a second..) $\endgroup$
    – gandalf3
    Commented Jan 15, 2014 at 0:09

1 Answer 1

11
$\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$
6
  • $\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
    Commented Jan 15, 2014 at 7:26
  • $\begingroup$ It turned out to be more editing that I thought, but let me know what you think. $\endgroup$
    – Garrett
    Commented Jan 15, 2014 at 7:50
  • 2
    $\begingroup$ @Garry I adjusted it slightly (creating two renderlayers in each scene is unnecessary), but good job otherwise :) $\endgroup$
    – gandalf3
    Commented Jan 15, 2014 at 20:31
  • $\begingroup$ nice, that simplifies thing. $\endgroup$
    – Garrett
    Commented Jan 16, 2014 at 8:39
  • $\begingroup$ Does this question need to be updated for 2.8? $\endgroup$
    – user877329
    Commented Mar 22, 2020 at 15:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .