docs(10_Wiki): 위키 전체 재구성 — Topic_* 폴더를 4개 카테고리로 통합 + 대규모 중복 제거

Topic_Agent/Topic_Blog/Topics/Topics_Biz/Topics_Meeting/Topics_Rag의 마크다운 지식 문서를
Topic_General/Topic_Programming/Topic_Graphic/Topic_Business 4개 카테고리로 재분류.

- 중복 제거: frontmatter의 status:duplicate/merged + duplicate_of/redirect_to 필드로
  자기 자신을 중복으로 선언한 리다이렉트 stub 1032개 제거, 완전 동일 내용 파일 472개 제거,
  동일 파일명·다른 내용 충돌 시 더 큰(완전한) 버전만 유지(162개 제거) — 총 1639개 중복 제거.
- 분류: 폴더 단위로 명확한 항목(AI_and_ML/Coding/Architecture 등 → Programming,
  Comfyui/Visual_Effects → Graphic, Topics_Biz/Topics_Meeting/사업 등 → Business,
  Poetic_Blog_Writing/창의성/Game_Design 등 → General)은 폴더 우선순위로,
  나머지 혼재 폴더(Topic_Agent/Topic_Blog/Topics 루트/Thinking & Reasoning/Other/UI_UX_Assets)는
  title/tags 키워드 스코어링으로 파일 단위 분류(불명확한 경우 General로 폴백).
  원본 폴더명은 "From_*" 서브폴더로 보존해 추적 가능성 유지.
- 최종 배치: Programming 2784 / General 1608 / Graphic 285 / Business 249 = 4926개 문서.
- 에이전트 운영 상태(.astra/.agent/.obsidian/sessions/memory/_company/docs/lessons/_shared/src)는
  지식 콘텐츠가 아니므로 재분류 대상에서 제외하고 원위치 유지.
