Skip to content

Commit 85b2ffc

Browse files
Add plugin registry, texture optimizer, and Ollama AI connector
Agent-Logs-Url: https://github.com/LuticaCANARD/TextureCocktail/sessions/f02e51a9-dae2-4959-9c28-dc0f82dbc1c8 Co-authored-by: LuticaCANARD <80238084+LuticaCANARD@users.noreply.github.com>
1 parent cba1e58 commit 85b2ffc

17 files changed

Lines changed: 1608 additions & 23 deletions

Packages/luticalab.core/Languages/English.json

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,56 @@
156156
"normal_map_settings": "Normal Map Settings",
157157
"normal_strength": "Normal Strength",
158158
"height_scale": "Height Scale",
159-
"normal_map_info": "Converts height map (grayscale) to normal map for 3D surface details."
159+
"normal_map_info": "Converts height map (grayscale) to normal map for 3D surface details.",
160+
161+
"plugin_browser_title": "TextureCocktail Plugin Browser",
162+
"plugin_browser_desc": "All TextureCocktailContent subclasses found in loaded assemblies are listed here.",
163+
"plugin_browser_howto": "To create a plugin: inherit from TextureCocktailContent and create a matching shader.",
164+
"plugin_refresh": "Refresh",
165+
"plugin_count": "Registered Plugins ({0})",
166+
"plugin_class": "Class",
167+
"plugin_assembly": "Assembly",
168+
"plugin_author": "Author",
169+
"plugin_version": "Version",
170+
"plugin_description": "Description",
171+
172+
"texture_optimizer_title": "Texture Optimizer",
173+
"texture_optimizer_scan_settings": "Scan Settings",
174+
"texture_optimizer_folder": "Folder to Scan",
175+
"texture_optimizer_platform": "Target Platform",
176+
"texture_optimizer_max_size": "Max Allowed Size (px)",
177+
"texture_optimizer_show_issues": "Show Only Textures With Issues",
178+
"texture_optimizer_scan_btn": "Scan Textures",
179+
"texture_optimizer_found": "Found {0} texture(s). {1} selected.",
180+
"texture_optimizer_select_all": "Select All",
181+
"texture_optimizer_deselect_all": "Deselect All",
182+
"texture_optimizer_apply_fixes": "Apply Recommended Fixes to Selected",
183+
"texture_optimizer_applied": "Applied fixes to {0} texture(s). Re-scan to verify.",
184+
"texture_optimizer_issues": "Issues",
185+
"texture_optimizer_ping": "Ping Asset",
186+
"texture_optimizer_fix": "Fix This Texture",
187+
188+
"ollama_title": "Ollama Local AI Connector",
189+
"ollama_desc": "Connects to a local Ollama server. Input: text prompt (+ optional image). Output: AI-generated text.",
190+
"ollama_server": "Server Configuration",
191+
"ollama_url": "Ollama URL",
192+
"ollama_list_models": "List Models",
193+
"ollama_model": "Model",
194+
"ollama_model_manual": "Model (manual)",
195+
"ollama_prompt_section": "Prompt",
196+
"ollama_prompt_label": "Text Prompt:",
197+
"ollama_attach_texture": "Attach Texture (vision models)",
198+
"ollama_send": "Send Prompt",
199+
"ollama_cancel": "Cancel",
200+
"ollama_response_section": "Response",
201+
"ollama_no_response": "(no response yet)",
202+
"ollama_input_context": "Input Image Context:",
203+
"ollama_response_image": "Response Image:",
204+
"ollama_save_image": "Save Response Image...",
205+
"ollama_clear": "Clear",
206+
"ollama_ready": "Ready. Configure server URL and click 'List Models'.",
207+
"ollama_waiting": "Waiting for Ollama response...",
208+
"ollama_vision_help": "Requires a vision model (e.g. llava). The texture is converted to PNG and sent as base64."
160209
}
161210

162211
}

