reel-studio 0.2.0 → 0.2.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.
- package/.claude/skills/scene-3d/SKILL.md +5 -0
- package/README.md +7 -0
- package/package.json +1 -1
|
@@ -15,6 +15,11 @@ description: Build a 3D shot for a video - live in the composition with Three.js
|
|
|
15
15
|
to the import map). Wrap the load in `Studio.wait(...)`. Put model files in the brand's `assets/models/` or the production's `composition/`.
|
|
16
16
|
- Cartoon look: `toon(color, { steps })` + `outline(mesh, { thickness })`. Hard light: one `DirectionalLight` + low `AmbientLight`.
|
|
17
17
|
- Animated GLB clips: create an `AnimationMixer`, then in `update` call `mixer.setTime(t - start)`. Never `mixer.update(delta)`.
|
|
18
|
+
- HTML tags that follow 3D points: in `update(t)`, call `camera.updateMatrixWorld()` and the parent's
|
|
19
|
+
`updateMatrixWorld()` before `vector.applyMatrix4(obj.matrixWorld).project(camera)`. Three.js refreshes these only
|
|
20
|
+
inside `render()`, so without it a tag follows the previous frame. Example: `productions/bike-logger/REEL-002-engines`.
|
|
21
|
+
- CAD meshes as JSON (vertices + indices): `toNonIndexed()` + `computeVertexNormals()` gives crisp flat facets.
|
|
22
|
+
Render with `threeLayer(..., { pixelRatio: 2 })` for supersampled edges.
|
|
18
23
|
- Physics: bake it (simulate at a fixed 1/120 s step into an array before the first frame) and look up by `t`.
|
|
19
24
|
|
|
20
25
|
## Blender (plate)
|
package/README.md
CHANGED
|
@@ -81,6 +81,13 @@ It copies the renderer into the folder, installs it and checks Chrome and ffmpeg
|
|
|
81
81
|
npx reel-studio init
|
|
82
82
|
```
|
|
83
83
|
|
|
84
|
+
**Or with Python or Homebrew**, the same kit and the same `init` (the renderer still runs on Node):
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
pipx install reel-studio && reel-studio init # or: uvx reel-studio init
|
|
88
|
+
brew install murathany7/reel-studio/reel-studio && reel-studio init # brings Node and ffmpeg
|
|
89
|
+
```
|
|
90
|
+
|
|
84
91
|
**Or clone it** and work inside the repo:
|
|
85
92
|
|
|
86
93
|
```bash
|
package/package.json
CHANGED