Skip to content

Refactor 3D scene into createStandScene(config)#35

Open
sundsoffice-tech wants to merge 11 commits into
mainfrom
codex/refactor-3d-scene-into-createstandscene
Open

Refactor 3D scene into createStandScene(config)#35
sundsoffice-tech wants to merge 11 commits into
mainfrom
codex/refactor-3d-scene-into-createstandscene

Conversation

@sundsoffice-tech

Copy link
Copy Markdown
Owner

Summary

  • add a reusable createStandScene factory that builds a three.js scene, camera, and reusable stand objects from a config
  • refactor Configurator3D to source floor, wall, truss, and legacy counter/screen rendering from the generated scene objects
  • wire existing editing and collision flows to the factory outputs to keep interactions intact

Testing

  • npm run build

Codex Task

@vercel

vercel Bot commented Nov 22, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
designer1 Ready Ready Preview Comment Nov 22, 2025 11:07pm

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +246 to +250
const surfaces = mAny.wallSurfaces || {};

const backSurface = wallMaterial(surfaces.back ?? "system");
const leftSurface = wallMaterial(surfaces.left ?? "system");
const rightSurface = wallMaterial(surfaces.right ?? "system");

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Honor configured wall surfaces

Walls are now skinned from mAny.wallSurfaces, but the config/UI stores wall finishes in modules.wallsDetail (see ConfiguratorPanel). Because nothing writes wallSurfaces, every wall falls back to wallMaterial(..."system"), so user‑selected wood/banner/LED surfaces no longer render in 3D. This affects any stand with customized wall finishes.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant