Water, terrain & plants · 7 / 10

Buoyancy

水に浸かった物体へ上向きの力を与える。

Compare in motion

水面の箱

Synchronized comparison
AReference
水位に追従しない箱

水位に追従しない箱

BBuoyancy100%
物体を水に浮かせられる

物体を水に浮かせられる

Loading demo…

Scrub to pause and inspect. At 0%, B matches A; at 100%, B shows the effect. The scene repeats every 8 seconds.

Look for: 浸かった体積の力を加える → 箱が浮いて揺れる。

This model simplifies the technique to show its use case and effect. Operation counts describe the model; they are not performance measurements.

Read the storyboard

例: 水面の箱

  1. 1. Start

    箱が沈みかける

  2. 2. Change

    浸かった体積の力を加える

  3. 3. Result

    箱が浮いて揺れる

物体を水に浮かせられる。時間変化を示す模式図です。実際の描画結果や処理速度を再現したものではありません。

How it works

  1. 1. Input

    水中の体積と水の密度

  2. 2. Process

    押しのけた水の重さを求める

  3. 3. Result

    上向きの力

A schematic of Buoyancy. It shows the relationship between input, process, and result; exact values and rendering depend on the implementation.

Further reading

GPU Gems — Effective Water Simulation ↗

A general reference for this subcategory.