chore: enable Git LFS and drop regenerable preview renders

- .gitattributes: blend/glb/fbx/stl/obj/mp4/pdf and raster images now go through LFS
- move the 175 tracked reference binaries to LFS pointers (no history rewrite)
- delete 144 regenerable preview/review images (63 of them tracked)
- ignore .kimi-code/ agent state; keep preview patterns so renders never return
This commit is contained in:
Yanchen
2026-11-22 09:57:23 +08:00
parent f5d4f6dd41
commit 7eeff1cca2
65 changed files with 59 additions and 189 deletions
+26
View File
@@ -1,3 +1,29 @@
# Git LFS: large binary assets are stored out-of-band, not as pack blobs.
# Text formats (svg, json, py, md) stay in normal git so they diff normally.
#
# Everything below applies to both new additions and future modifications.
# Reference material under model_assets/reference/ is kept in full and is the
# main beneficiary of this (models, videos, product photos, PDFs).
*.blend filter=lfs diff=lfs merge=lfs -text
*.blend1 filter=lfs diff=lfs merge=lfs -text
*.glb filter=lfs diff=lfs merge=lfs -text
*.gltf filter=lfs diff=lfs merge=lfs -text
*.fbx filter=lfs diff=lfs merge=lfs -text
*.obj filter=lfs diff=lfs merge=lfs -text
*.stl filter=lfs diff=lfs merge=lfs -text
*.usdz filter=lfs diff=lfs merge=lfs -text
*.mp4 filter=lfs diff=lfs merge=lfs -text
*.mov filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.jpeg filter=lfs diff=lfs merge=lfs -text
*.webp filter=lfs diff=lfs merge=lfs -text
*.tif filter=lfs diff=lfs merge=lfs -text
*.tiff filter=lfs diff=lfs merge=lfs -text
*.exr filter=lfs diff=lfs merge=lfs -text
*.hdr filter=lfs diff=lfs merge=lfs -text
*.blend filter=lfs diff=lfs merge=lfs -text
*.blend1 filter=lfs diff=lfs merge=lfs -text
*.glb filter=lfs diff=lfs merge=lfs -text
+33
View File
@@ -12,6 +12,39 @@ wheels/
# macOS
.DS_Store
# Agent tooling state (local MCP config, caches)
.kimi-code/
# Blender backups and local modeling work
*.blend1
**/_work/
# ---------------------------------------------------------------------------
# Render output: review/preview images are regenerated by the build scripts
# (build_*.py, render_*.py, export_*.py, capture_*.py). They are evidence of a
# review, not assets, so they stay out of the repository.
#
# Deliberately narrow patterns. NOT ignored on purpose:
# - model_assets/**/textures/** -> material sources read by the build scripts
# - model_assets/labels/** -> label artwork (wrap SVG/PNG, AI sources)
# - every *.blend and *.glb -> both high-poly and low-poly are kept
# - *_validation.json / *.json -> acceptance records
# If a new render is worth keeping, give it a non-preview name in textures/ or
# labels/ instead of widening these rules.
# ---------------------------------------------------------------------------
model_assets/**/preview*.png
model_assets/**/comparison_*.png
model_assets/**/review_*.png
model_assets/**/assembly_*.png
model_assets/**/contact_sheet*.png
# One-off sheets that do not follow the preview_* convention
model_assets/coffee_machine/portafilter_*.png
model_assets/coffee_machine/cup_fit_test/*.png
model_assets/coffee_cup/optimization/*.png
model_assets/milk_2l/assembly_test/*.png
model_assets/tamper/fit_test/*.png
# Reference material keeps its own previews (third-party download thumbnails,
# attribution screenshots); never let the rules above swallow it.
!model_assets/reference/**
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.