Home▸Rendering & Computer Graphics▸Emission-Absorption Volume Rendering: Ray Compositing Strip and Transmittance (2D)

Emission-Absorption Volume Rendering: Ray Compositing Strip and Transmittance (2D)

The same ray-compositing model in 2D: the phantom slice with the probe ray, the rendered strip, the transmittance and sample weights along the ray, and the transfer function.

Rendering & Computer Graphics2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Emission-Absorption Volume Rendering: Ray Compositing Strip and Transmittance (2D) ↗ Open standalone

A scanned cross-section with soft tissue, bone and a lesion is rendered by sending rays through it and compositing samples front to back. Change the transfer-function window, opacity scale, ray step size and lesion to see how each sample contributes, how transmittance falls with depth and how the image strip changes. Blender-built phantom, camera and screen, with numerical checks of the compositing equations.

⚙ Under the hood

The same ray-compositing model in 2D: the phantom slice with the probe ray, the rendered strip, the transmittance and sample weights along the ray, and the transfer function.

Volume RenderingAlpha CompositingTransfer FunctionBeer-LambertRay Marching

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)