Sử Dụng

For example, we will take an existing blend-file that was made for monoscopic rendering and transform it to be stereo 3D ready.

../../../../_images/render_output_properties_stereoscopy_usage_anaglyph.png

Creature Factory 2 by Andy Goralczyk rendered in stereo 3D (anaglyph).

Giới Thiệu

Start opening up your project file, in this case turntable.blend from the Creature Factory 2 Open Movie Workshop series from the Blender Institute by Andy Goralczyk.

../../../../_images/render_output_properties_stereoscopy_usage_turntable-creature.png

Turntable Creature Factory 2.

Sắp Đặt về Lập Thể

Go to the Output Properties and enable Stereoscopy for this scene.

../../../../_images/render_output_properties_stereoscopy_usage_views-panel.png

Tính Chất của Cảnh -- Scene Properties.

Ghi chú

When you turn on Stereoscopy in the scene, you get 3D preview in the viewport, as well as multiple panels that are now accessible all over the user interface.

../../../../_images/render_output_properties_stereoscopy_usage_viewport.png

Viewport with 3D visualization.

Máy Quay Phim

To tweak the stereo 3D parameters, select the camera in the Outliner. In the Camera panel go to the Stereoscopy tab and change the Convergence Distance.

The viewport will respond in real-time to those changes allowing you to preview the current depth value of the scene.

../../../../_images/render_output_properties_stereoscopy_usage_camera-stereoscopy-panel.png

Stereo convergence distance.

Cổng Nhìn

Before fine-tuning the camera parameters, you can set the convergence plane in the viewport based in your scene depth layout. Go outside the camera view and you will instantly see the convergence plane in front of the camera.

You can toggle this and other display settings in the Stereoscopy panel of the 3D Viewport's Sidebar. In the following image, the camera's frustum volumes are also visible.

../../../../_images/render_output_properties_stereoscopy_usage_stereo-preview.png

Viewport plane and volume stereo preview.

Hiển Thị 3D Lập Thể

If you have a real 3D display at some point, you can change the 3D display mode in the Window menu, by calling the Stereo 3D operator. Be aware that some modes require a fullscreen editor to work.

../../../../_images/render_output_properties_stereoscopy_usage_window-stereo-3d.png

Window menu, stereo 3D operator.

Duyệt Thảo trong Cổng Nhìn

Before rendering your scene, you can save a Viewport Preview of the animation for testing in the final display. In the Render Output panel you can choose the output Views Format.

The options include individual files per view, top-bottom, anaglyph among others. Pick the one that fits your display requirements.

Kết Xuất và Trình Biên Soạn Hình Ảnh

Once you are happy with the results, you can render out the final animation. In the Image Editor you can inspect the individual views and the stereo result.

Định Dạng hình ảnh

Your final animation can be saved in more robust formats. In this example we saved as cross-eyed side-by-side stereo 3D.

../../../../_images/render_output_properties_stereoscopy_usage_render-sidebyside.png

Side-by-side cross-eye format.

Một Số Cân Nhắc Cuối Cùng

As this guide showed, there is more to stereo 3D rendering than just generate two images. The earlier the stereo pipeline is considered the smoother it will get. The following sections are a more in-depth view of the individual components we visited in the workflow.

Hiển Thị Lập Thể 3D trong Cửa Sổ

An essential component of the Stereoscopy pipeline is the ability to display the stereo image in a proper display. Blender supports from high-end 3D displays to simple red-cyan glasses. On top of that, you can set a different display mode for each window.

The display mode can be changed via the Window menu or if you create your own shortcuts for the wm.set_stereo_3d operator.

../../../../_images/render_output_properties_stereoscopy_usage_window-stereo-3d.png

Window menu, stereo 3D operator.

Chế Độ Hiển Thị

Ảnh Nổi Màu Bổ Sung

Render two differently filtered colored images for each eye. Anaglyph glasses are required. We support red-cyan, green-magenta and yellow-blue glasses.

Xen Kẽ

