Chapter 1 · Purpose and connection

1.4First call

(
    local s = "TenPix loaded: " + ((TnpixTool != undefined) as string) + "\n"
    if TnpixTool != undefined do s += (TnpixTool.licInfo()) + "\n"
    s += "System unit: " + (units.SystemType as string) + " x " + (units.SystemScale as string) + "\n"
    s += "Range: " + ((animationRange.start.frame as integer) as string) + " to " + ((animationRange.end.frame as integer) as string) + " at " + (frameRate as string) + " fps"
    s
)

TnpixTool.licInfo() tells you whether this computer runs the demo or an activated licence. Tell the artist when a demo limit affects what they asked for:

  • up to 25,000 cloth vertices simulate, counted over every simulating garment in the scene together, for the first 100 frames only (colliders, and garments playing from a Tnpix Cache, do not count);
  • caches save as .tnc only (no Alembic);
  • Live at frame 0 drapes the cloth but neither holds it nor keeps the shape;
  • on a render farm or in batch mode, the demo simulates nothing.

Never handle a licence key. Activation is the artist's job, in the Licence window.