Discover the Ultimate 3D Rendering Workflow for Architectural Floor Plans

CN
ComfyUI.org
2025-06-13 09:54:23

1. Workflow Overview

mbumr6c5rvikwob6mt板房封面图v4.png

This workflow converts architectural floor plans into 3D-colored renderings with:

  • Auto-Coloring: Identifies walls/windows/furniture via ControlNet.

  • Material Generation: Adds wood/glass/tile textures.

  • Lighting Simulation: Natural & artificial light shadows.

  • 4K Upscaling: Uses UltimateSDUpscale for HD output.

Key Models:

  • AD-Laozhuang 1.5: Architecture-specialized base model (license required).

  • lwpm-Coloring LoRA: Optimizes color distribution (weight=0.6).

  • ControlNet-lineart: Preserves original structure (weight=0.8).


2. Critical Nodes

Preprocessing:

  1. ConstrainImage|pysssss

    • Resizes input to 1024x1024 (gray padding for aspect ratio).

  2. CannyEdgePreprocessor

    • Extracts line art (thresholds 100/200) for ControlNet.

Generation Control:

  • ControlNetApplyAdvanced:

    • Locks structure (end step=0.8) while allowing creative freedom.

  • CLIPTextEncodeFlux:

    • Dual-text encoder (T5-XXL+CLIP-L) for complex prompts like:

      "Isometric view, (marble floor:1.3), (sunlight through curtains)"  

Post-Processing:

  • UltimateSDUpscale:

    • 4K upscaling with R-ESRGAN_4x+ (tile size 512x512).


3. Workflow Stages

Group

Function

Key Nodes

Input Floor Plan

Upload line-art (no text labels)

LoadImage → ConstrainImage

ControlNet

Structure preservation

CannyEdge → ControlNetApply

FLUX Refinement

Detail enhancement

CLIPTextEncodeFlux → KSampler

HD Upscale

4K resolution boost

UltimateSDUpscale → SaveImage


4. Inputs & Outputs

Input Requirements:

  • Format: PNG/JPG (e.g., bft.png 1024x768 in example).

  • Content Rules:

    • Pure line art (no text)

    • Closed walls, clear door/window positions

Outputs:

  • Standard: 1024x768 colored render (bf prefix).

  • HD: 2048x1536 resolution (高清bf prefix).


5. Usage Tips

  1. Licensing:

    • AD-Laozhuang 1.5 requires commercial license.

  2. VRAM:

    • Base generation: 8GB, 4K upscale: 16GB+ (disable UltimateSDUpscale if needed).

  3. Troubleshooting:

    • Color bleed: Reduce LoRA weight (default 0.6 → 0.4).

    • Structure drift: Increase ControlNet end step (default 0.8 → 1.0).