Render two images for each eye into one interlaced image. A 3D-ready monitor is required. We support Row, Column and Checkerboard Interleaved. An option to Swap Left/Right helps to adjust the image for the screen. This method works better in fullscreen.

Tuần Tự Thời Gian

Render alternate eyes. This method is also known as Page Flip. This requires the graphic card to support Quad Buffer and it only works in fullscreen.

Bên Kề Bên

Render images for left and right eye side-by-side. There is an option to support Cross-Eye glasses. It works only in fullscreen, and it should be used with the Full Editor operator.

Trên xuống Dưới

Render images for left and right eye one above another. It works only in fullscreen, and it should be used with the Full Editor operator.

Ghi chú

Full Screen Stereo 3D Modes

If you have a 3D display most of the time, you will use it to see in stereo 3D, you will have to go to the fullscreen mode. In fact some modes will only work in the full window mode that hides most of the user interface from the work area. In this case it is recommended to work with two monitors, using the 3D screen for visualizing the stereo result while the other screen can be used for the regular Blender work.

Máy Quay Phim Lập Thể 3D

When using the Stereo 3D scene view setup, a stereo pair is created on-the-fly and used for rendering and previsualization. For all the purposes this works as two cameras that share most parameters (focal length, clipping, ...). The stereo pair, however, is offsetted, and can have unique rotation and shift between itself.

../../../../_images/render_output_properties_stereoscopy_usage_camera-stereoscopy-panel.png

Stereo 3D camera settings.

Khoảng Cách Đồng Tử

Set the distance between the camera pair. Although the convergence of a stereo pair can be changed in post-production, different interocular distances will produce different results due to the parts of the scene being occluded from each point of view.

Khoảng Cách Tới Mặt Phẳng Đồng Quy

The converge point for the stereo cameras. This is often the distance between a projector and the projection screen. You can visualize this in the 3D Viewport.

Lập Thể Hình Cầu

Kết xuất các điểm ảnh xoay quanh máy quay phim chừng tâm của khoảng cách giữa hai con mắt.

Hội Nhập Cực

Phai mờ dần khoảng cách giữa hai mắt về 0 sau một giá trị góc giới hạn cho trước nào đó.

Góc Khởi Hội Nhập Cực

Góc độ mà khoảng cách giữa hai mắt bắt đầu mờ dần về 0.

Góc Kết Hội Nhập Cực

Góc nhìn khi khoảng cách giữa hai mắt bằng 0.

Chế Độ Hội Tụ

Ngoài Trục Ngắm

The stereo camera pair is separated by the interocular distance, and shifted inwards so it converges in the convergence plane. This is the ideal format since it is the one closest to how the human vision works.

Song Song

This method produces two parallel cameras that do not converge. Since this method needs to be manually converged it cannot be used for viewing. This method is common when combining real footage with rendered elements.

Chụm Vào

A less common approach is to rotate the cameras instead of shifting their frustum. The Toe-in method is rarely used in modern 3D productions.

Điểm Tựa

The stereo pair can be constructed around the active camera with a new camera built for each eye (Center Pivot) or using the existing camera and creating (Left or Right). The latter is what is used when only one eye needs to be rendered for an existing mono 2D project.

Cổng Nhìn Lập Thể 3D

When you enable Views in the Render Layer panel, a new area is available in the 3D Viewport Sidebar region. In this panel you can pick whether to see the stereo 3D in the viewport, or which camera to see. It also allow you to see the Cameras, the Plane and the Volume of the stereo cameras.

../../../../_images/render_output_properties_stereoscopy_usage_3d-view-stereoscopy-panel.png

Viewport stereo 3D settings.

Máy Quay Phim

When working with the Stereo 3D Viewports setup, you can inspect what each individual generated camera is looking or the combined result of them. In the Multi-View mode you can see the combined result of the left and right cameras (when available) or the current selected camera.

Mặt Phẳng

The convergence plane represents the screen as it is perceived by the audience. Visualizing it in the 3D Viewport allows you to layout your scene based on your depth script outside the camera view.

Âm Lượng

