Blender 灯光和渲染基础(第四章) 下载本文

翻译

Outdoor Lighting: Setting Up Our Scene 室外光源:

Lighting techniques are highly dependent on the location of the scene at hand. The approaches to lighting an outdoor scene are radically different from the techniques used to light an indoor scene. Knowing these differences and when to use each is important when aiming for a believable result. We will take a look at:

灯光技术高度取决于在场景的位置。室外灯光和室内灯光的处理技术是完全不同的。知道这些不同是很重要的对于我们创建一个真实可信的渲染结果。接下来我们将看看以下内容: ? Establishing a workflow 确定工作流程

? Things to consider when lighting a scene 照亮一个场景应该考虑的事情 ? Adding and editing lights in Blender 在Blender添加或编辑灯光

? How to use layers to increase the quality of our render 怎么使用层来提高我们的渲染质量

? What habits are good when lighting and why 那些习惯是好的和为什么是好的 Getting the right flies 获取文件

Before we get started, we need a scene to work with. There are three scenes provided for our use—an outdoor scene, an indoor scene, and a hybrid scene that incorporates elements that are found both inside as well as outside. All these files can be downloaded from http://www.cgshark.com/lighting-and-rendering/.

在我们开始前,需要一个场景文件。这里为我们提供了3个场景文件---一个室外场景,一个室内场景,和一个包含室内和室外的混合场景。所有的文件可以从这里下载http://www.cgshark.com/lighting-and-rendering/.

The file we are going to use for this scene is called exterior.blend. This scene contains a tricycle, which we will light as if it were a product being promoted for a company.

我们将要使用的场景文件叫exterior.blend。这个场景包含一个三轮车,我们将假设它是一个公司的宣传产品来设置照明布局。

To download the files for this tutorial, visit http://www.cgshark.com/lighting-and- rendering/ and select exterior.blend.

要下载本教程的文件,请访问 http://www.cgshark.com/lighting-and- rendering/ and select exterior.blend.

Blender render settings

In computer graphics, a two-dimensional image is created from three-dimensional data through a computational process known as rendering. It's important to understand how to customize Blender's internal renderer settings to produce a final result that's optimized for our project, be it a single image or a full-length film. With the settings Blender provides us, we can set frame rates for animation, image quality, image resolution, and many other essential parts needed to produce that optimized final result. Because we are going to use the same render settings for all projects in this book, we are going to take a look at how to set those values now.

在电脑图形中由3D图像通过计算得到2D图像的过程叫渲染。它是很重要的对于我们理解如何设置Blender内部渲染器来优化我们的项目产生最终的渲染结果,一个单一的图像或完整的影片。在Blender里,我们能够设置动画帧速率,图像质量,图像分辨率,和其它优化我们的产品最终结果必不可少的设置。因为我们将在本书中所有项目使用一样的设置,让我们看看怎么设置这些值。 The Scene menu 场景菜单

We can access these render settings through the Scene menu. Here, we can adjust a myriad of settings. For the sake of these projects, we are only going to be concerned with: 我们可以通过场景菜单访问这些渲染设置,在这里有大量的参数设置,但我们对于我们的这些项目,我们仅仅需要考虑的是:

? Which window Blender will render our image in Blender将在那个窗口渲染图像

? How render layers are set up (we will discuss this in more detail later on) 怎么设置渲染层(我们将稍后讨论更多的细节) ? Image dimensions 图像大小

? Output location and file type 输出路径和文件类型

Render settings 渲染设置

The first settings we see when we look at the Scene menu are the Render settings. Here, we can tell Blender to render the current frame or an animation using the render buttons.

首先让我们来看看场景菜单的Render设置。在这里我们可以通过使用按钮告诉Blender渲染当前帧或一个动画。

We can also choose what type of window we want Blender to render our image in using the Display options.

我们可以在Display选项选择Blender渲染一个图像时,使用哪一种窗口类型。

The fist option (and the one chosen by default) is Full Screen. This renders our image in a window that overlaps the three-dimensional window in our scene. To restore the three-dimensional view, select the Back to Previous button at the top of the window. 第一个选项是全屏(默认)。渲染图像时将覆盖我们的3d窗口。要返回到3D窗口视图,选择顶部的Back to Previous按钮.

The next option is the Image Editor that Blender uses both for rendering as well as UV editing, which we will cover later. This is especially useful when using the Compositor, allowing us to see our result alongside our composite node setup. By default, Blender replaces the three-dimensional