@automovie/template 0.2.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/README.md +2 -2
  2. package/generated/pnpm-workspace.json +3 -3
  3. package/generated/skills/3d-modeling/conditioning.md +42 -34
  4. package/generated/skills/3d-modeling/crafting/SKILL.md +6 -6
  5. package/generated/skills/3d-modeling/crafting/construction.md +22 -29
  6. package/generated/skills/3d-modeling/crafting/lofting.md +26 -24
  7. package/generated/skills/3d-modeling/crafting/recovery.md +8 -8
  8. package/generated/skills/3d-modeling/diffusion/image-hints.md +5 -5
  9. package/generated/skills/3d-modeling/diffusion/models.md +32 -16
  10. package/generated/skills/3d-modeling/diffusion/prompts.md +3 -3
  11. package/generated/skills/3d-modeling/diffusion/request.md +7 -5
  12. package/generated/skills/3d-modeling/diffusion/shape-hints.md +19 -17
  13. package/generated/skills/3d-modeling/inspection.md +11 -9
  14. package/generated/skills/3d-modeling/modularization.md +9 -9
  15. package/generated/skills/3d-modeling/rigging.md +44 -35
  16. package/generated/skills/3d-modeling/sources.md +10 -10
  17. package/generated/skills/contracts/development/common.md +4 -4
  18. package/generated/skills/contracts/development/design.md +4 -4
  19. package/generated/skills/contracts/development/implementation.md +7 -7
  20. package/generated/skills/contracts/development/testing.md +4 -4
  21. package/generated/skills/development/repair.md +2 -4
  22. package/generated/skills/documentation/SKILL.md +4 -4
  23. package/generated/skills/documentation/writing.md +56 -34
  24. package/generated/skills/motion/laws/authoring.md +20 -30
  25. package/generated/skills/motion/laws/contacts.md +13 -13
  26. package/generated/skills/motion/laws/declaration.md +8 -6
  27. package/generated/skills/motion/laws/transitions.md +20 -18
  28. package/generated/skills/motion/laws/variation.md +6 -6
  29. package/generated/skills/motion/laws/verification.md +8 -6
  30. package/generated/skills/prompting/SKILL.md +52 -34
  31. package/generated/skills/visual-debugging/capture.md +24 -22
  32. package/generated/skills/visual-debugging/comparison.md +4 -4
  33. package/generated/skills/visual-debugging/correction-rounds.md +6 -15
  34. package/generated/skills/visual-debugging/passes.md +11 -11
  35. package/generated/skills/visual-debugging/rendering-cost.md +2 -2
  36. package/lib/createAutoMovieScaffold.js +2 -20
  37. package/lib/createAutoMovieScaffold.js.map +1 -1
  38. package/lib/index.d.ts +1 -0
  39. package/lib/index.js +1 -0
  40. package/lib/index.js.map +1 -1
  41. package/lib/renderAutoMovieWorkspace.d.ts +22 -0
  42. package/lib/renderAutoMovieWorkspace.js +141 -0
  43. package/lib/renderAutoMovieWorkspace.js.map +1 -0
  44. package/package.json +5 -5
  45. package/scaffold/instructions/.agents/skills/3d-modeling/SKILL.md +22 -21
  46. package/scaffold/instructions/.agents/skills/3d-modeling/coarse-forms.md +7 -7
  47. package/scaffold/instructions/.agents/skills/3d-modeling/diffusion/SKILL.md +14 -10
  48. package/scaffold/instructions/.agents/skills/audio/SKILL.md +10 -10
  49. package/scaffold/instructions/.agents/skills/audio/acquisition.md +16 -18
  50. package/scaffold/instructions/.agents/skills/audio/diffusion/SKILL.md +18 -0
  51. package/scaffold/instructions/.agents/skills/audio/diffusion/cloning.md +25 -0
  52. package/scaffold/instructions/.agents/skills/audio/diffusion/models.md +59 -0
  53. package/scaffold/instructions/.agents/skills/audio/diffusion/prompts.md +45 -0
  54. package/scaffold/instructions/.agents/skills/audio/film-sound.md +7 -5
  55. package/scaffold/instructions/.agents/skills/audio/generated-sound.md +5 -3
  56. package/scaffold/instructions/.agents/skills/audio/listening.md +13 -0
  57. package/scaffold/instructions/.agents/skills/audio/sound-effects.md +6 -6
  58. package/scaffold/instructions/.agents/skills/audio/soundtrack.md +4 -2
  59. package/scaffold/instructions/.agents/skills/automovie/SKILL.md +32 -0
  60. package/scaffold/instructions/.agents/skills/contracts/SKILL.md +6 -29
  61. package/scaffold/instructions/.agents/skills/contracts/development/SKILL.md +13 -13
  62. package/scaffold/instructions/.agents/skills/contracts/development/behaviors.md +18 -7
  63. package/scaffold/instructions/.agents/skills/contracts/development/composition.md +9 -6
  64. package/scaffold/instructions/.agents/skills/contracts/development/entities.md +6 -7
  65. package/scaffold/instructions/.agents/skills/contracts/development/statements/behaviors.md +18 -20
  66. package/scaffold/instructions/.agents/skills/contracts/development/statements/composition.md +4 -6
  67. package/scaffold/instructions/.agents/skills/contracts/development/statements/entities.md +12 -13
  68. package/scaffold/instructions/.agents/skills/contracts/items.md +26 -0
  69. package/scaffold/instructions/.agents/skills/contracts/story/SKILL.md +37 -25
  70. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/brief.md +1 -1
  71. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/common.md +2 -2
  72. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/narratives.md +1 -1
  73. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/screenplay.md +1 -1
  74. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/scripts.md +1 -1
  75. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/treatments.md +1 -1
  76. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/common.md +4 -4
  77. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/common.md +2 -2
  78. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/realized.md +1 -1
  79. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/scripts.md +1 -1
  80. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/realized.md +2 -2
  81. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/scripts.md +2 -2
  82. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/brief.md +1 -1
  83. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/common.md +1 -1
  84. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/index.md +2 -2
  85. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/narratives.md +2 -2
  86. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/review.md +2 -2
  87. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/screenplay.md +1 -1
  88. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/scripts.md +2 -2
  89. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/settings.md +1 -1
  90. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/treatments.md +1 -1
  91. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/brief.md +1 -1
  92. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/common.md +1 -1
  93. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/index.md +1 -1
  94. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/narratives.md +2 -2
  95. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/realized.md +2 -2
  96. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/research.md +3 -3
  97. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/screenplay.md +3 -3
  98. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/scripts.md +2 -2
  99. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/settings.md +1 -1
  100. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/treatments.md +2 -2
  101. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/brief.md +1 -3
  102. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/common.md +3 -5
  103. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/narratives.md +1 -3
  104. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/screenplay.md +0 -2
  105. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/scripts.md +1 -3
  106. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/settings.md +1 -3
  107. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/treatments.md +1 -3
  108. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/common.md +11 -14
  109. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/common.md +1 -3
  110. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/realized.md +1 -3
  111. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/scripts.md +3 -5
  112. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/realized.md +2 -4
  113. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/scripts.md +1 -4
  114. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/brief.md +6 -6
  115. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/common.md +1 -3
  116. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/index.md +2 -4
  117. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/narratives.md +3 -5
  118. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/review.md +5 -7
  119. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/screenplay.md +5 -7
  120. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/scripts.md +2 -4
  121. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/settings.md +6 -8
  122. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/treatments.md +1 -3
  123. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/brief.md +4 -6
  124. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/common.md +2 -4
  125. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/index.md +2 -4
  126. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/narratives.md +3 -5
  127. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/realized.md +1 -3
  128. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/research.md +6 -8
  129. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/review.md +5 -7
  130. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/screenplay.md +19 -22
  131. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/scripts.md +9 -11
  132. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/settings.md +3 -5
  133. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/treatments.md +1 -3
  134. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/screenplay.md +1 -3
  135. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/scripts.md +1 -3
  136. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/treatments.md +0 -2
  137. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/screenplay.md +1 -1
  138. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/scripts.md +1 -1
  139. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/treatments.md +1 -1
  140. package/scaffold/instructions/.agents/skills/development/SKILL.md +14 -24
  141. package/scaffold/instructions/.agents/skills/development/entities.md +19 -15
  142. package/scaffold/instructions/.agents/skills/development/modules.md +31 -0
  143. package/scaffold/instructions/.agents/skills/development/source-layout.md +66 -50
  144. package/scaffold/instructions/.agents/skills/development/testing.md +10 -11
  145. package/scaffold/instructions/.agents/skills/evidence/SKILL.md +7 -7
  146. package/scaffold/instructions/.agents/skills/evidence/adoption.md +4 -4
  147. package/scaffold/instructions/.agents/skills/evidence/answering.md +3 -3
  148. package/scaffold/instructions/.agents/skills/evidence/configuration.md +4 -4
  149. package/scaffold/instructions/.agents/skills/image/SKILL.md +8 -19
  150. package/scaffold/instructions/.agents/skills/image/canon-references.md +16 -6
  151. package/scaffold/instructions/.agents/skills/image/diffusion/SKILL.md +23 -0
  152. package/scaffold/instructions/.agents/skills/image/diffusion/conditioning.md +29 -0
  153. package/scaffold/instructions/.agents/skills/image/diffusion/consistency.md +25 -0
  154. package/scaffold/instructions/.agents/skills/image/diffusion/editing.md +15 -0
  155. package/scaffold/instructions/.agents/skills/image/diffusion/finishing.md +11 -0
  156. package/scaffold/instructions/.agents/skills/image/diffusion/models.md +35 -0
  157. package/scaffold/instructions/.agents/skills/image/diffusion/prompting.md +27 -0
  158. package/scaffold/instructions/.agents/skills/image/turnaround-views.md +6 -2
  159. package/scaffold/instructions/.agents/skills/motion/SKILL.md +15 -32
  160. package/scaffold/instructions/.agents/skills/motion/catalog-cases.md +15 -15
  161. package/scaffold/instructions/.agents/skills/motion/compose/composition.md +34 -26
  162. package/scaffold/instructions/.agents/skills/motion/compose/refusals.md +5 -5
  163. package/scaffold/instructions/.agents/skills/motion/control-channels.md +14 -10
  164. package/scaffold/instructions/.agents/skills/motion/diffusion/SKILL.md +12 -8
  165. package/scaffold/instructions/.agents/skills/motion/diffusion/clips.md +23 -9
  166. package/scaffold/instructions/.agents/skills/motion/diffusion/hints.md +20 -8
  167. package/scaffold/instructions/.agents/skills/motion/diffusion/models.md +24 -16
  168. package/scaffold/instructions/.agents/skills/motion/diffusion/tracing.md +18 -12
  169. package/scaffold/instructions/.agents/skills/motion/frame-evaluation.md +6 -6
  170. package/scaffold/instructions/.agents/skills/motion/judgment.md +37 -0
  171. package/scaffold/instructions/.agents/skills/motion/laws/SKILL.md +11 -11
  172. package/scaffold/instructions/.agents/skills/motion/laws/extension.md +15 -11
  173. package/scaffold/instructions/.agents/skills/motion/laws/method-references.md +47 -17
  174. package/scaffold/instructions/.agents/skills/motion/performance.md +11 -0
  175. package/scaffold/instructions/.agents/skills/motion/physical-feedback.md +15 -15
  176. package/scaffold/instructions/.agents/skills/motion/retargeting.md +5 -5
  177. package/scaffold/instructions/.agents/skills/motion/segment-review.md +7 -5
  178. package/scaffold/instructions/.agents/skills/motion/staging.md +10 -8
  179. package/scaffold/instructions/.agents/skills/production/SKILL.md +11 -38
  180. package/scaffold/instructions/.agents/skills/production/assembly.md +11 -5
  181. package/scaffold/instructions/.agents/skills/production/captions.md +4 -4
  182. package/scaffold/instructions/.agents/skills/production/director.md +17 -0
  183. package/scaffold/instructions/.agents/skills/production/media-records.md +33 -11
  184. package/scaffold/instructions/.agents/skills/production/project-context.md +64 -22
  185. package/scaffold/instructions/.agents/skills/production/reorganization.md +3 -3
  186. package/scaffold/instructions/.agents/skills/production/stage-caches.md +7 -11
  187. package/scaffold/instructions/.agents/skills/production/sustained-runs.md +7 -7
  188. package/scaffold/instructions/.agents/skills/production/workflow.md +45 -0
  189. package/scaffold/instructions/.agents/skills/review/SKILL.md +10 -15
  190. package/scaffold/instructions/.agents/skills/review/delivery-review.md +51 -30
  191. package/scaffold/instructions/.agents/skills/review/estimation.md +32 -13
  192. package/scaffold/instructions/.agents/skills/review/independent-reading.md +6 -4
  193. package/scaffold/instructions/.agents/skills/review/narrative-rounds.md +7 -7
  194. package/scaffold/instructions/.agents/skills/review/source-review.md +5 -9
  195. package/scaffold/instructions/.agents/skills/story/SKILL.md +10 -13
  196. package/scaffold/instructions/.agents/skills/story/answers.md +10 -10
  197. package/scaffold/instructions/.agents/skills/story/correction/inspection.md +10 -12
  198. package/scaffold/instructions/.agents/skills/story/correction/repair.md +20 -14
  199. package/scaffold/instructions/.agents/skills/story/document-layout.md +32 -17
  200. package/scaffold/instructions/.agents/skills/story/layers/SKILL.md +11 -9
  201. package/scaffold/instructions/.agents/skills/story/layers/brief.md +4 -8
  202. package/scaffold/instructions/.agents/skills/story/layers/notation.md +8 -6
  203. package/scaffold/instructions/.agents/skills/story/layers/screenplay.md +20 -12
  204. package/scaffold/instructions/.agents/skills/story/layers/scripts.md +3 -3
  205. package/scaffold/instructions/.agents/skills/story/layers/settings.md +28 -11
  206. package/scaffold/instructions/.agents/skills/story/layers/shots.md +8 -8
  207. package/scaffold/instructions/.agents/skills/story/layers/treatments.md +3 -3
  208. package/scaffold/instructions/.agents/skills/story/planning/SKILL.md +7 -7
  209. package/scaffold/instructions/.agents/skills/story/planning/direction.md +2 -2
  210. package/scaffold/instructions/.agents/skills/story/planning/discovery.md +9 -7
  211. package/scaffold/instructions/.agents/skills/story/planning/requirements.md +10 -8
  212. package/scaffold/instructions/.agents/skills/story/planning/research.md +15 -18
  213. package/scaffold/instructions/.agents/skills/story/workflow/SKILL.md +8 -7
  214. package/scaffold/instructions/.agents/skills/story/workflow/long.md +18 -14
  215. package/scaffold/instructions/.agents/skills/story/workflow/routes.md +23 -17
  216. package/scaffold/instructions/.agents/skills/story/workflow/short.md +22 -14
  217. package/scaffold/instructions/.agents/skills/video/SKILL.md +9 -14
  218. package/scaffold/instructions/.agents/skills/video/diffusion/SKILL.md +7 -7
  219. package/scaffold/instructions/.agents/skills/video/diffusion/continuity.md +6 -6
  220. package/scaffold/instructions/.agents/skills/video/diffusion/hints.md +29 -12
  221. package/scaffold/instructions/.agents/skills/video/diffusion/models.md +40 -19
  222. package/scaffold/instructions/.agents/skills/video/diffusion/prompts.md +23 -15
  223. package/scaffold/instructions/.agents/skills/video/direct-film.md +53 -0
  224. package/scaffold/instructions/.agents/skills/video/finishing.md +14 -12
  225. package/scaffold/instructions/.agents/skills/video/generated-film.md +24 -0
  226. package/scaffold/instructions/.agents/skills/video/generation.md +25 -17
  227. package/scaffold/instructions/.agents/skills/video/requests.md +8 -8
  228. package/scaffold/instructions/.agents/skills/visual-debugging/SKILL.md +20 -18
  229. package/scaffold/instructions/AGENTS.md +46 -46
  230. package/scaffold/production/README.md +10 -19
  231. package/scaffold/production/package.json +1 -1
  232. package/scaffold/production/src/IFilmProduction.ts +22 -3
  233. package/scaffold/production/src/executable/physics.ts +8 -4
  234. package/scaffold/production/src/executable/recovery/node/artifact/archiveAutoMovieRecoveryModel.ts +4 -4
  235. package/scaffold/production/src/executable/recovery/node/artifact/createAutoMovieRecoveryArtifact.ts +5 -3
  236. package/scaffold/production/src/executable/recovery/node/artifact/writeAutoMovieRecoveryArtifact.ts +7 -7
  237. package/scaffold/production/src/executable/recovery/node/internal/readRecoveryCameraImages.ts +4 -2
  238. package/scaffold/production/src/executable/recovery/node/internal/recovery.ts +3 -3
  239. package/scaffold/production/src/executable/recovery/node/internal/recoveryImages.ts +3 -3
  240. package/scaffold/production/src/executable/recovery/node/internal/recoveryLocal.ts +4 -2
  241. package/scaffold/production/src/executable/recovery/node/internal/recoveryOpen.ts +2 -2
  242. package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryContourFileMesh.ts +17 -18
  243. package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryMeshSpool.ts +17 -18
  244. package/scaffold/production/src/executable/recovery/node/mesh/readAutoMovieRecoveryMeshFrontier.ts +4 -4
  245. package/scaffold/production/src/executable/recovery/node/publishAutoMovieRecoveryArtifact.ts +37 -21
  246. package/scaffold/production/src/executable/recovery/node/reconstruction/reconstructAutoMovieRecoveryLocal.ts +25 -15
  247. package/scaffold/production/src/executable/recovery/node/runAutoMovieRecoveryCommand.ts +1 -1
  248. package/scaffold/production/src/markFilmProduction.ts +1 -1
  249. package/scaffold/production/src/subjects.ts +28 -7
  250. package/scaffold/production/test/features/test_recovery_publication_cancellation.ts +129 -0
  251. package/scaffold/production/tsconfig.json +1 -2
  252. package/scaffold/production/vite.config.ts +12 -0
  253. package/scaffold/workspace/README.md +2 -2
  254. package/scaffold/workspace/package.json +1 -1
  255. package/src/createAutoMovieScaffold.ts +2 -39
  256. package/src/index.ts +1 -0
  257. package/src/renderAutoMovieWorkspace.ts +157 -0
  258. package/scaffold/instructions/.agents/skills/development/reuse.md +0 -48
  259. package/scaffold/instructions/.agents/skills/direct-film/SKILL.md +0 -51
  260. package/scaffold/instructions/.agents/skills/image/conditioning.md +0 -27
  261. package/scaffold/instructions/.agents/skills/image/consistency.md +0 -23
  262. package/scaffold/instructions/.agents/skills/image/editing.md +0 -15
  263. package/scaffold/instructions/.agents/skills/image/finishing.md +0 -11
  264. package/scaffold/instructions/.agents/skills/image/models.md +0 -18
  265. package/scaffold/instructions/.agents/skills/image/prompting.md +0 -25
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @automovie/template
2
2
 
