1
$\begingroup$

I am trying to create a single stereoscopic image in which two camera angles are laid side by side, so that a Google Cardboard lense would converge the two. I have set up two Multi-View Cameras, (one for Left and one for Right), to create the two different views needed. I can use Switch View nodes and translate each of the views to their respective sides of the screen, and should theoretically be able to use Overlay to combine the two as shown below: enter image description here However, there seems to be no way to actually combine two views into a single image. If I try to save the resulting composite, it saves it as two files with Left and Right suffixes, but I want blender to do the work and combine the views into one single composite side by side. (I could go into photoshop and change it, but it seems like blender should have this functionality).If I go into the Composite Render Result, the image I get out still depends on the view that I select at the bottom. It appears that there is no Node that combines two views into one in this way.

Here you can see how I get two completely different results by choosing Left: enter image description here compared to Right: enter image description here even though it seems like the overlay should simply make them one. Also, hooking the Overlay result into both sockets of a Switch View Node does not combine them into one image, either.

I know there are several workarounds, such as setting up Render Layers with two completely different object orientations or two scenes, but I would like to know if there's any way to achieve this simple effect natively. Any help would be appreciated,

Graves Broderick.

$\endgroup$
2
$\begingroup$

You might have the intention of the node confused. The View Switch node is intended to combine two stereo images in compositing, not to split them. In the current Compositing Pipeline (which isn't suited for 3D Compositing) you have to save the images or use renderlayers to make unique changes for the left and the right side.

However you can easily view images side by side and save them.

  • in the non stereoscopic view mode, you can view the images individually by selecting their channels in the image editor
    single view
  • this button toggles individual image display and stereo image display mode
    enter image description here
  • to view a stereo image side-by-side directly from Blender, make Blender fullscreen AltF11 then choose window > set stereo 3D and choose your desired viewing mode; Blenders whole interface will be side by side
    enter image description here
  • with the "display the image in stereo 3d" toggle button you can switch to individual image display, while in side by side view
    enter image description here
  • in other modes (e.g. anaglyph, interlaced) we don't have to make Blender fullscreen
    enter image description here

All these viewing settings don't affect how the two images are handled internally. Once you want to save your image, you have to enter the method (with which the two images are combined) again.

Press F3 in the image editor to open up the save dialog. Under Views Format choose stereo 3d, then select the stereo mode (e.g. side-by-side).
(If your working in side-by-side you have the additional option to squeeze the images horizontally, so that the original render dimension will be respected.)

enter image description here

$\endgroup$
  • $\begingroup$ Wow, that "Side by Side" saving works perfectly! I figured it had to have had a feature to automatically do that for me, but I had no idea where to look before you came along! Thank you for your help! $\endgroup$ – Zacocast Jul 11 '18 at 0:08

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.