あっているのかあっていないのか全く不明な粗いやり方の流れはこちら
pip install requirements.txtとgithubのガイドに書いてあるのにないという謎の構成
●1 MCP設定とCursorBlenderMCPで3Dモデル生成
1 git clone
github.com/VedantRGosavi/UE5…
2 cd UE5-MCP
3 仮想環境に入る(python -m venv venv;source venv/bin/activate)
4 pip install numpy scipy pillow requests openai unrealcv
5 .mcpディレクトリをホームディレクトリに作成
mkdir -p ~/.mcp
6 設定ファイルを作成 blender mcp
touch ~/.mcp/blender_mcp_config.json
{
"ai_enabled": true,
"default_export_format": "fbx",
"logging_level": "INFO",
"auto_update": true,
"scene_generation": {
"default_style": "realistic",
"terrain_detail": "high",
"object_variation": true
},
"asset_processing": {
"texture_resolution": "4K",
"lod_levels": 3,
"batch_processing": true
},
"ai_integration": {
"provider": "openai",
"api_key": "your-api-key",
"ai_suggestions": true
}
}
7 設定ファイルを作成 ue5 mcp
touch ~/.mcp/ue5_mcp_config.json
{
"ai_enabled": true,
"default_export_format": "fbx",
"logging_level": "INFO",
"auto_update": true,
"level_design": {
"default_terrain_size": [1000, 1000],
"auto_populate": true,
"npc_spawn_density": 0.5
},
"performance": {
"dynamic_lighting": false,
"max_polycount": 500000,
"physics_enabled": true
},
"ai_integration": {
"provider": "openai",
"api_key": "your-api-key",
"ai_suggestions": true
}
}
8 Blender起動してStart MCPをクリックして起動
(あらかじめBlenderMCPをインストールしておく)
9 CursorのBlenderMCPを呼び出してから、下記コマンドを入力
generate_hyper3d_model_via_text("A standing human character in casual clothes")
(
fal.aiをBlenderMCP連携の上で)
●2 UEにプラグインインストール
(UnrealCVはwindowsのみっぽい macだとビルドエラーだった)
編集 > プラグイン > アクティブにする
- Python Editor Script Plugin
- Procedural Content Generation (PCG) Framework
MCPにUE5のプロジェクトパスを聞かれるので伝える
プロジェクトパスはここ
/Users/ユーザー名/Documents/Unreal\ Projects/UE5Blender
UE5の該当プロジェクト起動してツール > Python スクリプトを実行