Large Language Model–Generated 3D Scenes: From Requirement Breakdown to Interactive Web Pages

    This article presents a practical workflow for generating usable 3D scenes with large language models. It explains how to turn vague creative requirements into verifiable specifications, organize voxel-based assets for editability, validate deliverables, design interactive web previews, and combine automated checks with human review to improve consistency.

    1. Background

    Large language models are moving from simply producing 3D content to producing content that is actually usable. Early evaluations focused primarily on code correctness. More recently, 3D modeling, spatial reasoning, and web-based interaction have become important areas of assessment. A 3D scene tests semantic understanding, spatial relationships, structural completeness, and delivery format at the same time. If any one of these aspects is incorrect, users can usually detect the problem immediately.

    For developers, the key question is no longer whether a model can generate a building. The more important question is whether it can deliver a 3D asset that is editable, verifiable, and ready for use. This article uses a text-driven 3D generation task as an example and breaks down the complete process, from defining requirements to validating the final deliverables.

    2. Turn Requirements into a Verifiable Checklist

    A prompt that only describes a theme and visual style does not provide enough constraints for reliable evaluation. The more ambiguous the prompt, the more the result depends on the model’s assumptions, and the harder it becomes to determine whether the output is correct.

    A practical requirement specification should cover four categories:

    1. Theme and style: The subject, color palette, era, and overall proportions of the scene.
    2. Required elements: Architectural components, signs, people, or props that must appear. Each item should be listed separately.
    3. Deliverables: Editable project files, preview images, interactive web pages, and the intended purpose of each.
    4. Technical constraints: Voxel size, coordinate units, material limits, file formats, and other implementation requirements.

    For a neighborhood scene, for example, a second-floor office, an outdoor staircase, a ground-floor café, and a signboard at the entrance should all be listed as required elements. Signboards are especially easy to miss. A model may reproduce the overall building shape while omitting small elements containing text, because text is difficult to represent at voxel resolution.

    These elements should be described with explicit dimensions and positions, such as: “centered above the front wall, with a width equal to one-third of the wall.”

    3. Organizing a Voxel Scene

    A voxel scene is essentially a three-dimensional grid in which each cell stores a coordinate and a material. A well-organized scene should divide the building into components that can be edited independently, rather than producing a single, indivisible mesh.

    Common organization principles include:

    • Layered modeling: Group the foundation, each floor, the roof, and the stairs separately so they can be adjusted independently.
    • Consistent material IDs: Use fixed identifiers for walls, floors, signs, and other materials so that colors or textures can be replaced later.
    • Explicit openings: Create doors and windows by leaving gaps in the wall instead of placing flat overlays on top of it.

    The following example shows how to generate a wall with a doorway using a simple data structure:

    1. from dataclasses import dataclass
    2. @dataclass
    3. class Voxel:
    4. x: int
    5. y: int
    6. z: int
    7. material: str
    8. def build_wall(x0, y0, z0, length, height, material, door=None):
    9. """Generate a wall along the X axis. door contains optional doorway parameters."""
    10. voxels = []
    11. for x in range(x0, x0 + length):
    12. for z in range(z0, z0 + height):
    13. if door and door["x0"] <= x < door["x1"] and z < door["height"]:
    14. continue # Leave the doorway empty
    15. voxels.append(Voxel(x, y0, z, material))
    16. return voxels
    17. front_wall = build_wall(
    18. x0=0, y0=0, z0=0, length=12, height=8,
    19. material="wall_brick",
    20. door={"x0": 5, "x1": 7, "height": 4},
    21. )
    22. print(len(front_wall), "voxels")

    This approach is highly parameterized. To change the floor height or move the door, you only need to modify the parameters instead of restructuring the entire scene.

    4. Deliverables and Editability Checks

    A typical delivery package contains three types of output: an editable project file, rendered images for presentation, and an interactive web page. All three should be generated from the same scene data. Otherwise, the preview and the project file can easily become inconsistent.

    Editability can be checked in the following order:

    1. After opening the project, can each component be selected and modified independently?
    2. Are materials centrally managed so that changing a color in one place updates all references?
    3. Do the coordinates and proportions match the conventions defined in the prompt?
    4. Are the render and the project based on the same camera view and lighting setup?

    If any of these checks fails, the result is still at the “looks similar” stage and should not yet be considered a usable asset.

    5. Designing the Interactive Web Page

    The value of a 3D presentation page lies in helping users understand spatial relationships. Basic functionality should include model dragging, automatic rotation, and usage instructions shown when the page is opened. Additional features can be added according to the intended use.

    For spatial presentation projects, the following features are particularly useful:

    • Scene annotations: Add text labels to important components. This is useful for architectural models, site plans, and other scenes that require structural explanation.
    • View focusing: List the main components in a sidebar and automatically move the camera to the selected component when a user clicks it.
    • Deliverable switching: Allow users to switch between different renders on the same page and provide an entry point for downloading the model files.

    In implementation, component names and bounding-box center coordinates can be stored in a configuration file. The frontend can then use this configuration to calculate the camera target position. Separating the configuration from the model data allows the scene to be replaced without changing the page logic.

    Annotation text should come from the scene data rather than being hard-coded in the page. Otherwise, changing a component name can cause the labels to become inconsistent with the actual model.

    6. Similarity Evaluation and Automated Checks

    The main problem with manually evaluating similarity is that standards can vary between reviewers. A better approach is to represent required elements as a checklist and use a program to verify whether they are present.

    1. REQUIRED_PARTS = {"sign_board", "outdoor_stairs", "upper_office", "ground_cafe"}
    2. def check_coverage(scene_parts: set[str]) -> list[str]:
    3. """Return missing required component names in alphabetical order."""
    4. return sorted(REQUIRED_PARTS - scene_parts)
    5. generated = {"upper_office", "ground_cafe", "outdoor_stairs"}
    6. missing = check_coverage(generated)
    7. if missing:
    8. print("Missing components:", ", ".join(missing))

    This check can determine only whether a component exists. It cannot establish whether the shape is accurate. Human review is therefore still necessary, but the review can focus on details outside the checklist, such as proportions, colors, and camera angle.

    Problem 1: Small text is difficult to reproduce.
    When the voxel resolution is too low, the strokes in text may disappear. One solution is to represent the text as a flat texture or as an independent sign block, while specifying its position and size clearly in the prompt.

    Problem 2: People or props have distorted details.
    Voxelized people can easily lose their intended form. If the goal is only to indicate their presence, a simplified shape may be sufficient. The delivery notes should make this simplification clear.

    Problem 3: Web functionality exceeds the requirements.
    A model may automatically add interactions that were not requested. These features should first be evaluated against the intended use case before being kept or removed. Unconfirmed functionality should not be included directly in the final delivery.

    Problem 4: Usage limits and the cost of repeated generation.
    3D generation often requires multiple iterations. It is more efficient to validate the structure at a low resolution first, then increase the resolution after the structure has been confirmed.

    8. Conclusion

    The key to using large language models for 3D scene generation is to convert a vague theme into a checklist that can be tested. Scenes should be organized in layers, deliverables should remain consistent, and web functionality should be designed around actual use cases.

    By combining programmatic coverage checks with human review, teams can make similarity evaluation more repeatable and reduce the risk of delivering assets that merely look correct but cannot be edited, verified, or used directly.