Skip to content

Commit ab7a2ef

Browse files
dgreenheckclaude
andcommitted
Update CHANGELOG for texture API, asset reorg, dev mode, LFS
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 48dc193 commit ab7a2ef

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- `bark.maps = { color, ao, normal, roughness }` and `leaves.map` slots on `TreeOptions` accept caller-supplied `THREE.Texture` instances; the library no longer bundles any textures.
13+
- `npm run dev` script and Vite mode-based alias so the dev server resolves `@dgreenheck/ez-tree` directly to `src/lib/` source — instant HMR with no rebuild step.
14+
- Git LFS tracking for `src/app/public/textures/**/*.{jpg,png,jpeg}`.
15+
- Demo app ships with 11 CC0 bark variants from ambientcg.com under `src/app/public/textures/bark/` with attribution in `src/app/public/textures/LICENSE.md`.
16+
1017
### Changed
1118

19+
- **Breaking:** removed `BarkType` and `LeafType` enums and the bundled-texture lookup. Callers must now load `THREE.Texture` instances themselves and assign them to `options.bark.maps` / `options.leaves.map`. `bark.type` / `leaves.type` strings are still carried through presets but are now purely informational identifiers the host app can use to resolve textures.
20+
- Bark UVs now scale with `branch.radius` (integer-rounded per branch) so bark feature size stays consistent across thick trunks and thin twigs; `bark.textureScale.x` now means "wraps per unit radius" rather than "wraps per branch" (existing preset values may need re-tuning).
21+
- Reorganized `src/app/public/` into `audio/`, `fonts/`, `images/`, `icons/`, `models/`, `textures/{bark,ground,leaves}/`; browser/SEO well-known files remain at the root.
1222
- Updated Dockerfile to Node 24 and removed the obsolete `version` attribute from `docker-compose.yml`.
1323
- Use custom rounded normals for leaves for softer shading (#43).
1424

0 commit comments

Comments
 (0)