【教程】如何引入一张图片作为环境背景,并使图片大小可调节
daz吧
全部回复
仅看楼主
level 13
步海马 楼主
今天在论坛跟大神学了一招,把图片作为背景,关键是可以自由调节。
先上图:
这是原始背景图片
下边是DAZ里调整的人物+图片,未渲染
2019年02月21日 12点02分 1
level 13
步海马 楼主
看似简单,但直接把图片做为backdrop是不行的,这样导入的图片作为背景是无法调节的。
我调了一晚上也没调成,只好上官方论坛问,有大神给出了答案:
Create > New Primitive, choose Plane and Accept. Don't worry about the size for now.
Select the plane in your scene and, under the Parameters tab, rotate it 90 degrees on the X-axis so that it is vertical. You can also Translate it back along the Z-axis so it is positioned behind your figure.
It is important to set the dimensions of the plane to correspond to the aspect ratio of your background image, to avoid distortion. Check the dimensions of your image (outside of DAZ Studio) by right-clicking on it, selecting Properties from the popup window,then opening the Details tab and it will show the dimensions of the image in width x height. Divide the width by the height (units don't matter). The result is the amount by which you need to adjust the scale of the plane on the X-axis under the Parameters tab with the plane selected, in order to use your image without distorting. (For example, if your image is 900 pixels wide by 600 pixels high, then 900/600 = 1.5. You would then adjust the X Scale parameter of your plane 1.5 times or to 150%)
Now you are ready to load your image as a surface on the plane that you just created. With the plane still selected in your scene, open the Surfaces tab and select the plane there. Under the Diffuse Color, click the little triangle to the left and choose Browse. Navigate to the location of your image on your hard drive, select the image and click Open. The image should now appear on the surface of your plane.
The big advantage to this approach is that you now have a background that can be moved forward or back, up or down or from side to side using the Translation tools under the Parameters tab. You can also Rotate the plane if desired to correspond to different camera angles. You can also Scale the plane to make it larger or smaller, although you should only use the universal Scale parameter, not the individual x, y, or z scales, as the latter will screw up your image aspect ratio and distort the image.
谷歌翻译如下:
菜单Create> New Primitive,选择Plane和Accept。暂时不要担心尺寸。
选择scene中的plane,然后在“参数”选项卡下,将其在X轴上旋转90度,使其垂直。您也可以沿Z轴向后平移,使其位于图形后面。
重要的是将平面的尺寸设置为与背景图像的纵横比相对应,以避免失真。右键单击图像的尺寸(DAZ Studio外),从弹出窗口中选择“属性”,然后打开“详细信息”选项卡,它将以宽x高显示图像的尺寸。将宽度除以高度(单位无关紧要)。结果是您需要在参数选项卡下选择平面的X轴上调整平面比例的量,以便在不扭曲的情况下使用图像。(例如,如果您的图像宽900像素,高600像素,则900/600 = 1.5。然后,您可以将平面的X Scale参数调整1.5倍或150%)
现在,您已准备好将图像作为刚刚创建的平面上的曲面加载。在场景中仍然选择了平面后,打开“Surfaces”选项卡并选择那里的plane。在“漫反射颜色”下,单击左侧的小三角形,然后选择“浏览”。导航到硬盘驱动器上图像的位置,选择图像并单击“打开”。图像现在应该出现在平板表面上。
这种方法的最大优点是,您现在可以使用“参数”选项卡下的“移动”工具向前或向后,向上或向下或从一侧移动到另一侧。如果需要,您还可以旋转平面以对应不同的摄像机角度。您也可以缩放平面以使其更大或更小,但您应该只使用通用比例参数,而不是单独的x,y或z比例,因为后者会搞砸图像宽高比并扭曲图像。
2019年02月21日 12点02分 2
level 13
步海马 楼主
总结一下吧,以上的办法,虽然可以直接把2D背景图片摆拍成伪3D格局,但是,人物没办法直接加影子,没影子人就悬空了!
最近被这个影子问题搞得欲仙欲死,经过论坛多次虚心询问讨论,以及反复试验,最终有如下结论:
1. 按照上边的人物+庙宇的设置,人物是无法直接加上影子的,需要简单的PS。
2. 加影子方法一,两次渲染法。第一次只渲染经过适当旋转的寺庙图片,保存png,这次要隐藏女孩; 第二次隐藏寺庙背板,只渲染女孩以及地上的阴影,也保存png,最后将两个渲染图片在PS中合并。这个方法的好处是可以在DAZ里随意调节寺庙和女孩的各种角度和大小。
3. 加影子方法二,先在PS中调整寺庙图像,把它按3D图像旋转,保存为png,然后应用为DAZ场景的背景(backdrop),DAZ中的背景不能旋转但可以放大(环境>背景>分层图像编辑器)和移动,我通常将比例放大到200%,并将图片移动到适当的位置,然后调整女孩并渲染,这回阴影能够出现在女孩的脚下,因为DAZ的背景不会影响阴影的产生(但是背板plane会影响到阴影的出现)。这次的方法用PS只为旋转背景图像为伪3D而已。
基本就是这样了。
另外再顺便说一个DAZ里调整阴影浓淡的方法,我是研究了很久才找到的:
在 Render > Render Settings > Environment > Ground > Ground Shadow Intensity,在0到1之间调节即可。
还有人发现人物有一条阴影,无论是否打灯都是存在的,一般是沿X轴横向的,这个原因是:
在 Render > Render Settings > Environment > Environment Mode,缺省是 Dome and Scene,改为Scene Only 就行了。
2019年03月01日 16点03分 3
怎么弯曲啊 楼主
2019年04月11日 20点04分
level 4

2019年05月10日 23点05分 4
level 12
给楼主赞一个!
2019年08月26日 11点08分 5
level 3
2020年04月23日 02点04分 6
level 3
我的是中文的,不知道怎么加入照片可否教教我
2020年04月23日 02点04分 7
这老坟也让你给挖出来了?换4.12吧
2020年04月23日 04点04分
照片我加在上面做背景用的,但是在运动模型的是后,怎样让背景照片不跟这动
2020年04月23日 05点04分
level 3
:照片我加在上面做背景用的,但是在运动模型的是后,怎样让背景照片不跟这动
2020年04月23日 05点04分 8
不想动,就不要用create造板子,直接去右上,场景下边的 环境 里,加 backdrop
2020年04月23日 05点04分
level 1
用backdrop设置了背景,想导出成fbx的时候怎么绑定,我导出fbx,带着的背景老是导不出
2020年07月11日 08点07分 9
level 1
赞!!!
2020年08月03日 03点08分 10
level 3
我正需要,感谢分享[真棒]
2022年07月01日 13点07分 11
1