Packages/luticalab.core/Languages/Japanese.json

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,56 @@
159159
"normal_map_settings": "ノーマルマップ設定",
160160
"normal_strength": "ノーマル強度",
161161
"height_scale": "高さスケール",
162-
"normal_map_info": "ハイトマップ(グレースケール)を3Dサーフェスディテール用のノーマルマップに変換します。"
162+
"normal_map_info": "ハイトマップ(グレースケール)を3Dサーフェスディテール用のノーマルマップに変換します。",
163+
164+
"plugin_browser_title": "TextureCocktail プラグインブラウザー",
165+
"plugin_browser_desc": "ロードされたアセンブリで見つかったすべてのTextureCocktailContentサブクラスがここに表示されます。",
166+
"plugin_browser_howto": "プラグイン作成方法: TextureCocktailContentを継承し、同じ名前のシェーダーを作成してください。",
167+
"plugin_refresh": "更新",
168+
"plugin_count": "登録プラグイン ({0})",
169+
"plugin_class": "クラス",
170+
"plugin_assembly": "アセンブリ",
171+
"plugin_author": "作者",
172+
"plugin_version": "バージョン",
173+
"plugin_description": "説明",
174+
175+
"texture_optimizer_title": "テクスチャ最適化ツール",
176+
"texture_optimizer_scan_settings": "スキャン設定",
177+
"texture_optimizer_folder": "スキャンするフォルダー",
178+
"texture_optimizer_platform": "対象プラットフォーム",
179+
"texture_optimizer_max_size": "最大許容サイズ (px)",
180+
"texture_optimizer_show_issues": "問題のあるテクスチャのみ表示",
181+
"texture_optimizer_scan_btn": "テクスチャをスキャン",
182+
"texture_optimizer_found": "テクスチャ {0} 個を検出。{1} 個選択中。",
183+
"texture_optimizer_select_all": "すべて選択",
184+
"texture_optimizer_deselect_all": "すべて選択解除",
185+
"texture_optimizer_apply_fixes": "選択したテクスチャに推奨修正を適用",
186+
"texture_optimizer_applied": "{0} 個のテクスチャに修正を適用しました。再スキャンして確認してください。",
187+
"texture_optimizer_issues": "問題点",
188+
"texture_optimizer_ping": "アセットを強調表示",
189+
"texture_optimizer_fix": "このテクスチャを修正",
190+
191+
"ollama_title": "Ollama ローカルAI連携",
192+
"ollama_desc": "ローカルOllamaサーバーに接続します。入力: テキストプロンプト(+オプション画像)。出力: AI生成テキスト。",
193+
"ollama_server": "サーバー設定",
194+
"ollama_url": "Ollama URL",
195+
"ollama_list_models": "モデル一覧",
196+
"ollama_model": "モデル",
197+
"ollama_model_manual": "モデル (手動入力)",
198+
"ollama_prompt_section": "プロンプト",
199+
"ollama_prompt_label": "テキストプロンプト:",
200+
"ollama_attach_texture": "テクスチャを添付 (ビジョンモデル用)",
201+
"ollama_send": "プロンプトを送信",
202+
"ollama_cancel": "キャンセル",
203+
"ollama_response_section": "応答",
204+
"ollama_no_response": "(まだ応答なし)",
205+
"ollama_input_context": "入力画像コンテキスト:",
206+
"ollama_response_image": "応答画像:",
207+
"ollama_save_image": "応答画像を保存...",
208+
"ollama_clear": "クリア",
209+
"ollama_ready": "準備完了。サーバーURLを設定して「モデル一覧」をクリックしてください。",
210+
"ollama_waiting": "Ollamaの応答を待っています...",
211+
"ollama_vision_help": "ビジョンモデル(例: llava)が必要です。テクスチャはPNGに変換されbase64で送信されます。"
163212
}
164213

165214
}