- Topics/Topic_email(상위 보호 폴더 Topic_email과 파일명 100% 중복) 삭제 — 보호 폴더 자체는 미변경.
- 완전히 비게 된 Topic_Agent/Topic_Blog/Topics_Biz/Topics_Rag 폴더 제거.
This commit is contained in:
Antigravity Agent
2026-07-05 00:33:48 +09:00
parent 1cfd3bbb56
commit 9148c358d0
6455 changed files with 1 additions and 86875 deletions
@@ -0,0 +1,173 @@
---
id: wiki-2026-0508-에셋-재사용-asset-reuse
title: 에셋 재사용(Asset Reuse)
category: 10_Wiki/Topics
status: verified
canonical_id: self
aliases: [Asset Reuse, Asset Library, 모듈러 에셋]
duplicate_of: none
source_trust_level: A
confidence_score: 0.9
verification_status: applied
tags: [gamedev, assets, pipeline, modularity, optimization]
raw_sources: []
last_reinforced: 2026-05-10
github_commit: pending
tech_stack:
language: gamedev
framework: unity-unreal-godot
---
# 에셋 재사용(Asset Reuse)
## 매 한 줄
> **"매 한 번 만든 에셋은 100번 사용된다"**. 게임/콘텐츠 production 의 cost curve 를 평탄화하는 매 가장 강력한 lever — modular kit, prefab variant, material instance, atlas/trim sheet 의 조합으로 art budget 을 5-10x 확장할 수 있다. 2026 의 AI gen pipeline 도 결국 reusable seed asset 으로 수렴.
## 매 핵심
### 매 reuse 의 layer
- **Geometry**: kitbash, modular wall, trim sheet, tileable mesh.
- **Material**: master material + parameter, layered shader, texture atlas.
- **Animation**: shared rig, retargeting, additive layer, montage.
- **Audio**: oneshot pool, granular synth, randomized variation.
- **VFX**: parameterized particle template, shader-based effect.
### 매 modular kit 원칙
- **Grid snap**: 1m / 2m / 4m 의 standard pivot.
- **Trim sheet UV**: shared 2K texture 로 100+ pieces.
- **Material slot consistency**: 같은 master material + param.
- **Naming**: `SM_Wall_2m_A`, `M_StoneBrick_Inst_Mossy`.
### 매 응용
1. Open-world building 의 modular architecture.
2. Character outfit 의 mix-and-match layered system.
3. AI image gen 의 character LoRA + style LoRA 의 조합.
## 💻 패턴
### Trim sheet UV layout
```
2048×2048 trim sheet
├─ 0.00.25 v: stone trim
├─ 0.250.5 v: wood trim
├─ 0.50.75 v: metal trim
└─ 0.751.0 v: tileable wall
→ 50+ pieces share 1 texture, 1 draw call
```
### Unreal Material Instance
```cpp
// Master Material exposes parameters
ScalarParameter "Roughness" default 0.5
VectorParameter "BaseColorTint" default (1,1,1,1)
TextureParameter "BaseColorMap" default T_Default
// Instance overrides only what differs
MI_Stone_Mossy:
BaseColorTint = (0.7, 0.9, 0.6, 1)
Roughness = 0.8
BaseColorMap = T_Stone_Albedo
```
### Unity Prefab Variant
```csharp
// Base Prefab: Building_Module_Wall.prefab
// Variant: Building_Module_Wall_Window.prefab
// - Inherits all components
// - Overrides: adds WindowFrame child
// - Overrides: Material slot 1 = M_Glass
// Code-side: spawn variant
var wall = PrefabUtility.InstantiatePrefab(wallVariant) as GameObject;
```
### GPU instancing
```glsl
// vertex shader — per-instance transform
layout(location = 5) in mat4 instanceMatrix;
layout(location = 9) in vec4 instanceColor;
void main() {
gl_Position = projection * view * instanceMatrix * vec4(aPos, 1.0);
vColor = instanceColor;
}
// → 10000 trees, 1 draw call
```
### Sprite atlas (2D)
```json
{
"frames": {
"hero_idle_0": { "frame": {"x":0,"y":0,"w":64,"h":64} },
"hero_idle_1": { "frame": {"x":64,"y":0,"w":64,"h":64} },
"hero_run_0": { "frame": {"x":0,"y":64,"w":64,"h":64} }
},
"meta": { "image": "hero.png", "size": {"w":1024,"h":1024} }
}
```
### Animation retargeting
```python
# Maya / Blender — retarget Mixamo to custom rig
source_rig = "Mixamo_Y_Bot"
target_rig = "MyHero_Skeleton"
bone_map = {
"mixamorig:Hips": "pelvis",
"mixamorig:Spine": "spine_01",
"mixamorig:LeftArm": "upperarm_l",
# ...
}
retarget(source_rig, target_rig, bone_map, anim_clip)
# 1 anim → N characters
```
### AI gen 의 seed reuse
```python
# Stable Diffusion / FLUX — same character LoRA, vary scene
from diffusers import FluxPipeline
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev")
pipe.load_lora_weights("./hero_lora.safetensors")
scenes = ["forest at dusk", "neon alley", "snowy peak"]
for s in scenes:
img = pipe(f"hero character, {s}", generator=torch.Generator().manual_seed(42)).images[0]
# → consistent character across scenes
```
## 매 결정 기준
| 상황 | Approach |
|---|---|
| 같은 mesh, 다른 material | Material Instance |
| 같은 mesh, 다른 transform | GPU Instancing |
| 비슷한 변형 prefab | Prefab Variant |
| 50+ small textures | Atlas / Trim sheet |
| character anim library | Retarget shared lib |
| AI generated assets | LoRA + seed lock |
**기본값**: master material + instance, modular grid kit, shared atlas.
## 🔗 Graph
- 부모: [[Asset Pipeline]]
- 변형: [[Procedural Generation]]
- Adjacent: [[GPU Instancing]] · [[LoRA Fine-tuning]]
## 🤖 LLM 활용
**언제**: kit naming convention 작성, material parameter schema, prefab variant tree planning, asset audit checklist.
**언제 X**: hero asset 의 unique sculpt — handcraft 가 정답.
## ❌ 안티패턴
- **Copy-paste duplication**: 매 새 변형마다 mesh duplicate — texture memory blowup.
- **No naming convention**: `wall_01_final_FINAL_v3.fbx` 의 chaos.
- **Atlas without padding**: bleeding artifact at mip levels.
- **Over-modularity**: 0.5m grid 의 piece 가 너무 많아 매 build cost 증가.
## 🧪 검증 / 중복
- Verified (Unreal Engine 5.4 docs, Unity 6 manual, GDC asset pipeline talks 2024-2025).
- 신뢰도 A.
## 🕓 Changelog
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-10 | Manual cleanup — modular asset reuse 의 production patterns. |