CommunityImagegithub.com

RiyaParikh0112/room-photo-render

Turn 3D renders of rooms (from a three.js floor-plan walkthrough, Blender, SketchUp or any screenshot) into photorealistic interior photographs with Codex CLI image generation, keeping the exact camera, layout and objects, and dressing them with neuroscience-based design rules (prospect-refuge, bridge materials, acoustic softness, natural complexity, open layout). Use when the user wants real-looking room photos, "make it look like a real home", AI renders of a 3D house, photoreal stills for a walkthrough or real-estate tour, or asks to use Codex image generation instead of Higgsfield.

What is room-photo-render?

room-photo-render is a Codex agent skill that turn 3D renders of rooms (from a three.js floor-plan walkthrough, Blender, SketchUp or any screenshot) into photorealistic interior photographs with Codex CLI image generation, keeping the exact camera, layout and objects, and dressing them with neuroscience-based design rules (prospect-refuge, bridge materials, acoustic softness, natural complexity, open layout). Use when the user wants real-looking room photos, "make it look like a real home", AI renders of a 3D house, photoreal stills for a walkthrough or real-estate tour, or asks to use Codex image generation instead of Higgsfield.

Works with~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/RiyaParikh0112/production-house/tree/HEAD/skills/room-photo-render

Installed? Explore more Image skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Room photo render

One 3D view in, one real-estate photograph out. The 3D render fixes the geometry; Codex image generation supplies light, materials and life. Each image takes about one minute.

When to use

  • The user has a 3D view (screenshot, render, canvas capture) and wants it to look like a real photo.
  • A walkthrough or tour needs a photo per room (the reel pattern: every view generated from a fixed reference so the house stays the same building).
  • Do not use it to invent a room with no reference. Without a render, the layout drifts.

Steps

  1. Capture clean reference views.
    • One view per room, from the room's start point. Hide the HUD; the canvas alone is best.
    • Use a 3:2 canvas (for example 1200×800 CSS px) for landscape photos.
    • For a three.js page, scripts/capture_server.py receives canvas PNGs from the page. Run it, then post canvas.toDataURL() from the page for each room. See the header of that script.
    • The page needs preserveDrawingBuffer: true for the capture build only.
  2. Write one line of room facts per view. Name what is in the frame, left to right, with materials and colours. The model keeps what you name and drifts on what you don't.
  3. Generate. Run:
    scripts/codex_photo.sh <reference.jpg> <out.png> "<room facts>" [extra direction]
    
    The script adds the camera-lock rules, the photography brief and the design rules from references/design-rules.md. Run up to 3 at once; Codex handles them in parallel.
  4. Check every result against its reference. Reject and re-run when walls, windows, doors or big furniture moved, appeared or vanished. Small dressing (plants, cushions, books, curtains) is allowed and wanted.
  5. Ship small files. Convert to WebP at about 1600 px wide, quality 80 (for example with sharp), about 150–300 KB each. Label them as AI photos in the product.

Rules that matter

  • Lock the camera first in the prompt, then list the objects, then the style. Order changes the result.
  • Allowed changes: light, materials, textures, small soft furnishings, plants, books, art. Not allowed: moving walls, windows, doors, built-ins, or big furniture.
  • Design rules come from the video "the neuroscience behind homes that feel 10x better than others" (Five By Nine). They are summarised in references/design-rules.md. Apply them as dressing, never as layout changes, so the photo still matches the 3D model.
  • No people, no text, no watermarks, no brand names.
  • Keep the reference and the result side by side in the project (renders/<room>_3d.jpg, renders/<room>_photo.png).

Known problems

See references/gotchas.md before you start. It lists the failures already met: Codex -i eating the prompt, WebGL blocked after GPU resets, artifact hosts that refuse .glb, and why a live in-browser path tracer was dropped.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

RiyaParikh0112/building-codes

Comprehensive building code expertise covering IBC (International Building Code) occupancy classification, construction types I through V, height and area limitations, means of egress design, fire separation and protection requirements, plumbing fixture calculations, and international code comparison across IBC, Building Regulations (England & Wales), Eurocodes, NCC (Australia), and NBC (Canada). Provides specific code references, dimensional requirements, fire resistance ratings, and calculation methods for architectural compliance.

RiyaParikh0112/building-typology

Identify and apply building typologies for residential, commercial, institutional, hospitality, industrial, cultural, and mixed-use buildings. Use when the user asks about building types, plan configurations, floor plate design, core arrangements, net-to-gross ratios, structural grids, floor-to-floor heights, unit mix, parking strategies, or exemplar buildings. Also use when comparing typological options, selecting an appropriate building form for a site, evaluating plan depth and daylight, or analyzing how a typology affects density, efficiency, and user experience. Covers detached houses through supertall towers, hospitals through hotels, museums through mixed-use podium-tower developments.

RiyaParikh0112/design-theory

Architectural movements, design philosophy, critical theory, precedent analysis, and compositional principles for informed design reasoning

RiyaParikh0112/geographic-foundations

Auto-activated geographic context router for the Architect Skills plugin. Detects the country or jurisdiction of any architectural query and routes to the correct country-specific dossier (India, UAE, Saudi Arabia, USA, UK, Germany, Singapore, Japan, China, Australia). Encodes the global regulatory landscape: which authority issues which code, the hierarchy between national/state/municipal regulation, code adoption status by version year, the dominant energy/seismic/fire/accessibility codes per jurisdiction, and the cross-walk between national codes and the international reference systems (IBC, NFPA, Eurocodes, ISO, ASCE). Maintains a precise inventory of which country uses which Eurocode National Annex, which states/emirates/ Lander/prefectures publish their own modifications, and where international standards apply by reference. Triggers country-specific skills when geographic context is detected in user query (city name, project location, language cues, code reference) and supplies

Related Skills