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.
| Property | Type | A | Default | Range | Description |
|---|---|---|---|---|---|
mode | integer | 0 | 0 – 1 | 0 = 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). | |
windType | integer | 0 | 0 – 2 | 0 = 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). | |
speed | float | A | 5.0 | -200.0 – 200.0 | The 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. |
wander | float | A | 10.0 | 0.0 – 180.0 | How far the wind's direction drifts back and forth over time, in degrees (outdoors about 10 - 20). |
falloff | float | A | 0.0 | 0.0 – 100.0 | How the wind fades with distance from the icon, per metre: 0.1 leaves 37 % of it 10 m away; 0 = the same everywhere. |
seed | integer | 1 | 0 – 99,999 | Another seed, another set of gusts - the same every bake. | |
fanSize | float | A | 0.6 | 0.01 – 100.0 | Fan only: the fan's diameter, in metres. |
fanSpread | float | A | 10.0 | 0.5 – 60.0 | Fan only: how wide its air spreads, in degrees (a real fan: about 5 - 10). |
pointCore | float | A | 0.3 | 0.01 – 100.0 | Point only: inside this radius, in metres, the air does not get faster. |
terrain | integer | 0 | 0 – 3 | 0 = 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. | |
gustStrength | float | A | 22.0 | 0.0 – 300.0 | How strong the gusts are on top of the speed, in percent of it. |
biggestGust | float | A | 15.0 | 0.01 – 1000.0 | The 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. |
gustLife | float | A | 1.0 | 0.05 – 50.0 | How long a gust keeps its shape while it travels: 1 = as real air, more = steadier, less = more restless. |
smallestGustAuto | boolean | true | On: gusts smaller than four of the cloth's own edges are left out. Off: smallestGust sets the size. | ||
smallestGust | float | 0.1 | 0.001 – 100.0 | Gusts smaller than this are left out, in metres (when smallestGustAuto is off). | |
map | texture map | undefined | Map 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. | ||
directionMap | texture map | undefined | Map mode: a colour map that turns the wind (red = across, green = up, blue = along the arrow). | ||
projection | integer | 0 | 0 – 1 | Map mode: 0 = along the wind (projected from the icon along its arrow), 1 = 3D around the icon (read in the icon's own space). | |
mapSize | float | A | 2.0 | 0.01 – 10,000 | Map mode: one repeat of a 2D map, in metres (a 3D map on XYZ coordinates keeps its own size). |
travel | boolean | true | Map mode: the map's pattern moves at the wind's speed (on), or stays where it is placed (off). | ||
mapGusts | boolean | false | Map mode: the Automatic gusts on top of the map. | ||
shadow | boolean | true | The wind shadow: cloth behind something gets slower, gustier air. | ||
shadowCloths | boolean | true | Every cloth on the same Tnpix Solver shelters the others, and itself. | ||
shadowColliders | boolean | true | The bodies the cloth's Tnpix Solver collides with shelter the cloth too. | ||
shadowNodes | node array | empty | Other objects that block this wind; geometry only. | ||
shadowLength | float | A | 2.0 | 0.01 – 1000.0 | How far behind a shelter the air is slowed, in metres. |
shadowSoftness | float | A | 10.0 | 0.0 – 89.0 | Softens the shadow's edge, in degrees. |
shelter | float | A | 75.0 | 0.0 – 100.0 | How much slower the air is right behind a solid shelter, in percent: 75 = a quarter of the wind gets through. |
patchAuto | boolean | true | On: the cloth reads the air over a patch four of its edges across. Off: patchSize sets it. | ||
patchSize | float | 0.08 | 0.001 – 100.0 | The patch the cloth reads the air over, in metres (when patchAuto is off): a gust smaller than the patch cannot push one spot alone. | |
pushAcross | float | A | 1.2 | 0.0 – 10.0 | How hard the air pushes a face that meets it square on (a flat plate: 1.2). |
dragAlong | float | A | 0.02 | 0.0 – 2.0 | How hard the air drags along the cloth's surface (smooth fabric: 0.02). |
angleModel | integer | 0 | 0 – 1 | 0 = 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). | |
smoothSpeed | boolean | true | The push reads the cloth's speed smoothed over the patch, so small quick movements of the cloth do not turn into wind. | ||
iconSize | float | 1.0 | 0.01 – 1000.0 | The icon's size in the viewport, in metres. | |
showAir | boolean | – | No panel control. Leave at the default. | ||
showMap | boolean | true | Draws the map on the icon (Map mode). | ||
showShadow | boolean | – | No panel control. Leave at the default. |