Packages/luticalab.core/Languages/Korean.json

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,55 @@
155155
"normal_map_settings": "노말 맵 설정",
156156
"normal_strength": "노말 강도",
157157
"height_scale": "높이 스케일",
158-
"normal_map_info": "하이트 맵(그레이스케일)을 3D 표면 디테일용 노말 맵으로 변환합니다."
158+
"normal_map_info": "하이트 맵(그레이스케일)을 3D 표면 디테일용 노말 맵으로 변환합니다.",
159+
160+
"plugin_browser_title": "텍스처 칵테일 플러그인 브라우저",
161+
"plugin_browser_desc": "로드된 어셈블리에서 발견된 모든 TextureCocktailContent 서브클래스가 여기에 나열됩니다.",
162+
"plugin_browser_howto": "플러그인 생성 방법: TextureCocktailContent를 상속하고 동일한 이름의 셰이더를 생성하세요.",
163+
"plugin_refresh": "새로 고침",
164+
"plugin_count": "등록된 플러그인 ({0})",
165+
"plugin_class": "클래스",
166+
"plugin_assembly": "어셈블리",
167+
"plugin_author": "제작자",
168+
"plugin_version": "버전",
169+
"plugin_description": "설명",
170+
171+
"texture_optimizer_title": "텍스처 최적화 도구",
172+
"texture_optimizer_scan_settings": "스캔 설정",
173+
"texture_optimizer_folder": "스캔할 폴더",
174+
"texture_optimizer_platform": "대상 플랫폼",
175+
"texture_optimizer_max_size": "최대 허용 크기 (px)",
176+
"texture_optimizer_show_issues": "문제가 있는 텍스처만 표시",
177+
"texture_optimizer_scan_btn": "텍스처 스캔",
178+
"texture_optimizer_found": "텍스처 {0}개 발견. {1}개 선택됨.",
179+
"texture_optimizer_select_all": "모두 선택",
180+
"texture_optimizer_deselect_all": "모두 해제",
181+
"texture_optimizer_apply_fixes": "선택된 항목에 권장 수정 사항 적용",
182+
"texture_optimizer_applied": "{0}개 텍스처에 수정 사항이 적용되었습니다. 재스캔하여 확인하세요.",
183+
"texture_optimizer_issues": "문제점",
184+
"texture_optimizer_ping": "에셋 강조 표시",
185+
"texture_optimizer_fix": "이 텍스처 수정",
186+
187+
"ollama_title": "Ollama 로컬 AI 연동",
188+
"ollama_desc": "로컬 Ollama 서버에 연결합니다. 입력: 텍스트 프롬프트 (+ 선택적 이미지). 출력: AI 생성 텍스트.",
189+
"ollama_server": "서버 설정",
190+
"ollama_url": "Ollama URL",
191+
"ollama_list_models": "모델 목록",
192+
"ollama_model": "모델",
193+
"ollama_model_manual": "모델 (직접 입력)",
194+
"ollama_prompt_section": "프롬프트",
195+
"ollama_prompt_label": "텍스트 프롬프트:",
196+
"ollama_attach_texture": "텍스처 첨부 (비전 모델용)",
197+
"ollama_send": "프롬프트 전송",
198+
"ollama_cancel": "취소",
199+
"ollama_response_section": "응답",
200+
"ollama_no_response": "(아직 응답 없음)",
201+
"ollama_input_context": "입력 이미지 컨텍스트:",
202+
"ollama_response_image": "응답 이미지:",
203+
"ollama_save_image": "응답 이미지 저장...",
204+
"ollama_clear": "지우기",
205+
"ollama_ready": "준비됨. 서버 URL을 설정하고 '모델 목록'을 클릭하세요.",
206+
"ollama_waiting": "Ollama 응답을 기다리는 중...",
207+
"ollama_vision_help": "비전 모델(예: llava)이 필요합니다. 텍스처가 PNG로 변환되어 base64로 전송됩니다."
159208
}
160209
}

0 commit comments

Comments
 (0)