Bộ Điều Chỉnh Đại Dương (Ocean Modifier)

The Ocean modifier is a tool to simulate and generate a deforming ocean surface, and associated texture, used to render the simulation data. It is intended to simulate deep ocean waves and foam.

It is a port from the open source Houdini Ocean Toolkit.

Tùy Chọn (Options)

../../../_images/modeling_modifiers_physics_ocean_panel.png

The Ocean modifier.

Hình Học (Geometry)
Sinh Tạo (Generate)

Creates a tiled mesh grid that exactly corresponds with the resolution of the simulation data.

When generating a mesh surface, the existing mesh object is completely overridden with the ocean grid; this also includes any data generated from previous modifiers in the stack. A UV channel is also added, mapping the (0.0 to 1.0) UV space to the simulation grid.

Số Lần Nhắc Lại trên chiều X, Y (Repeat X, Y)

Controls the number of times the grid is tiled in X and Y directions. UVs for these tiled mesh areas continue outside of the (0.0 to 1.0) UV space.

Dịch Hình (Displace)

Uses the existing geometry rather than replacing it. Vertices are displaced along the local Z axis.

Độ Phân Giải của Cổng Nhìn, Kết Xuất (Resolution Viewport, Render)

The main control of quality vs speed in the simulation engine. This determines the resolution of the internal 2D grids generated by the simulation for the 3D Viewport or the final render.

The internal grids are powers of two of the resolution value, so a resolution value of 16, will create simulation data of size 256×256. The higher the resolution, the more details will be produced, but the slower it will be to calculate.

Ghi chú

When using the Generate modifier geometry option, this resolution value also determines the resolution of the generated mesh surface, equal to the resolution of the internal simulation data.

Thời Gian (Time)

The time at which the ocean surface is being evaluated. To create an animated ocean, you will need to animate this value. The speed that the time value is changing will determine the speed of the wave animation.

Chiều/Độ Sâu (Depth)

The constant depth of the ocean floor under the simulated area. Lower values simulate shallower waters by producing higher frequency details and smaller waves.

Kích Thước (Size)

A simple scaling factor that does not affect the height of the waves or behavior of the simulation.

Kích Thước Không Gian (Spatial Size)

The width of the ocean surface area being simulated, in meters. This also determines the size of the generated mesh, or the displaced area. Of course, you can scale the object with the Ocean modifier in Object Mode to tweak the apparent size in your scene.

Random Seed (Mầm ngẫu nhiên)

A different Seed will produce a different simulation result.

Sinh Tạo các Pháp Tuyến (Generate Normals)

Simulates extra normal map data. This can be used by the Ocean texture, when mapped to Normals, as a bump map, and enables generating normal map image sequences when baking.

Làn Sóng (Waves)

Tỷ Lệ (Scale)

An overall scale control for the amplitude of the waves. It approximates the height or depth of the waves above or below zero. Rather than just scaling the ocean object in Z, it scales all aspects of the simulation, displacement in X and Y, and corresponding foam and normals too.

Sóng Nhỏ Nhất (Smallest Wave)

A minimum limit for the size of generated waves. Acts similarly to a low-pass filter, removing higher frequency wave detail.

Độ Gợn Sóng (Choppiness)

The choppiness of the wave peaks. With a choppiness of 0, the ocean surface is only displaced up and down in the Z direction, but with higher choppiness, the waves are also displaced laterally in X and Y, to create sharper wave peaks.

Vận Tốc Gió (Wind Velocity)

Wind speed in meters/second. With a low velocity, waves are restricted to smaller surface waves.

Canh Hàng (Alignment)

The directionality of the wave shapes due to wind. At a value of 0, the wind and waves are randomly, uniformly oriented. With higher Alignment values, the wind is blowing in a more constant direction, making the waves appear more compressed and aligned to a single direction.

Chiều Hướng (Direction)

When using Alignment, the direction in degrees that the waves are aligned to (using local X axis as reference).

Giảm Chấn (Damping)

When using Alignment, this will define the amount that inter-reflected waves are damped out. This has the effect of making the wave motion more directional (not just the wave shape).

With a Damping of 0.0, waves are reflected off each other in every direction, with a Damping of 1.0, these inter-reflected waves are damped out, leaving only waves traveling in the direction of the wind.

Bọt (Foam)

Simulates extra foam data.

This can be retrieved by the Ocean texture for use in texturing (perhaps as a mask), and enables generating foam map image sequences when baking.

Tầng Dữ Liệu (Data Layer)

Optional name for the vertex data layer, used by the Ocean Modifier to store foam maps as a Color Attribute. This is required for accessing the foam data in the renderer.

Diện Tích Bao Phủ (Coverage)

