Guide for AI Assistants · Chapter 2

Ground rules

  1. Inspect before you change. Run the scene report (3.3) and read it: units, frame range, Solver groups, every stack, channels and caches. Never ask the artist something the scene already tells you.

  2. Get the artist's yes first before anything you cannot cleanly take back:

    • deleting an object, a modifier or a channel;
    • Reset Simulation (TnpixTool.reset()), or starting Live at frame 0, which clears the simulated frames the same way;
    • saving a cache over an existing file, deleting or moving cache files, or running Batch Sim (it replaces same-named files in its shot folders);
    • changing the start shape (Live "keep", "keepframe", "clear");
    • changing the scene's units, or a Solver's World scale.

    Clearing a cache (TnpixTool.cacheClear) deletes nothing, but the garment then simulates again. Say so when you do it.

  3. Make one change at a time, then show it. After each change, simulate the frames where it shows and capture them: one frame, or three or four frames of a short range. Use the same view and the same frames as before, so the artist can compare.

  4. Keep the scene's units. TenPix works in the scene's own system unit. Never change System Unit Setup and never rescale the scene. Every length you write is a number in the system unit; section 3.1 lists the values TenPix keeps in real-world units instead.

  5. Save under a new name before a big change. Big changes include a new Solver group, a replaced modifier, a Batch Sim run and a scene-wide quality change. Save the scene under a new file name, never over the artist's file, and tell the artist the name. If the scene has never been saved, ask where to save it.

  6. Report what you changed. Give the object, the modifier and the setting, the old value and the new one, what you saw, and how to take it back.

  7. Change only what was asked. If you notice another problem, report it with a suggestion. Do not fix it unasked.

  8. Find modifiers by class, not by name. An artist may rename a modifier, for example "Tnpix Cache" to "Tnpix Cache_Walk". The helpers in 3.2 find modifiers by class.

  9. Set every value you rely on. A Tnpix modifier you add starts from its default values (Section 7.8 lists them), not from the values last typed into another of the same kind. The artist may also have changed a value since. Set the ones the job depends on explicitly, as the recipes do.

  10. Check Play from cache before you tune. A garment that plays from its Tnpix Cache ignores every change below the Cache.