Chapter 3 · Modifier Properties

3.23TenPix_Wind

Panel name TenPix Wind · also reachable as TenPixWind

A space warp object, not a modifier: TenPix's own wind for the cloth (Create panel ▸ Space Warps ▸ TenPix). It acts on a cloth as air when the cloth's Tnpix Forces lists it (forceNodes). Create one with TenPixWind() and read and write its properties on it, for example $TenPixWind001.speed = 8. Its speeds and lengths are in metres per second and metres, whatever the scene's unit.

PropertyTypeADefaultRangeDescription
modeinteger00 – 10 = Automatic (TenPix makes the air: steady wind plus gusts of real sizes that travel with it), 1 = Map (a 3ds Max map shapes where and how hard it blows - white the full speed, black none).
windTypeinteger00 – 20 = Planar (one direction, the icon's arrow), 1 = Fan (a jet from the icon, fastest on its axis, spreading by fanSpread), 2 = Point (from the icon in every direction - into it with a negative speed - thinning with distance).
speedfloatA5.0-200.0 – 200.0The wind's speed in m/s: 1 a light air, 5 a moderate breeze, 15 a near gale. A Fan: where it leaves the fan; a Point: at its core's edge.
wanderfloatA10.00.0 – 180.0How far the wind's direction drifts back and forth over time, in degrees (outdoors about 10 - 20).
fallofffloatA0.00.0 – 100.0How the wind fades with distance from the icon, per metre: 0.1 leaves 37 % of it 10 m away; 0 = the same everywhere.
seedinteger10 – 99,999Another seed, another set of gusts - the same every bake.
fanSizefloatA0.60.01 – 100.0Fan only: the fan's diameter, in metres.
fanSpreadfloatA10.00.5 – 60.0Fan only: how wide its air spreads, in degrees (a real fan: about 5 - 10).
pointCorefloatA0.30.01 – 100.0Point only: inside this radius, in metres, the air does not get faster.
terraininteger00 – 30 = Open land, 1 = Suburb, 2 = City: sets gustStrength and biggestGust from measured wind near the ground (22 % / 15 m, 32 % / 9 m, 43 % / 6 m); 3 = Custom. Setting either of the two by hand makes it Custom.
gustStrengthfloatA22.00.0 – 300.0How strong the gusts are on top of the speed, in percent of it.
biggestGustfloatA15.00.01 – 1000.0The size of the gusts that carry the strength, in metres; smaller gusts come with them, each halving of size about 0.8 times as strong.
gustLifefloatA1.00.05 – 50.0How long a gust keeps its shape while it travels: 1 = as real air, more = steadier, less = more restless.
smallestGustAutobooleantrueOn: gusts smaller than four of the cloth's own edges are left out. Off: smallestGust sets the size.
smallestGustfloat0.10.001 – 100.0Gusts smaller than this are left out, in metres (when smallestGustAuto is off).
maptexture mapundefinedMap mode: the map that shapes the wind - white the full speed, black none; read once a frame (once in total if nothing moves it). undefined: the full speed everywhere.
directionMaptexture mapundefinedMap mode: a colour map that turns the wind (red = across, green = up, blue = along the arrow).
projectioninteger00 – 1Map mode: 0 = along the wind (projected from the icon along its arrow), 1 = 3D around the icon (read in the icon's own space).
mapSizefloatA2.00.01 – 10,000Map mode: one repeat of a 2D map, in metres (a 3D map on XYZ coordinates keeps its own size).
travelbooleantrueMap mode: the map's pattern moves at the wind's speed (on), or stays where it is placed (off).
mapGustsbooleanfalseMap mode: the Automatic gusts on top of the map.
shadowbooleantrueThe wind shadow: cloth behind something gets slower, gustier air.
shadowClothsbooleantrueEvery cloth on the same Tnpix Solver shelters the others, and itself.
shadowCollidersbooleantrueThe bodies the cloth's Tnpix Solver collides with shelter the cloth too.
shadowNodesnode arrayemptyOther objects that block this wind; geometry only.
shadowLengthfloatA2.00.01 – 1000.0How far behind a shelter the air is slowed, in metres.
shadowSoftnessfloatA10.00.0 – 89.0Softens the shadow's edge, in degrees.
shelterfloatA75.00.0 – 100.0How much slower the air is right behind a solid shelter, in percent: 75 = a quarter of the wind gets through.
patchAutobooleantrueOn: the cloth reads the air over a patch four of its edges across. Off: patchSize sets it.
patchSizefloat0.080.001 – 100.0The patch the cloth reads the air over, in metres (when patchAuto is off): a gust smaller than the patch cannot push one spot alone.
pushAcrossfloatA1.20.0 – 10.0How hard the air pushes a face that meets it square on (a flat plate: 1.2).
dragAlongfloatA0.020.0 – 2.0How hard the air drags along the cloth's surface (smooth fabric: 0.02).
angleModelinteger00 – 10 = Measured (a tilted patch is pushed as measured on flat plates: a sail fills), 1 = Simple (the push grows only with how squarely the face meets the wind).
smoothSpeedbooleantrueThe push reads the cloth's speed smoothed over the patch, so small quick movements of the cloth do not turn into wind.
iconSizefloat1.00.01 – 1000.0The icon's size in the viewport, in metres.
showAirboolean–No panel control. Leave at the default.
showMapbooleantrueDraws the map on the icon (Map mode).
showShadowboolean–No panel control. Leave at the default.