The intersection of the stereo cameras frustums helps planning the show by avoiding elements being visible by only one camera. The volume is defined by the camera's start and end clipping distances. The areas that are in the frustum of one camera only are known as retinal rivalry areas. They are tolerated in the negative space (the region from the convergence plane into the image) but are to be avoided at all costs in the positive space (the area from the convergence plane to the camera).

../../../../_images/render_output_properties_stereoscopy_usage_volume.png

Viewport 3D: convergence plane and volume display.

Đọc/Viết Hình Ảnh Đa Góc Nhìn và Lập Thể 3D

Đa Góc Nhìn và Lập Thể 3D

Multi-view images can be saved in special formats according to the production requirements. By default the system saves each view as an individual file, thus generating as many files as views to be rendered. In stereo 3D productions, for the final deployment or even intermediary previews it is convenient to save stereo 3D images, that are ready to use with 3D displays or simple anaglyph glasses. The formats supported match the display modes available for the window.

Các Định Dạng Gây Mất Mát

Some stereo 3D formats represent a considerable loss of data. For example, the Anaglyph format will cap out entire color channels from the original image. The Top-Bottom compressed will discard half of your vertical resolution data. The Interlace will mash your data considerably. Once you export in those formats, you can still import the image back in Blender, for it to be treated as Stereo 3D. You will need to match the window stereo 3D display mode to the image stereo 3D format though.

Các Định Dạng Bảo Toàn Chất Lượng

Some formats will preserve the original data, leading to no problems on exporting and importing the files back in Blender. The Individual option will produce separate images that (if saved in a lossless encoding such as PNG or OpenEXR) can be loaded back in production with no loss of data. For the Stereo 3D formats the only lossless options are Top-Bottom and Side-by-Side without the Squeezed Frame option.

OpenEXR Đa Góc Nhìn

Another option is to use multi-view OpenEXR files. This format can save multiple views in a single file and is backward compatible with old OpenEXR viewers (you see only one view though). Multi-view native support is only available to OpenEXR.

Trình Biên Soạn Hình Ảnh

Trình Đơn góc nhìn

After you render your scene with Stereo 3D you will be able to see the rendered result in the combined stereo 3D or to inspect the individual views. This works for Viewer nodes, render results or opened images.

../../../../_images/render_output_properties_stereoscopy_usage_image-editor-header.png

Stereo 3D and view menu.

Định Dạng các góc nhìn

When you drag and drop an image into the Image Editor, Blender will open it as an individual images at first. If your image was saved with one of the Stereo 3D formats, you can change how Blender should interpret the image by switching the mode to Stereo 3D, turning on Use Multi-View and picking the corresponding stereo method.

../../../../_images/render_output_properties_stereoscopy_usage_image-editor-multi-view.png

Views formats and stereo 3D.

Trình Tổng Hợp

The Compositor works smoothly with multi-view images. The compositing of a view is completed before the remaining views start to be composited. The pipeline is the same as the single-view workflow, with the difference that you can use images, movies or image sequences in any of the supported multi-view formats.

../../../../_images/render_output_properties_stereoscopy_usage_compositor.png

Trình tổng hợp, nút Phông Nền và nút Phân Hình Chiếu.

Những góc nhìn để kết xuất là những cái đã được xác định trong các góc nhìn của cảnh hiện tại, tương tự như phương pháp bạn xác định độ phân giải ở đầu ra của quá trình tổng hợp, trong bảng kết xuất cảnh hiện tại, bất kể đến độ phân giải của các nút Hình Ảnh hoặc các Tầng Kết Xuất từ các cảnh khác là thế nào đi nữa.

Ghi chú

Đơn Hình Ảnh -- Single Image

If the image from an Image node does not have the view you are trying to render, the image will be treated as a single-view image.

Nút Đổi góc nhìn

If you need to treat the views separately, you can use the Switch View node to combine the views before an Output node.

Mẹo

Hiệu Suất Thi Hành

By default, when compositing and rendering from the user interface all views are rendered and then composited. During test iterations you can disable all but one view from the Scene Views panel, and re-enable it after you get the final look.