Tweaks the amount of foam covering the waves, negative values will reduce the amount of foam (leaving only the topmost peaks), positive values will add to it. Typically ranges from (-1.0 to 1.0).

../../../_images/modeling_modifiers_physics_ocean_foam-layer-name.png

Sử dụng các Thuộc Tính Màu của bọt nước với tầng dữ liệu đã đặt tên.

Bụi Nước (Spray)

Generate map of spray direction as a Color Attribute. This map can be used to define the velocities for spray particles.

Bản Đồ Bụi Nước (Spray Map)

Tên của Thuộc Tính Màu sử dụng làm bản đồ chiều hướng bay của bụi nước.

Đảo Nghịch (Invert)

Đảo nghịch lựa chọn.

Hình Thể (Spectrum)

Hình Thể (Spectrum)

Used to choose the wave spectrum model to use. Wave spectra are used to describe how energy moves through the waves at different frequencies. Energy travels through waves differently depending on the depth of the water and the wind speed.

Đại Dương Náo Động (Turbulent Ocean)

Use for turbulent seas with foam (Phillips).

Đại Dương Tiêu Chuẩn (Established Ocean)

Use for a large area, established ocean where the ocean would extend for miles with wind blowing for days allowing the waves to reach a point of equilibrium (Pierson-Moskowitz method).

Đại Dương Tiêu Chuẩn [Sóng Nhọn Đầu] (Established Ocean [Sharp Peaks])

Similar to regular Established Ocean however, waves will continue to grow with time creating sharper peaks (JONSWAP and Pierson-Moskowitz method). An extra parameter is used to define the sharpness of these peaks.

Nước Nông (Shallow Water)

Use for shallow water with depths less than about 10 meters which makes it great for small lakes and ponds without heavy wind (JONSWAP and TMA -- Texel-Marsen-Arsloe methods).

Ví dụ về các cực phổ khác nhau với các sắp đặt điều chỉnh cho từng loại một. (Examples of different spectra, settings adjusted for each.)
../../../_images/modeling_modifiers_physics_ocean_spectra-turbulent.png

Đại Dương Náo Động.

../../../_images/modeling_modifiers_physics_ocean_spectra-established.png

Đại Dương Tiêu Chuẩn.

../../../_images/modeling_modifiers_physics_ocean_spectra-established-peaks.png

Established Ocean (Sharp Peaks).

../../../_images/modeling_modifiers_physics_ocean_spectra-shallow-water.png

Nước Nông.

Độ Sắc Nhọn của Đỉnh Sóng (Sharpness Peak)

An artificial factor to control how sharp the peaks of the waves are in the Established Ocean (Sharp Peaks) and Shallow Water spectrum models.

Chiều Dài Đà Gió (Fetch)

Distance from a lee shore, called the fetch, or the distance over which the wind blows with constant velocity. Used by Established Ocean (Sharp Peaks) and Shallow Water spectrum models.

Nướng (Bake)

Rather than simulating the ocean data live, it can be baked to files in a given directory. When a simulation is baked, the simulator engine is completely bypassed, and all information for the modifier or texture is retrieved from the baked files.

Baking has the following advantages:

  • It is faster to use the stored data rather than recalculating it.

  • It allows rendering of ocean data in external renderers.

  • It enables more advanced foam maps.

Simulation data is stored as sequences of OpenEXR image maps, one for each of displacement, normals, and foam (if enabled to be generated). Upon loading the data from these baked files, when a frame of the bake sequence is read, it is cached in memory. This means that accessing loaded frames subsequent times is fast, not incurring the overhead of drive access.

Since these baked files are plain OpenEXR's, they can also be opened and rendered in any other application or renderer that supports them.

Đường dẫn đến bộ nhớ đệm (Cache Path)

Folder to store the baked EXR files in. The sequences will be in the form disp_####.exr, normal_####.exr, and foam_####.exr, where #### is the four digit frame number. If the cache path folder does not exist, it will be created.

Khung Hình Khởi Đầu, Kết Thúc (Frame Start, End)

Frames of the simulation to bake (inclusive). The start and end frames of the bake are repeated when accessing frames outside of the baked range.

Sự Phai Mờ Dần của Bọt Sóng (Foam Fade)

Baking also provides improved foam capabilities. When simulating live, the ocean simulator retrieves data for that current frame only. In the case of the foam map, this represents the tips of wave crests for that given frame. In reality, after foam is created by wave interactions, it remains sitting on the top of the wave surface for a while, as it dissipates. With baking, it is possible to approximate that behavior, by accumulating foam from previous frames, leaving it remaining on the surface.

Ví Dụ (Example)

The following example was created and rendered in Blender, notice how the peaks of the waves are white; an effect generated from the foam data.