太阳位置(Sun Position)
Sun Position allows positioning and animating the Sun (to a certain degree of accuracy), to simulate real-world natural lighting. It uses physical characteristics to position the Sun in the scene: geographic location, time and date. It is based on the Earth System Research Laboratory's online calculator.
激活
打开 Blender 并转到 “偏好设置”,然后转到 “插件” 选项卡。
选择 “光照” 类别,然后勾选 “Sun Position” 以启用插件。
界面
位于:
。用法
This add-on has two distinct modes of operation: the Normal Mode allows you to animate the Sun realistically, while the Sun + HDRI Texture Mode is useful for synchronizing a sun light to an HDRI texture.
The usage mode can be selected from the top of the Sun Position panel.
常规模式(Normal Mode)
This is the mode by default. After selecting the time and place, you can set up a sun light, a sky texture, and a collection to serve as visualization.
使用物体
Select the sun object which will be placed according to the chosen time and place. Its position will be updated every time you change the location or time, and you can thus create animations by setting keyframes on them.
使用集合
Select a collection of objects to be placed around the scene for visualization. Two options are available: analemma and diurnal.
Note
It is recommended to create a collection in the scene, and to move the objects into this collection. If you wish to create several visualizations, create as many collections as needed, select them in turn and choose the right settings. Once deselected, a collection will stay in place.
日行迹(Analemma)
The analemma is a visualization of the position of the Sun in the sky around the year for a given time of the day. In other words, it is like a time lapse picture of the sky over a year, with the Sun appearing multiple times at the same time of the day.
白天(Diurnal)
This option allows you to visualize the trajectory of the Sun in the sky during a single day.
天空纹理
Select a Sky Texture node in the World shading node tree. It will be set up to match the sun animation. This is useful if you want to have a simple sky texture matching a sun light's position.
位置
In order for the Sun to be placed correctly, you need to choose a place on Earth where the scene is located. This place is represented by two coordinates, Longitude (East / West) and Latitude (North / South). They are expressed in degrees, from -180° to +180° for the longitude, and from -90° to 90° for the latitude. The coordinates match those found on such databases as OpenStreetMap or Google Maps. You may enter and animate them manually, or paste them in.
输入坐标
In the Location panel, enter Latitude and Longitude coordinates corresponding to the location you wish to simulate. A simpler way is to go to an online map such as OpenStreetMap, copy the coordinates from there, and paste them into the Enter Coordinates field. They will be parsed automatically.
Another source is Wikipedia. Suppose you want to render the Barcelona Pavilion by Mies van der Rohe. You can copy the coordinates from the article and paste them into Blender.
北偏移(North Offset)
By default, the North points to the Y axis in the scene (to the top of the screen in top view). But sometimes, you may have modeled it in another orientation. In that case, you may enter a North Offset, to change the orientation of the scene. Show North toggles a dashed line pointing to the North in the 3D Viewport, to help you visualize the cardinal directions.
设置时间
After selecting the location on Earth, select or animate the date and time. This is fairly straightforward, but care must be taken to match the Time zone and Daylight Saving to the moment you wish to simulate. Time entered is the local time, but the global, UTC time may be displayed below as well.
Note
Time is stored in decimal format instead of hour:minute:second
.
To match a time in that format, look at the label Local.
Sun + HDRI Texture Mode
Instead of simulating the position of the Sun for a real location and time, this mode simply locks an environment texture with a sun light object. It is useful if you want to increase the contrast in a texture, by using an additional sun.
Synchronizing the Sun Object to the HDRI Texture
Start by selecting the sun object and Environment Texture node. You can then synchronize them by enabling Sync Sun to Texture. Hovering any 3D Viewport will display the environment texture. Use the MMB to pan, scroll wheel to zoom, and Ctrl-MMB to set the exposure. Zoom and click the center of the sun in the texture. After that, the sun object will be locked to it.
You can now rotate both the texture and the light by using the Rotation slider.
偏好设置
The preferences for the add-on make some features optional, so you can hide those you don't use.
参考
- 类别:
光照
- 描述:
用物体和/或天空纹理显示太阳位置。
- 位置:
- 文件:
sun_position 文件夹
- 作者:
Michael Martin (xaire)
- 维护者:
Damien Picard (pioverfour)
- 许可证:
通用公共许可证
- 支持级别:
社区
- 说明:
此插件与 Blender 捆绑在一起。