Smoke, fire and surfaces¶
A PT T3D renders a 3D texture: as smoke and fire that light passes through, scatters in and glows from, or as a solid surface cut from the texture. The texture can be a Texture 3D TOP, any 3D TOP, or the output of a T3D operator, such as a smoke or fire simulation.
Putting a 3D texture into the scene¶
Wire the 3D TOP into a PT T3D, or name it in its Texture parameter. The texture fills a box from −0.5 to 0.5 on each axis, the size of a Box POP at its defaults. Move, turn and scale the box with the PT T3D's Xform page, as you would a Geometry COMP. Fit Aspect, on by default, shapes the box to the texture's proportions, so a flat or tall texture keeps its shape; turn it off to stretch any texture over a cube.
The Pathtracer renders the PT T3Ds its Geometry parameter takes, as it does PT GEOs: the default * takes all of
them. A PT T3D with its Render flag off is left out. With nothing wired in and nothing in Texture, a PT T3D
renders nothing.
Mode picks how the texture renders: Volume for smoke and fire, Surface for a solid surface.
Smoke¶
In Volume mode the texture is a cloud of fine particles. Density Channel picks the channel read as its density,
or lum for the brightness of the colour, and Density scales it: higher is thicker smoke that lets less light
through. Density is relative to the box, as Emission is: scale a PT T3D up or down and its smoke keeps its look,
rather than thickening as it grows.
Color is how much of the light the smoke scatters rather than absorbs: near white for steam and white smoke, dark for soot. Color from Texture tints it with the texture's own colour. Anisotropy sets the direction the light scatters in: above 0 the smoke scatters it forward and glows when a light is behind it, as smoke does against the sun.
Light passing through smoke dims alike in every colour, so even red smoke casts a grey shadow. Absorption tints that light with the smoke's colour: the smoke turns see-through in its own colour, like coloured glass, and its shadow takes the colour. At 1, red smoke lets red light through and casts a red shadow, strongest where the smoke is thin, such as at the shadow's soft edge, while the smoke itself looks a lighter, clearer red. With Color from Texture on, each part of the smoke tints the light with the texture's colour there.
Multiple Scattering is off by default: light scatters in the smoke once, for darker smoke with more contrast, while the surfaces around it keep every bounce that Bounces allows. Turn it on and light bounces around inside the smoke, which brightens its shadowed parts and softens its shading, the more so the whiter its Color.
Smoke casts shadows, darkens what is behind it, and is lit by every light, glowing material and the environment. Up to four PT T3Ds render as smoke at once.
Fire¶
Emission above 0 makes the volume glow where its Emission Channel is high. A T3D fire keeps its temperature in alpha, the default channel. Emission Color picks the colour of the glow:
- Blackbody glows like hot matter: where the channel is 1 at the colour of Temperature, cooler parts dimmer and redder. 1800 K, the default, is an orange flame.
- Ramp reads the colours from an Emission Ramp TOP, left to right, as T3D Volume does.
- Color glows in Emit Color, scaled by the channel.
A glowing PT T3D lights the scene: the floor under a fire flickers with it, and smoke in front of the glow dims it. The Pathtracer aims rays at the glow, so even a small, hot fire lights its surroundings with little noise. This makes every frame a little slower while a PT T3D has an Emission above 0, so leave Emission at 0 on smoke that should not glow.
Solid surfaces¶
In Surface mode the PT T3D renders a solid surface where the Density Channel crosses Threshold. Inside says which side is solid: Above for a density, such as a noise or smoke, and Below for a signed distance field, which is negative inside. Material shades the surface with a PT MAT; empty uses the Pathtracer's default material. The surface casts shadows, reflects and refracts like any PT GEO, and under DLSS it moves with the texture as it changes.
A texture that changes every frame rebuilds the surface every frame, which costs more the larger the texture. Lower Resolution Multiplier to build it from fewer, larger triangles. Flat Triangles shades each triangle with its own normal, so the facets show; off, the surface looks smooth. If parts of a very detailed surface go missing, raise Fraction of Max Allocation.
Smoke under DLSS¶
DLSS follows a box that moves or turns. Smoke that moves inside a still box, such as a simulation, can smear: raise the PT T3D's Responsivity to keep it sharp, at the cost of more noise, and lower it for smoke that stands still.
Dense smoke comes out slightly darker while its box moves fast, and recovers once it stops. Samples per Frame 2 reduces this along with the grain; DLSS Model D reduces it more, but flickers more at rest. See Denoising.
Smoke or haze¶
The Pathtracer's haze can take its shape from a 3D texture too, through Haze Texture. Use haze for the air of the whole scene, and a PT T3D for an object of smoke or fire: it has a box of its own that moves with its transform, its own colour and density, and it can glow. Both work together.