S-CANVAS (Saman Corp.) — DXF + DEM + AI 기반 3D 조감도 생성 엔진. ~24k LOC Python (scanvas_maker.py 7072 LOC GUI + 구조물 파서/빌더 다수). 이 커밋은 7-iter cleanup이 적용된 상태로 import: - F821 8 + B023 6: 비동기 lambda + except/loop 변수 캡처 NameError (Py3.13에서 reproduce 확인된 진짜 버그) - RUF012 4 + RUF013 1: ClassVar / implicit Optional 명시화 - F811/B905/B904/F401/F841/W293/F541/UP/SIM/RUF/PLR 700+ cleanup/modernization 신규 파일: - ruff.toml: target=py313, Korean unicode/저자 스타일/도메인 복잡도 무력화 - requirements-py313.txt: pyproj>=3.7, scipy>=1.14, numpy>=2.0.2 (Py3.13 wheel) - .gitignore: gcp-key.json, 캐시, 백업, 생성 이미지 제외 검증: ruff 0 errors, py_compile 0 errors, import 33/33 OK on Py3.13.13. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
59 lines
2.3 KiB
YAML
59 lines
2.3 KiB
YAML
version: "v1"
|
|
description: "S-CANVAS 조감도 렌더링 프롬프트 v1 - 구조 보존 최적화"
|
|
|
|
# 시간대별 조명/하늘 묘사
|
|
time_presets:
|
|
daytime: "bright daylight, clear blue sky, sharp shadows, vivid green vegetation"
|
|
sunset: "golden hour sunset, warm orange light, long dramatic shadows, glowing sky"
|
|
night: "nighttime aerial view, moonlight reflections on water, city lights in distance, dark blue sky"
|
|
dawn: "early dawn, soft pink and purple sky, morning mist over valleys, gentle light"
|
|
overcast: "overcast sky, diffused soft light, muted colors, atmospheric fog"
|
|
|
|
# 카메라 앙각별 시점 묘사
|
|
angle_presets:
|
|
top_down: "top-down overhead aerial view, directly above looking straight down"
|
|
high_angle: "high-angle bird's-eye view, slightly tilted perspective"
|
|
oblique: "oblique aerial perspective, 3/4 view showing terrain depth"
|
|
low_angle: "low-angle dramatic perspective, cinematic sweep"
|
|
|
|
# 앙각 → 프리셋 매핑 경계
|
|
angle_thresholds:
|
|
top_down: 70 # >= 70도
|
|
high_angle: 45 # >= 45도
|
|
oblique: 30 # >= 30도
|
|
low_angle: 0 # < 30도
|
|
|
|
# 구조 보존 핵심 지시문 (항상 포함)
|
|
structure_preservation:
|
|
- "enhance the existing satellite terrain texture and details"
|
|
- "maintain exact terrain shape, contours, and layout from the input image"
|
|
- "preserve water bodies, roads, and structural positions precisely"
|
|
- "do NOT add or remove any major landscape features"
|
|
|
|
# 품질 향상 지시문
|
|
quality_enhancement:
|
|
- "photorealistic architectural visualization"
|
|
- "professional drone photography quality"
|
|
- "8K ultra sharp detail, high dynamic range"
|
|
- "realistic vegetation depth and canopy textures"
|
|
- "natural water reflections and surface detail"
|
|
|
|
# 네거티브 프롬프트
|
|
negative_prompt: >-
|
|
blurry, low quality, distorted, watermark, text, logo,
|
|
cartoon, anime, illustration, painting, sketch,
|
|
oversaturated, underexposed, noisy, artifacts,
|
|
completely different scene, unrelated content,
|
|
changed terrain layout, moved structures, wrong topology
|
|
|
|
# Control Structure 파라미터
|
|
control_params:
|
|
control_strength: 0.85
|
|
output_format: "png"
|
|
|
|
# img2img 파라미터
|
|
img2img_params:
|
|
model: "sd3.5-large"
|
|
mode: "image-to-image"
|
|
output_format: "png"
|
|
# strength는 UI 슬라이더에서 동적으로 받음 (기본 0.4) |