3
- The scaffold every AutoMovie production starts from, with the one function that turns it into a project's files. Most people reach it through the [`automovie` CLI](../../README.md#commands). Use this package directly when your own tool has to create a production.
3
+ The scaffold every AutoMovie production starts from. Most people reach it through the [`automovie` CLI](../../README.md#commands). Use this package directly when your own tool has to create a production.
4
4
 
5
5
  ## Use
6
6
 
@@ -27,7 +27,7 @@ const files: Record<string, string> = createAutoMovieScaffold({
27
27
 
28
28
  Every dependency is a `catalog:` reference resolved by the generated `pnpm-workspace.yaml`: the AutoMovie packages at this package's own version, and the rest at the ranges this repository builds with.
29
29
 
30
- Package upgrades never rewrite an installed project.
30
+ When adding a production to an existing workspace, pass its directory and current YAML to `renderAutoMovieWorkspace({ directory, source })`. It returns the completed `pnpm-workspace.yaml`, preserving existing pins and overrides. A missing SDK package can resolve beside a linked package in a local SDK checkout.
31
31
 
32
32
  ## What the scaffold contains
33
33
 
@@ -28,9 +28,9 @@
28
28
  "ffmpeg-static": "^5.2.0"
29
29
  },
30
30
  "samchon": {
31
- "@nestia/e2e": "^12.1.0",
32
- "@ttsc/lint": "^0.37.0",
33
- "ttsc": "^0.37.0",
31
+ "@nestia/e2e": "^14.3.1",
32
+ "@ttsc/lint": "^0.37.1",
33
+ "ttsc": "^0.37.1",
34
34
  "@wrtnlabs/evidence": "^0.8.2"
35
35
  },
36
36
  "utils": {
@@ -1,64 +1,70 @@
1
1
  # Conditioning
2
2
 
3
- Conditioning turns a found or generated mesh, from [Sources](sources.md) or [Diffusion](diffusion/SKILL.md), into the form its consumer expects: the project's unit and axes, the triangle count its views need, and the parts or rest pose its motion needs. Do only what the asset's use needs, because each step makes a derivative to keep and verify, and work no view shows buys nothing.
4
-
5
3
  ## Frozen source
6
4
 
7
5
  Keep the source and every derivative reproducible in this order:
8
6
 
9
7
  1. Freeze the selected file and its sidecars, with their hashes, before anything reads them.
10
- 2. Record its origin and usage terms beside it; for a generated mesh, also the model, version, seed, prompt, inputs by digest, settings, job identifier and the plan whose terms cover the output.
11
- 3. Keep the original apart from every converted, reduced or rigged derivative, and record which source each one consumes.
8
+ 2. Record its origin and usage terms beside it.
9
+ 3. Keep the original apart from every converted, reduced or rigged derivative, and record the source each one consumes.
12
10
  4. Make each derivative with a saved script and its settings, never by hand in an interactive tool.
13
11
 
14
- The frozen file is the source, because a URL, a model name or a seed does not identify it and a service's download link can expire within minutes. The saved script makes each derivative again from it.
12
+ For a generated mesh, the record also holds the model, version, seed, prompt, inputs by digest, settings, job identifier and the plan whose terms cover the output.
13
+
14
+ Keep the frozen bytes locally. Service links can expire.
15
15
 
16
16
  ## What the use needs
17
17
 
18
- Every asset is [normalized](#normalization), [cleaned](#cleanup) and [reduced](#reduction). Its use adds:
18
+ Every asset is normalized, cleaned and reduced. Its use adds:
19
19
 
20
- | The asset | Further work |
20
+ | Further work | For an asset that |
21
21
  | --- | --- |
22
- | Moves as rigid parts on pivots, such as a door, a vehicle or a robot | Cut it into those parts under [Modularization](modularization.md) |
23
- | Deforms, such as a creature or a clothed figure | [Rigging](rigging.md) |
24
- | Carries crafted parts, such as a generated figure holding a crafted prop | Define each [connection](modularization.md#frames-and-connections) once for both sides |
25
- | Varies by a parameter | [Variation](#variation) |
22
+ | [Modularization](modularization.md) | Moves as rigid parts on pivots |
23
+ | [Rigging](rigging.md) | Deforms |
24
+ | [Connections](modularization.md#frames-and-connections) | Carries crafted parts |
25
+ | Variation | Varies by a parameter |
26
26
 
27
- Regular quad topology, new texture coordinates and rebaked maps serve an asset that is subdivided, edited further or seen close; do them when that use or the user asks. A remesh replaces the surface, so a textured asset then needs new texture coordinates and a bake from the frozen source.
27
+ Add quad topology, new UVs and rebaked maps for subdivision, editing, close views or user requests. After remeshing a textured asset, make new UVs and bake from the frozen source.
28
28
 
29
- ## Normalization
29
+ ## Steps for every asset
30
30
 
31
- Finish every service step, such as a remesh, segmentation or rig, on the service's own output first, with the mesh facing as that service requires, because a service can return a wrongly oriented result that still reports success.
31
+ ### Normalization
32
32
 
33
- Then convert the source to the project's unit, axes and handedness in one named step, because a generated mesh arrives at an arbitrary scale and facing, and check the result against a known real dimension, such as a figure's height or a door's width. Put the origin where the asset meets the ground, under its center, so placing it on a floor needs no offset.
33
+ Finish service-side remeshing or rigging in the service's required orientation. Check the returned orientation.
34
34
 
35
- ## Cleanup
35
+ Convert units, axes and handedness in one named step. Check a known dimension. Put the origin below the asset's center at ground level.
36
+
37
+ ### Cleanup
36
38
 
37
39
  Remove a defect at the first of these places that can remove it, listed from least work to most:
38
40
 
39
- | Place | Removes | Examples |
40
- | --- | --- | --- |
41
- | The request, generated again | What [Diffusion](diffusion/request.md) says to ask for | |
42
- | The generation service | Excess triangles, a wrong format or size and fused parts, in its own or an uploaded mesh | The [models](diffusion/models.md) that remesh, convert or segment |
43
- | A script over a mesh library in the project's own language | Duplicate vertices, pieces too small to see, excess triangles and unused data | [glTF Transform](https://gltf-transform.dev/functions) with [meshoptimizer](https://github.com/zeux/meshoptimizer) |
44
- | A mesh repair tool, or a digital content creation tool run from the command line | Holes, inner surfaces and irregular triangles | [PyMeshLab](https://github.com/cnr-isti-vclab/PyMeshLab), [Blender](https://docs.blender.org/manual/en/latest/advanced/command_line/index.html) |
41
+ | Place | Removes |
42
+ | --- | --- |
43
+ | The request, generated again | Whatever the diffusion request page says to ask for |
44
+ | The generation service | Excess triangles, a wrong format or size and fused parts |
45
+ | A mesh library script | Duplicate vertices, pieces too small to see, excess triangles and unused data |
46
+ | A repair tool | Holes, inner surfaces and irregular triangles |
45
47
 
46
- The examples are neither a complete list nor installed dependencies. Correct a texture's baked light and shadow only where it shows wrong in the actual render.
48
+ Use a [generator](diffusion/models.md) that remeshes, converts or segments. For scripted cleanup, options include [glTF Transform](https://gltf-transform.dev/functions) with [meshoptimizer](https://github.com/zeux/meshoptimizer). Repair tools include [PyMeshLab](https://github.com/cnr-isti-vclab/PyMeshLab) and [Blender's CLI](https://docs.blender.org/manual/en/latest/advanced/command_line/index.html).
47
49
 
48
- ## Reduction
50
+ Correct a texture's baked light and shadow only where it shows wrong in the render.
49
51
 
50
- Reduce to the triangle count the asset's closest required view needs, at one of the places [Cleanup](#cleanup) lists. Merge duplicate vertices first, within a tolerance that keeps texture seams, because a simplifier cannot collapse an edge across split vertices. Reduce before rigging, because weights belong to the final vertices and tools differ in whether a later simplification carries them.
52
+ ### Reduction
53
+
54
+ Reduce the mesh for its closest required view. Merge duplicate vertices without losing texture seams. Reduce before rigging so weights bind to the final vertices.
51
55
 
52
56
  Reduce any other cost only when [measurement](../visual-debugging/rendering-cost.md) shows it limits the render:
53
57
 
54
58
  | Measured cost | Remedy |
55
59
  | --- | --- |
56
- | Triangles of distant or repeated copies | Levels of detail, a flat card for the farthest copies, and one instanced mesh for the repeats |
57
- | Draw calls | Merge meshes that share a material, and remove duplicate materials and textures |
58
- | Texture memory | Lower each texture to the resolution its closest view resolves, pack small ones into an atlas, and store them in a GPU-compressed format |
59
- | Skinning | Fewer joints or influences per vertex, as a derivative [Rigging](rigging.md#binding) measures |
60
- | File size and loading time | Quantize vertex attributes and compress the mesh |
61
- | Triangles no view reaches | Remove them |
60
+ | Triangles of far or repeated copies | Levels of detail, a flat card for the farthest, one instanced mesh for repeats |
61
+ | Draw calls | Merged meshes that share a material, with duplicate materials and textures removed |
62
+ | Texture memory | Lower resolution, an atlas for small textures, and a GPU-compressed format |
63
+ | Skinning | Fewer joints or influences per vertex |
64
+ | File size and loading time | Quantized vertex attributes and a compressed mesh |
65
+ | Triangles no view reaches | Their removal |
66
+
67
+ Lower each texture only to the resolution its closest view resolves. Fewer joints or influences make a derivative that [Rigging](rigging.md#binding) measures.
62
68
 
63
69
  ## Variation
64
70
 
@@ -67,13 +73,15 @@ What the parameter changes decides whether the mesh can stay:
67
73
  | The parameter changes | Do |
68
74
  | --- | --- |
69
75
  | The size or placement of the whole or of one part | Transform that part |
70
- | The proportions of a rigged body | Change the bone lengths, let the skin follow, and hand the change to [motion](../motion/SKILL.md) |
76
+ | The proportions of a rigged body | Change the bone lengths and let the skin follow |
71
77
  | Bulk or bend, smoothly | Deform the mesh through a coarse lattice the parameter drives |
72
- | A count, the structure, or one dimension while the others hold | Give the form a generating definition, by [Crafting](crafting/SKILL.md) or by [mesh recovery](crafting/recovery.md) with the mesh as its source |
78
+ | A count, the structure, or one dimension while the others hold | Give the form a generating definition |
73
79
  | A person's build | Use the parametric figure the installed packages provide |
74
80
 
81
+ Hand a change of bone lengths to [motion](../motion/SKILL.md). The generating definition comes from [Crafting](crafting/SKILL.md), or from [mesh recovery](crafting/recovery.md) with the mesh as its source.
82
+
75
83
  A few fixed variants need no parameter: generate or fetch each as its own frozen source, accepting that their shared features will not match exactly.
76
84
 
77
85
  ## Final check
78
86
 
79
- Load the conditioned derivative through the actual consumer and judge it under [form inspection](inspection.md), beside the frozen source, at the views and motion it is used for.
87
+ Load the conditioned derivative through its consumer and judge it under [form inspection](inspection.md), beside the frozen source, at the views and motion it is used for.
@@ -1,16 +1,16 @@
1
1
  ---
2
2
  name: 3d-modeling-crafting
3
- description: Builds a form in code from named dimensions and formulas, lofts and fits it from related sections and guides, or recovers a fixed mesh as curves that parameters drive. Use when a form is shaped in code rather than generated or found as it is.
3
+ description: Builds a form in code, by lofting or by mesh recovery.
4
4
  ---
5
5
 
6
6
  # Crafting
7
7
 
8
- A crafted form is code: named dimensions and formulas that the engine turns into the same geometry every time. Crafting pays where dimensions define the form or a parameter must control it. For an organic form no parameter controls, such as an animal, a face or draped cloth, propose [Diffusion](../diffusion/SKILL.md) or [Sources](../sources.md) to the user first, because authoring that surface costs far more than [Conditioning](../conditioning.md) a mesh.
8
+ Craft the form in code when dimensions or parameters must control it. Otherwise propose [Diffusion](../diffusion/SKILL.md) or [Sources](../sources.md) to the user.
9
9
 
10
- | Task | Read |
10
+ | Read | For |
11
11
  | --- | --- |
12
- | Choose the representation, and build, size, test or refine the form from dimensions | [Construction](construction.md) |
13
- | Loft a form through related sections and guides | [Lofting](lofting.md) |
14
- | Rebuild a fixed mesh as curves or surfaces that parameters drive | [Mesh recovery](recovery.md) |
12
+ | [Construction](construction.md) | Choosing a representation; building, sizing, testing or refining from dimensions |
13
+ | [Lofting](lofting.md) | Lofting a form through related sections and guides |
14
+ | [Mesh recovery](recovery.md) | Rebuilding a fixed mesh as curves or surfaces that parameters drive |
15
15
 
16
16
  Organize a crafted form's parts and groups by [Modularization](../modularization.md), and test its construction as [construction](construction.md#tests) describes, within the project's [testing](../../development/testing.md) rules.
@@ -1,59 +1,52 @@
1
1
  # Construction
2
2
 
3
- Construction turns a crafted form's named dimensions and formulas into geometry: it picks the representation, evaluates every quantity on one generating definition, and sizes, resolves, tests and refines the form.
4
-
5
3
  ## Representation
6
4
 
7
5
  Pick the representation by the form, then optimize the form within it:
8
6
 
9
- | The form | Representation |
7
+ | Representation | The form |
10
8
  | --- | --- |
11
- | Made of dimensions, such as furniture, a machine, a building or a tool | Code CAD: dimensioned primitives with extrusion, revolution, sweep and boolean operations |
12
- | One section changing along an axis, such as a limb, a torso, a hull or a bottle | Sections lofted along that axis, under [Lofting](lofting.md) |
13
- | Repeated structure, such as a fence, a facade or foliage | Procedural rules, such as grammars or scattering |
14
- | Blended masses that never deform | Implicit surfaces |
15
- | Fine detail over any of these | Formula fields, such as displacement |
9
+ | Code CAD | Made of dimensions, such as furniture or a building |
10
+ | Lofted sections | One section changing along an axis, such as a limb or a bottle |
11
+ | Procedural rules, such as grammars or scattering | Repeated structure, such as a fence or foliage |
12
+ | Implicit surfaces | Blended masses that never deform |
13
+ | Formula fields, such as displacement | Fine detail over any of these |
16
14
 
17
- Take boolean and offset operations from the installed packages or an established solid-modeling kernel, because a hand-written boolean leaves open and self-intersecting surfaces.
15
+ Build code CAD from dimensioned primitives with extrusion, revolution, sweeps and Boolean operations. Use installed operations or an established kernel for Booleans and offsets.
18
16
 
19
- Vertices are only what the formulas emit; never place a vertex, triangle or polygon by hand. Hand-placed geometry fails a coding agent at each of its limits:
17
+ Generate vertices and faces from dimensioned formulas. Draw the construction beside the result to trace defects to their inputs.
20
18
 
21
- | The agent | Formulas and parts | Hand-placed geometry |
22
- | --- | --- | --- |
23
- | Changes text by meaning | A named value says what each change means | A coordinate means nothing |
24
- | Holds only part of a form in mind | The form is built part by part | The form runs to thousands of coordinates |
25
- | Cannot see the surface while it edits | A local edit keeps a fix where it was made | Moving a vertex disturbs neighbors it cannot see |
26
- | Judges a render it did not draw | A construction drawn beside the surface, such as sections, sketches or a generation skeleton, traces each defect to the value that made it | A mesh has no construction to trace |
19
+ ## Definition and dimensions
27
20
 
28
- ## Generating definition
21
+ ### Generating definition
29
22
 
30
- Relate a loft's sections, guides and parameter directions through one generating definition, and another representation's sketches, fields or procedural structure likewise. Evaluate every geometric quantity of the form on that definition: placements, attachments, skin weights, texture coordinates, measurements and the joins between parts. Measure the displayed surface as the definition evaluates it, such as a subdivision limit surface rather than its cage.
23
+ Use one generating definition for sections, guides, parameter directions or their equivalents. Evaluate placements, attachments, weights, UVs, joins and measurements on that definition. Measure a subdivision surface on its limit surface.
31
24
 
32
- Tessellation comes last, for renderers and exporters, and nothing is read back from it. A quantity found by reading, searching, clipping, ray casting or relaxing the emitted triangles moves with the detail setting, so it drifts between preview and final render and answers to no input.
25
+ Tessellate last for rendering and export. Compute geometric quantities on the generating definition, independently of tessellation.
33
26
 
34
- A mesh used or generated as it is, an imported mesh's weights under [Rigging](../rigging.md), and a fixed source observed for [mesh recovery](recovery.md) have no generating definition, so their own triangles are what is measured.
27
+ A mesh used or generated as it is, an imported mesh's weights, and a fixed source observed for mesh recovery have no generating definition, so their own triangles are what is measured.
35
28
 
36
- ## Dimensions
29
+ ### Dimensions
37
30
 
38
- Construct positions in each part's local frame from named dimensions and dimensionless ratios tied to shared axes, landmarks and boundaries. Express related curves as a parameterized family with shared dimensions and constraints, and keep independent measurements as independent parameters. Calibrate through named, sourced dimensions and coefficients, never by patching a case with absolute vertex coordinates or by copying a neighbor's placement constants.
31
+ Derive positions in local frames from named dimensions and dimensionless ratios. Give related curves shared axes, parameters and constraints. Keep independently measured dimensions independent and cite calibration inputs.
39
32
 
40
- Construct a dimension that names a published measurement at that measurement's site and by its definition, and check it the same way. A dimension placed by a private convention only measures itself back, and a factor that absorbs a wrongly measured input becomes an error once the input is corrected.
33
+ Construct and check published measurements at their defined sites. Correct a misdefined input at its source.
41
34
 
42
35
  Size a feature on a surface in physical units through the surface's metric, because a feature sized in chart parameters changes size whenever the surface or its layout changes.
43
36
 
44
37
  ## Resolution
45
38
 
46
- Let the number of emitted primitives follow the resolution setting, not the number of crafted features, and spend them where the surface curves or forms the silhouette rather than evenly. Keep defining dimensions and feature locations independent of tessellation, and use a parametric surface, subdivision, cards, instances or levels of detail where the form allows.
39
+ Use resolution and local curvature or silhouette to allocate primitives. Keep defining dimensions and feature locations independent of tessellation. Use parametric surfaces, subdivision, cards, instances or levels of detail where applicable.
47
40
 
48
41
  On a subdivision surface, place extraordinary vertices where curvature is low and keep them at valence 3 or 5 where the layout allows, because higher valences and clustered poles leave visible pinches on the limit surface.
49
42
 
50
43
  ## Evaluation
51
44
 
52
- Set up each section or segment once, with its coefficients and derivatives, and evaluate each point from that setup in constant time. Invert a parametrization with a table or an analytic step, such as Newton's method on the analytic derivative, rather than a long bisection over full evaluations, and solve a dimension on the part it controls rather than regenerating the whole form inside a solver loop. Slow generation lengthens every [correction round](../../visual-debugging/correction-rounds.md), and a costly round invites local patches in place of repairs at the cause.
45
+ Precompute each section or segment's coefficients and derivatives for constant-time evaluation. Invert parameters by lookup or an analytic step. Solve dimensions on the controlled part alone.
53
46
 
54
47
  ## Tests
55
48
 
56
- Test each construction operator alone against an analytic oracle on made inputs, such as the intersection of two orthogonal cylinders against the Steinmetz curve, or a blend's declared continuity at both of its rails.
49
+ Test each operator against an analytic oracle, including its declared continuity at joins.
57
50
 
58
51
  Audit invariants generically over every section and join of the finished form: each section closed and free of self-intersection, each surface continuous, and the declared continuity held across each join.
59
52
 
@@ -61,10 +54,10 @@ Check each input on the finished form at its own definition, such as a measureme
61
54
 
62
55
  ## Stylization
63
56
 
64
- Express stylization, such as exaggerated proportions or fantasy features, as a separate layer of transforms over the generating curves and parts rather than as edits inside their construction. The base construction and its tests then stay valid underneath, and every repair to the base reaches the stylized variant. Record an adopted stylization where the project records its decisions.
57
+ Apply stylization as separate transforms over the generating curves and parts. Record it as a project decision.
65
58
 
66
59
  ## Order of work
67
60
 
68
- Build the whole form first, then each finer detail as the block-out of a smaller region placed on the coarser form, so a coarse change carries its details with it. Scale orders construction and inspection but not correction: each [correction round](../../visual-debugging/correction-rounds.md) covers the whole form and every finer region and fixes every traced cause in one change, whatever its scale.
61
+ Build from whole form to local detail, attaching details to the coarser form. Cover the whole form and finer regions in every correction round.
69
62
 
70
- Regenerate anything derived when its basis changes, and repair an unsound representation at its foundation instead of stacking corrections on it.
63
+ Regenerate dependent outputs when their inputs change. Correct faulty representations at their source.
@@ -1,72 +1,74 @@
1
1
  # Lofting
2
2
 
3
- Lofting builds a surface through one family of related sections and guides, authored from dimensions or fitted to a source. Choose it by the form under [representation](construction.md#representation), and give its parts owners under [Modularization](../modularization.md). A fixed mesh or an ordered line source goes through [mesh recovery](recovery.md) before its section family is fitted.
3
+ Build surfaces from related sections and guides. Choose lofting by [representation](construction.md#representation), assign parts under [Modularization](../modularization.md) and recover fixed mesh or line sources before fitting.
4
4
 
5
5
  ## One section family
6
6
 
7
- Define the family from independent [dimensions](construction.md#dimensions): its physical course, section planes, relative frames and stations. Derive its guides from the family, derive supported spans from corresponding feature parameters, and constrain the joins between spans.
7
+ Define the course, section planes, frames and stations from independent [dimensions](construction.md#dimensions). Derive guides from the family and spans from corresponding feature parameters. Constrain the joins.
8
8
 
9
- Declare each section's plane and frame. A bone-relative family can take sections normal to its course, carried along it by a rotation-minimizing frame, the frame that twists least. A composed family declares its common physical plane and each contributing curve's own plane and frame map, and that plane need not be normal to each contributor's axis. Verify those maps, and measure each published dimension in the plane its definition requires, because a world-plane cut can be oblique to a member.
9
+ Declare each section's plane and frame. A bone-relative family can take sections normal to its course, carried along it by a rotation-minimizing frame, the frame that twists least.
10
10
 
11
- A few view curves can define the whole family: front and side outline pairs, an axis, and a fullness control, the value that sets how far each section bulges between its outline points. Each section is then the chain of conic or rational arcs through the outline points at its station, shaped by that fullness, as in conic lofting, and measured section dimensions check the loft instead of being authored loop by loop.
11
+ Declare the common plane and each contributing curve's plane and frame map. Verify the maps and use each published measurement's prescribed plane.
12
12
 
13
- A section need not be convex. A groove, crease or valley along the form is one more longitudinal control curve, an inflection line drawn like the outlines, and each section turns inward where that line crosses it. Fit the sections to the surface itself, not to its [tape hull](#composition-before-lofting), because a hull leaves every concavity to cutters and reliefs, whose edges show as steps, slots and patches.
13
+ Define a conic loft by front and side outlines, an axis and fullness. Fullness controls the bulge between outline points. Join those points with conic or rational arcs at each station. Check the loft against measured section dimensions.
14
14
 
15
- The method's one limit is that each section is star-shaped about the course: every ray from the course point meets it once. A feature that folds back over itself becomes its own family, joined to its host under [Connections](#connections). Learn what a method can express from its section model's types and its literature before working around a limit, because a limit inferred from the method's name sends every form it could carry to workarounds.
15
+ Use longitudinal inflection lines to preserve grooves, creases and valleys. Fit each section to the actual surface and preserve its concavities.
16
16
 
17
- Fit a section that is symmetric about a plane as one half, with both extremes held on that plane, and reflect it. An extreme left free wanders along a flat stretch of the outline from station to station, and its track shows as a crease.
17
+ Each section must be star-shaped about the course point: every ray from it meets the section once. Join any feature that folds back as a separate family under Connections. Check the section types and literature before assuming a limitation.
18
18
 
19
- Choose each curve's representation by its span's continuity and fullness contract, because a weaker representation silently drops a promised continuity. Reconcile measured guide intersections before interpolating, using sections and obliques beside the front and side envelopes, and keep the operator's interpolation waypoints, control points and evaluated points distinct.
19
+ Fit and reflect one half of a symmetric section, with both endpoints constrained to the symmetry plane.
20
+
21
+ Choose a curve representation that preserves continuity and fullness. Reconcile measured guide intersections from sections, obliques and outlines before interpolation. Distinguish waypoints, control points and evaluated points.
20
22
 
21
23
  ## Closed ends
22
24
 
23
- Mesh a closed end in rings of its own between its last section and its pole, because an end without stations is drawn as a cone with a flat disc at the pole. Its closing law meets both the wall's slope and the wall's bend where they join, since a law that meets only the slope leaves a ring there. An end that is not visible surface, such as one buried in another part, takes the slimmest closure the law allows, so it stays inside what covers it.
25
+ Close an exposed end with rings from the last section to the pole. Match the wall's slope and curvature. Keep a hidden closure inside the covering surface.
24
26
 
25
27
  ## Composition before lofting
26
28
 
27
- When several authored regions share a physical section, compose their 2D pieces in that declared plane and frame before generating the surface. Keep the source controls and coordinate maps, reconcile guide and profile correspondence, and preserve the actual components, concavities, holes and topology changes. Neither a projected silhouette Boolean, which loses depth, nor a tape hull, the outline a taut measuring tape takes around the section, which bridges concavities, is the composed section.
29
+ Compose shared 2D pieces in their declared plane and frame before lofting. Keep the controls, maps and profile correspondence. Preserve components, concavities, holes and topology changes.
28
30
 
29
- Choose among sections, sweeps, local curve networks and retained volume operations by their geometric and editing contracts. An anatomical or logical name may identify a subdomain of one generating stream rather than a loft of its own. Compare exact conversion with explicitly bounded approximation under their actual premises, keeping the inputs' valid meanings and independent expectations; fewer streams or patches alone prove neither speed nor correctness.
31
+ Choose sections, sweeps, curve networks or volume operations by the geometry and editing requirements. A named part may occupy a subdomain. Verify exact conversions and the stated bounds of approximations against independent expectations.
30
32
 
31
33
  ### Reliefs
32
34
 
33
- A relief offsets the wall's skin by one height per point along its cast. Build that height, and every target it blends between, from C2 functions, such as a C2 ramp and a C2 max over the roll, because a hard clamp, max, min or polyline corner becomes a crease however finely it is sampled. The relief's window contains the whole region where its height is nonzero, since a window edge through a nonzero height leaves a crease too.
35
+ Offset the skin by one height per point along the cast. Build the height and all blended target fields from C2 functions. Include the entire nonzero height field in the window.
34
36
 
35
- A relief's cast must see the skin it carries. Leave unobserved any observation whose cast grazes the skin: a ray running along the skin measures where an edge-on face begins, not how deep the skin lies, so the net builds a cliff there and draws a notch or spikes. A form no cast sees belongs to the wall as an inflection line, or to a family of its own.
37
+ Exclude grazing cast rays from observations. Use an inflection line or a separate family for a form the cast cannot observe.
36
38
 
37
- A relief shows at its edge, in its fade and at its net's spacing, and its one height per point cannot overhang. When a surface reads in steps or level lines, look first at what its reliefs carry, and move any concave form the wall can hold into the wall as an inflection line; fewer curves alone leave those marks.
39
+ A one-height relief cannot overhang. For surface steps, inspect relief edges, fades and control spacing. Move concavities the wall can express into inflection lines.
38
40
 
39
- Reliefs, cutters and bands are fitted to the wall beneath them, and a relief's net density depends on that wall. When a correct change moves the wall, refit them on the new wall and measure the density again, because reverting the wall to keep them restores the defect the change removed.
41
+ Reliefs, cutters and bands are fitted to the wall beneath them, and a relief's net density depends on that wall. When a correct change moves the wall, refit them on the new wall and measure the density again; never revert the wall to keep them.
40
42
 
41
43
  ## Connections
42
44
 
43
- Define a known connection before lofting: its original port curves or its join seed, its domains, correspondence, frames and available transverse data. The surface operator then consumes the ports or traces the intersection from that seed, and never searches for the connection.
45
+ Define each connection before lofting. Supply its port curves or intersection seed, domains, correspondence, frames and available transverse data. The operator uses the supplied definition or traces from the seed.
44
46
 
45
47
  A smooth join consumes one boundary and compatible transverse derivatives, accounting for parameter direction and scale. Preserve declared creases, and check seams, orientation and self-intersections.
46
48
 
47
- A port band, the strip of surface that joins two parts at a declared port, needs its own admission of topology, regularity and continuity, and is not automatically a continuation of an end. Apply C2 or G2 continuity only on the domains that promise it, and keep missing support explicit.
49
+ Check each port band's topology, regularity and continuity. Apply C2 or G2 only where promised and report unavailable support.
48
50
 
49
51
  Seed a traced intersection from shared landmarks. Near a closed end, carry the trace in the root parameter, the square root of the distance from that end, because the station chart is polar there and a linear or quadratic predictor fails in it.
50
52
 
51
53
  ## Sampling
52
54
 
53
- When a field is sampled into a spline net, place each control at its Greville abscissa, the average of its knots, because evenly spaced controls shift and stretch the features by up to a span.
55
+ Place spline-net controls at their Greville abscissae, the averages of their knots.
54
56
 
55
- Space a wall's knots along its course at the scale of the form the wall carries. Closer knots make the wall follow its target's small steps, which show as level lines across the surface; form finer than the knots belongs to an inflection line or a relief.
57
+ Match knot spacing to the wall's feature scale. Closer knots can reproduce surface steps. Use inflection lines or reliefs for finer features.
56
58
 
57
- An edge with a roll is resolved only when every sampling across it, whether net, layers or rings, is at most a quarter of the roll, because a coarser sampling renders the edge jagged.
59
+ Sample edge rolls at intervals of at most one quarter of the roll width across nets, layers and rings.
58
60
 
59
61
  ## Fitting and verification
60
62
 
61
- Fix the registration, then fit supported named coefficients under matching measurement conditions. Preserve independent dimensions, hold back validation shapes, sections or views, and reject a local regression that an aggregate improvement hides.
63
+ Fit named coefficients after registration under matched measurement conditions. Preserve independent dimensions. Hold out shapes, sections or views. Check for local regressions.
62
64
 
63
65
  Where geometry gives a value in closed form, such as an inflection's tangent from its neighboring anchors, construct it and leave the optimizer only the remaining freedoms.
64
66
 
65
- Before converting a source's sections to conic arcs, fair each one to the scale of the form, removing the ripples smaller than the features the form keeps, because a converter ends an arc at every inflection of its input and a noisy section returns dozens of arcs at any tolerance. The arcs that remain set the family's layout: its outlines and inflection lines. Judge the conversion by its loft, rendered in clay beside the source at matching cameras.
67
+ Fair measured sections at the intended feature scale before fitting conic arcs. Use the remaining arcs to locate outlines and inflection lines. Compare clay renders of the loft and source with matched cameras.
66
68
 
67
- A family is admissible when the surface operator accepts every one of its sections. Check that as the operator reads it: between the fitted stations as well as at them, with every value rounded as stored, and with a margin from the boundary of the admissible region, because a fit checked only at its stations or before rounding is refused when the surface is built.
69
+ Check every section against the operator's admission criteria, at and between fitted stations. Use stored precision and keep a margin from admission limits.
68
70
 
69
- When a fit misses, find what binds it before refitting: a layout that cannot express the section, too few knots along the course, a constraint that holds the fit off the data, or a weighting that favors another region. Each has its own remedy, and refitting by trial repeats the miss.
71
+ When a fit misses, find what binds it before refitting: a layout that cannot express the section, too few knots along the course, a constraint that holds the fit off the data, or a weighting that favors another region.
70
72
 
71
73
  When one part of a fitted family changes, such as a relief, refit that part alone on the stored wall beneath it, because refitting the whole family or starting from an earlier stored state drops every later correction without a diagnostic.
72
74
 
@@ -1,25 +1,25 @@
1
1
  # Mesh recovery
2
2
 
3
- Mesh recovery observes a fixed external mesh with the recovery package, saves curve or surface coefficients, and regenerates an internal model from them through the engine, interface and viewer packages.
3
+ Recover coefficients from a fixed mesh and use them to regenerate an internal model.
4
4
 
5
- Recover only for what a mesh cannot give: a parameter that [Conditioning](../conditioning.md#variation) cannot vary on the mesh, regeneration at another resolution, or a smooth join to a lofted body. Recovery is the costliest route and discards a usable rig, so nearness to the camera or motion alone is no reason for it.
5
+ Recover only for required parameter control, variable resolution or a smooth lofted join. Preserve a usable mesh and rig when conditioning meets the requirements.
6
6
 
7
7
  ## Observation and fitting
8
8
 
9
9
  The recovery package's README, public types and JSDoc own its inputs, operations, saved formats and diagnostics. Call its public API, and leave file publication and command dispatch to the project's recovery tool.
10
10
 
11
- Start from a mesh frozen and normalized under [Conditioning](../conditioning.md) and segmented into the asset's parts. Prepare evaluated triangles under the package's coordinate, unit, pose and face-orientation contracts. Bind the observation to the exact source bytes, selected components, evaluated pose and applied transform, convert coordinate conventions at one named boundary, and keep that registration fixed for comparison.
11
+ Use a frozen, normalized mesh segmented by part. Evaluate triangles under the package's unit, frame, pose and orientation contracts. Record source, components, pose and transform. Convert conventions once and keep registration fixed.
12
12
 
13
- Extract observations algorithmically and fit compact coefficients that keep their parameterization, continuation and shared boundaries, under [Lofting](lofting.md) for section families. A source's own errors, such as a generated mesh's invented hidden sides or melted thin parts, are not targets to fit.
13
+ Extract observations algorithmically and fit compact coefficients that preserve parameterization, continuation and shared boundaries. Apply [Lofting](lofting.md) to section families. Exclude source defects from the fit.
14
14
 
15
15
  ## Independent generation
16
16
 
17
- Reconstruct from the saved representation alone, through the recovery API and the engine and interface model path, never falling back on the original positions, topology or normals. Derive the surface and its displayed construction from the same coefficients.
17
+ Reconstruct the surface and displayed construction from the saved coefficients through the recovery API and engine and interface model path. Keep the original mesh for comparison.
18
18
 
19
- Recovered coefficients reproduce one shape. An asset that must vary derives shared dimensions and formulas under [Crafting](SKILL.md).
19
+ Recovered coefficients reproduce one shape. An asset that must vary derives shared [dimensions](construction.md#dimensions) and formulas instead.
20
20
 
21
21
  ## Comparison and correction
22
22
 
23
- Load the reconstructed model and its construction in the actual viewer, beside the fixed source under matching view and render conditions, with each mesh's normals derived from its own geometry. Lines drawn over the source do not show an independent reconstruction.
23
+ In the viewer, compare the reconstruction and its construction with the fixed source under matching conditions. Derive each mesh's normals from its own geometry.
24
24
 
25
- Correct under [form inspection](../inspection.md) and its [correction rounds](../../visual-debugging/correction-rounds.md), tracing deviations through preparation, observation, fitting, correspondence, generation and display. Judge the reconstructed result itself, including missing and uncovered regions and visible defects, alongside the package's diagnostics, because a completed command or a numerical fit does not establish fidelity. Limited observations justify only the shape and views they support.
25
+ Trace deviations from preparation through display under [form inspection](../inspection.md) and [correction rounds](../../visual-debugging/correction-rounds.md). Check coverage, defects and diagnostics. Limit claims to observed shapes and views.
@@ -1,6 +1,6 @@
1
1
  # Image hints
2
2
 
3
- An image tells the model far more than words, so give one whenever the subject's look is decided. This page sets what the image must show; the project's own instructions say how it is made.
3
+ Supply a reference image when appearance is decided.
4
4
 
5
5
  ## One image
6
6
 
@@ -13,18 +13,18 @@ Each image given to the model shows:
13
13
  - the face and hands large enough to read, with the fingers apart;
14
14
  - the resolution the model's guide asks for, with any enhancement that redraws the input's details turned off.
15
15
 
16
- Many models remove the background, crop the subject square and pad it themselves. A square image with a real alpha channel spares the subject their background removal, which can cut into it; a drawn checkerboard is not transparency.
16
+ If the model crops or removes backgrounds, provide a square image with a real alpha channel to protect the silhouette.
17
17
 
18
18
  Glass, mirrors, hair and thin wires reconstruct poorly, so give such a subject an opaque reference or build its thin parts in code.
19
19
 
20
20
  ## Pose
21
21
 
22
- A body that will be rigged stands with its arms and legs apart and holds no large prop, because limbs that touch fuse to the body or to each other. Choose the A-pose or the T-pose that the skeleton the result will be bound to expects, because a rig and a retargeter read the body's proportions from that pose and are more accurate when the poses match.
22
+ Keep the limbs apart and remove large props before rigging. Use the target skeleton's A-pose or T-pose.
23
23
 
24
24
  ## Several views
25
25
 
26
- Views constrain the hidden sides, so give them to a model that takes them, in the views and order it names; a model that takes one image gains nothing from more. Make them under the same light, style, camera distance and scale, each with its background removed, and space them far enough apart to show different sides, because near-identical views make the model mirror one side.
26
+ For multi-view input, follow the model's view list and order. Keep light, style, distance and scale consistent, isolate the subject and show distinct sides.
27
27
 
28
- The views must agree, and views made one at a time drift apart. Rendering them from a shape the subject already has keeps them aligned, as [views rendered from the shape](shape-hints.md#views-rendered-from-the-shape) sets; some models instead generate the missing views from the front one, or read a single turnaround sheet.
28
+ Use registered views from one shape where available. Otherwise use a model-supported turnaround or generate missing views from the first.
29
29
 
30
30
  Sources: [Meshy pose and hands](https://help.meshy.ai/en/articles/16102152-fix-character-pose-face-and-hand-issues-in-meshy), [Meshy multi-view](https://www.meshy.ai/tutorials/multi-view-image-to-3d), [Unity humanoid avatar](https://docs.unity.com/en-us/engine/current/manual/assets-and-media/asset-types/models/importing/configuringthe-avatar), [Unreal retargeting](https://dev.epicgames.com/documentation/en-us/unreal-engine/ik-rig-animation-retargeting-in-unreal-engine), [Meshy image to 3D](https://docs.meshy.ai/en/webapp/image-to-3d), [Meshy image tips](https://help.meshy.ai/en/articles/15723519-how-to-get-better-image-to-3d-results-in-meshy), [Meshy multi-image](https://docs.meshy.ai/api/multi-image-to-3d), [Tripo image to model](https://developers.tripo3d.com/en/docs/generation-image-to-model/standard), [Tripo multiview](https://developers.tripo3d.com/en/docs/generation-multiview-to-model/standard), [Tripo image tips](https://www.tripo3d.ai/blog/best-images-for-image-to-3d).
@@ -1,27 +1,43 @@
1
1
  # 3D models
2
2
 
3
- These tables name current examples: the generators by the inputs they take and what they deliver beyond the mesh, and the models behind each [shape hint](shape-hints.md). Take every value from the chosen model's documentation, and read its terms for whether its output may be used.
3
+ Check the chosen model's documentation for input limits, available outputs and usage terms.
4
4
 
5
5
  ## Generators
6
6
 
7
- | Model | Runs as | Takes | Beyond the mesh | Documentation |
8
- | --- | --- | --- | --- | --- |
9
- | Meshy | Hosted | Text, or up to four views with the front first; an uploaded mesh to remesh or retexture | A rest pose, remeshing to a face count and topology when enabled, an estimated size, and rigging of a biped onto a standard skeleton | [Image to 3D](https://docs.meshy.ai/api/image-to-3d), [rigging](https://docs.meshy.ai/api/rigging) |
10
- | Tripo | Hosted | Text with a negative prompt, one image, or keyed views with the front required; an uploaded mesh to texture | Parts, retopology, model and texture seeds, an estimated size, a rig check and rigging onto standard skeletons | [Quick start](https://developers.tripo3d.com/en/docs/quick-start) |
11
- | Rodin | Hosted | Text, or up to five images, the first setting the materials | A rest pose, symmetry, quality tiers, and rigging onto a custom skeleton | [Gen-2.5](https://docs.hyper3d.ai/en/api-specification/rodin-gen2-5), [rigging](https://docs.hyper3d.ai/en/api-specification/rigging.md) |
12
- | Hunyuan3D | Open weights | One image, or front, left, back and right views in 2mv; Omni adds point, voxel, box or pose conditions; Paint textures a given mesh | Material channels | [2.1](https://github.com/Tencent-Hunyuan/Hunyuan3D-2.1), [2mv](https://huggingface.co/tencent/Hunyuan3D-2mv), [Omni](https://github.com/Tencent-Hunyuan/Hunyuan3D-Omni) |
13
- | TRELLIS.2 | Open weights under MIT | One image, or a given mesh to texture | Material channels with opacity, exported opaque until the alpha is switched on | [Repository](https://github.com/microsoft/TRELLIS.2) |
7
+ Meshy, Tripo and Rodin are hosted services; Hunyuan3D and TRELLIS.2 are open weights, TRELLIS.2 under MIT.
8
+
9
+ ### Meshy
10
+
11
+ Meshy takes text, up to four front-first views or a mesh for retexturing or remeshing. It offers rest pose, triangle and topology controls, size estimates and standard biped [rigging](https://docs.meshy.ai/api/rigging). See [image to 3D](https://docs.meshy.ai/api/image-to-3d).
12
+
13
+ ### Tripo
14
+
15
+ Tripo accepts text and a negative prompt, one image, keyed views with the front required, or a mesh to texture. It offers parts, retopology, seeds, size estimates and standard rigging checks. See [quick start](https://developers.tripo3d.com/en/docs/quick-start).
16
+
17
+ ### Rodin
18
+
19
+ Rodin takes text or up to five images, with materials from the first. It offers rest pose, symmetry, quality tiers and custom [rigging](https://docs.hyper3d.ai/en/api-specification/rigging.md). See [Gen-2.5](https://docs.hyper3d.ai/en/api-specification/rodin-gen2-5).
20
+
21
+ ### Hunyuan3D
22
+
23
+ Hunyuan3D takes one image, or front, left, back and right views in 2mv. Omni adds shape conditions, and Paint textures a given mesh. Beyond the mesh it delivers material channels. Its documentation is the repositories of [2.1](https://github.com/Tencent-Hunyuan/Hunyuan3D-2.1), [2mv](https://huggingface.co/tencent/Hunyuan3D-2mv) and [Omni](https://github.com/Tencent-Hunyuan/Hunyuan3D-Omni).
24
+
25
+ ### TRELLIS.2
26
+
27
+ [TRELLIS.2](https://github.com/microsoft/TRELLIS.2) accepts an image or a mesh to texture. Its material output includes opacity, which must be enabled after export.
14
28
 
15
29
  ## Shape techniques
16
30
 
17
- | [Shape hint](shape-hints.md) | Examples |
18
- | --- | --- |
19
- | Geometry condition | [Hunyuan3D-Omni](https://github.com/Tencent-Hunyuan/Hunyuan3D-Omni), with point, voxel, box or pose conditions; [SpaceControl](https://github.com/spacecontrol3d/spacecontrol), over TRELLIS; [TRELLIS variants](https://github.com/microsoft/TRELLIS), from a mesh and a prompt |
20
- | Texture on the given mesh | [Hunyuan3D-Paint](https://github.com/Tencent-Hunyuan/Hunyuan3D-2.1), [TRELLIS.2](https://github.com/microsoft/TRELLIS.2), [MV-Adapter](https://github.com/huanngzh/MV-Adapter); hosted retexturing in [Meshy](https://docs.meshy.ai/en/api/retexture) or [Tripo](https://developers.tripo3d.com/en/docs/models-texture) |
21
- | Refinement of the given mesh | [UltraShape](https://github.com/PKU-YuanGroup/UltraShape-1.0), [DetailGen3D](https://github.com/VAST-AI-Research/DetailGen3D) |
22
- | Views rendered from the shape | [LooseControl](https://github.com/shariqfarooq123/LooseControl), depth control from boxes; [StableGen](https://github.com/sakalond/StableGen), projection in Blender |
23
- | Bodies | The pose condition of [Hunyuan3D-Omni](https://github.com/Tencent-Hunyuan/Hunyuan3D-Omni); [Rodin rigging](https://docs.hyper3d.ai/en/api-specification/rigging.md) with a custom bone hierarchy; [UniRig](https://github.com/VAST-AI-Research/UniRig) |
31
+ A geometry condition is taken by [Hunyuan3D-Omni](https://github.com/Tencent-Hunyuan/Hunyuan3D-Omni), [SpaceControl](https://github.com/spacecontrol3d/spacecontrol) and the [TRELLIS variants](https://github.com/microsoft/TRELLIS). Hunyuan3D-Omni takes point, voxel, box or pose conditions, SpaceControl works over TRELLIS, and the TRELLIS variants start from a mesh and a prompt.
32
+
33
+ Texture on the given mesh comes from [Hunyuan3D-Paint](https://github.com/Tencent-Hunyuan/Hunyuan3D-2.1), [TRELLIS.2](https://github.com/microsoft/TRELLIS.2) and [MV-Adapter](https://github.com/huanngzh/MV-Adapter), or from hosted retexturing in [Meshy](https://docs.meshy.ai/en/api/retexture) or [Tripo](https://developers.tripo3d.com/en/docs/models-texture).
34
+
35
+ Refinement of the given mesh comes from [UltraShape](https://github.com/PKU-YuanGroup/UltraShape-1.0) and [DetailGen3D](https://github.com/VAST-AI-Research/DetailGen3D).
36
+
37
+ Views rendered from the shape use [LooseControl](https://github.com/shariqfarooq123/LooseControl) for depth control from boxes, and [StableGen](https://github.com/sakalond/StableGen) for projection in Blender.
38
+
39
+ Bodies use the pose condition of [Hunyuan3D-Omni](https://github.com/Tencent-Hunyuan/Hunyuan3D-Omni), [Rodin rigging](https://docs.hyper3d.ai/en/api-specification/rigging.md) with a custom bone hierarchy, and [UniRig](https://github.com/VAST-AI-Research/UniRig).
24
40
 
25
41
  ## Terms
26
42
 
27
- A hosted service's output license depends on the plan, such as a free plan's attribution or public gallery, and its download links and stored outputs expire. Open weights may exclude regions or large services, as the Hunyuan3D license excludes the European Union, the United Kingdom and South Korea.
43
+ Check hosted plan terms and save outputs before they expire. Open weights may restrict regions or large services. The Hunyuan3D license excludes the EU, UK and South Korea.
@@ -1,9 +1,9 @@
1
1
  # Text prompts
2
2
 
3
- A text prompt is the weakest hint. Use it alone only when no image or shape describes the subject, and beside them only as far as the model's guide asks, since some guides say to omit it for image-to-3D. Beside an image, give only what the image lacks, such as materials, style and the unseen sides, because a long prompt dilutes the image.
3
+ Use text alone only when no image or shape is available. With other inputs, follow the model guide and describe only missing information.
4
4
 
5
- Describe the subject, then its materials, its style and any technical constraint, most important detail first, unless the model's guide sets another order. Name shape, material and scale concretely: a vague prompt such as "a box" fails, and more words do not help. Leave out contradictions, mood words and long lists of materials.
5
+ Unless the guide specifies an order, name the subject, materials, style and technical constraints in that order. Specify concrete shape, material and scale.
6
6
 
7
- Write exclusions in the model's negative field where it has one, and otherwise as plain statements such as "no text or labels". For a model that turns text into an image first, write the prompt for that image.
7
+ Use the model's negative field for exclusions when available, or state them plainly. If the model starts from a generated image, write the prompt for that image.
8
8
 
9
9
  Sources: [Meshy prompting](https://docs.meshy.ai/en/webapp/guides/prompting), [Tripo text to model](https://developers.tripo3d.com/en/docs/generation-text-to-model/standard), [Rodin Gen-2.5](https://docs.hyper3d.ai/en/api-specification/rodin-gen2-5), [Meshy pose and hands](https://help.meshy.ai/en/articles/16102152-fix-character-pose-face-and-hand-issues-in-meshy).