Comfy-Org / Comfy-Org/ComfyUI

Proposal: Interior Scene Generator from Floor Plan (Room Detection + Camera View + Render)

Open
#8,618 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

Hi Manus and ComfyUI team,

I’d like to propose a powerful workflow concept for interior design rendering directly from architectural **floor plans** — something that could greatly benefit CG artists, interior designers, and concept developers.

After reviewing existing ComfyUI workflows and repositories, I haven’t found a solution that fully handles:

- Automatic or manual **room definition** from a floor plan
- Interactive **camera placement** per room with view direction
- Prompt generation based on **room name + camera angle**
- Outputting a **photorealistic render** of the selected space

---

### 🧠 The Core Idea:
Upload a floor plan image → Detect or define rooms (e.g. kitchen, WC, living room) → Place a camera → Select the room → Generate a render of that room from that viewpoint.

---

### 🧩 Proposed Custom Nodes:

| Function | Suggested Node Name |
|---------------------------------|----------------------------------|
| Room detection/manual markup | `zsizart_RoomDefinition` |
| Directional camera placement | `zsizart_CameraPlacement` |
| Room selector input | `zsizart_RoomSelector` |
| Auto prompt generation | `zsizart_PromptComposer` |
| Optional: window/door detection | `zsizart_StructureParser` |

These would integrate seamlessly with the existing ComfyUI flow (CLIP Encode, FluxGuidance, KSampler, etc.).

---

### 🔍 Bonus Feature Request:
If possible, I’d love to also include **window and door detection** as part of the room parsing logic.

This would:
- Help the AI understand natural light direction
- Enhance realism in generated interiors
- Allow more accurate camera placement

This feature could live inside `zsizart_RoomDefinition` or a dedicated node like `zsizart_StructureParser`.

---

### ✅ Why It Matters:
- Accelerates concept rendering for architectural clients
- Eliminates manual 3D modeling for ideation
- Opens the door for future automation: batch rendering all rooms in a floor plan

---

🧩 **Namespace Suggestion:**
If new nodes are required, I'd love for them to use a `zsizart_*` prefix to keep them modular and clearly associated with this interior-focused toolkit.

I've attached a simple **flowchart image** to make the concept more visual.
I’d be happy to test, prototype, or even contribute code toward this if it seems useful or worth exploring.

---

**Thanks again for everything you’re building — your work with ComfyUI is a massive inspiration. 🙏**

— Mahmoud (Zsizart)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.