Distance fields & implicit shapes · 2 / 10

Sphere Tracing

正しい距離または保守的な下限を使って光線を進め、表面を探す。

Compare in motion

動く暗黙形状

Synchronized comparison
AReference
小さい一定歩幅で進む

小さい一定歩幅で進む

BSphere Tracing100%
場から動く表面を描画できる

場から動く表面を描画できる

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: 安全な距離で段階的に進む → 移動後の表面に当たる。

A small visual example of a game use case. Games combine these techniques with assets and other effects.

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 Sphere Tracing. It shows the relationship between input, process, and result; exact values and rendering depend on the implementation.

Further reading

Hart — Sphere Tracing ↗

A reference for this term.