ITUR

Depth Media

Turns an image, a video or the webcam into a relief of particles, from a depth map estimated by AI.

What it is for

A portrait, a clip or yourself live, rebuilt in particles with real volume, then frayed into strands or flames. The node is both an emitter and a force: Emitter puts the particles on the picture, Flow holds them there and lets them go.

How it works

A separate process estimates the depth of every pixel: once for a file (the result is cached), continuously for the webcam. The picture becomes a grid of points in the X/Y plane of the system, Width wide and centred on its origin; near pixels come forward and far ones go back along Z, over a total range of Depth. Each particle owns one pixel for good, avoiding those behind Background or darker than Black Cut, and is born on it with its colour, changed by Desaturate and Tint. The Flow output pulls each particle to its pixel with Strength, so the cloud follows a video. Disperse releases the particles towards the end of their life, the top of the picture first with Height Bias: they travel along Direction at the Lift speed and curl with Swirl. Flames makes a share of the particles leave early as rising, swaying tongues.

Connections

Connect Emitter to the Emitter input of a Particle System and Flow to its Flows input. Set Color to Emitter on the Appearance node to see the picture. The inputs accept value nodes: the Depth Media preset opens the picture with the hand, through Disperse.

Settings

SettingWhat it doesDefault
DepthThickness of the relief along Z, in units: the nearest pixels sit at +Depth / 2, the farthest at -Depth / 2. 0 = a flat picture; a negative value inverts the relief.4
BackgroundRemoves the far pixels. Depth goes from 0 (farthest) to 1 (nearest): pixels at or below this value get no particles. Raise it to keep only the subject.0.12
Black CutRemoves the dark pixels: those whose brightness is at or below this value get no particles. Useful for footage on a black background.0.03
StrengthFlow output. How firmly each particle is pulled to its pixel. Low = a loose picture that lags behind; high = a sharp one that follows the video closely.8
DisperseFlow output. Share of its life a particle spends flying away instead of holding the picture. 0 = the picture holds; 0.5 = particles let go around mid-life; 1 and more = almost everything is loose.0
Height BiasFlow output. Where Disperse acts. 0 = the whole picture frays equally; 1 = the top frays first and the bottom hardly at all.0.75
DirectionFlow output. The way the released particles and the flames travel. Only the direction counts; the speed is Lift.0.15, 1, 0.2
LiftFlow output. Speed of the released particles along Direction. It varies from one region to the next, which gathers the particles into strands. Also the base speed of the flames.3
SwirlFlow output. Strength of the curls added to the released particles. 0 = they leave straight.2.2
Swirl ScaleFlow output. Fineness of the curls: low = wide, slow bends; high = small, tight ones.0.6
Desaturate0 = the colours of the picture, 1 = black and white.0.85
TintColour laid over the picture in moving patches. It follows the brightness of the pixels.1, 0.08, 0.18, 1
Tint AmountHow much of Tint is mixed in: light on the held picture, stronger on the dispersing particles and in the flames. 0 = no tint.0.75
FlamesFlow output. Share of the particles that leave the picture shortly after birth as rising tongues, grouped in moving bundles and more numerous towards the top. 0 = none.0.5
Flame HeightFlow output. Multiplies the rising speed of the flames, and so their height.1
FlickerFlow output. Sideways sway of the flames. 0 = they rise without wavering.1
SourceImage / Video: a file, analysed once. Live Webcam: the webcam, analysed continuously.
  • Image / Video
  • Live Webcam
FileThe image or video file. The common image formats are read as stills; any other file is treated as a video.
ResolutionNumber of pixels kept on the long side (64 to 768): each pixel is a point of the relief (320 = about 57,000 points). Changing it for a file calls for a new analysis.
CameraWebcam only. Number of the webcam (0 = the first one).
Live PrecisionWebcam only. Size of the image analysed for depth (140 to 518). Smaller = smoother live, larger = finer depth.
PlaybackVideo only. Real Time: the video follows the time of the simulation, and so the Time Scale of the system. Timeline: it follows the frame of the scene, counted from the start frame.
  • Real Time - Follows the system's Time Scale
  • Timeline - Follows the scene frame
SpeedVideo only. Playback speed: 1 = normal, 0 = stays on the first frame.
LoopVideo only. On: the video starts over at the end. Off: it stops on its last frame.
WidthWidth of the picture in the scene, in units. The height follows the proportions of the picture.
Analyze DepthButton. Computes the depth of the image, or of every frame of the video. Done once: the result is cached and reused. Until then the node shows Not analyzed yet.
Start WebcamWebcam only. Button that starts or stops the live depth. If hand tracking is running, both share the same camera image.

Outputs

Emitter, Flow

Tips

See also

Particle SystemAppearanceHandEmit Image