Practical Approaches and Evaluation Methods for 3D Miniature Scene Generation
This article explains why evaluating 3D generation is harder than evaluating code generation, and presents a practical workflow for producing 3D miniature scenes from natural language. It covers structured prompt design, a two-stage layout-then-geometry process, automated scene validation, trade-offs across model, web, and 3D-printing deliverables, a four-dimension scoring framework, common failure modes, and how to assemble the workflow into a reusable cloud pipeline.
1. Background: Why 3D Generation Is Harder to Evaluate Than Code Generation
Over the past two years, the focus of large model evaluation has gradually shifted from “can it write runnable code” to “can it perform credible construction in three-dimensional space.” This shift is not accidental: the correctness of code can be quickly determined by compilers and unit tests, while the correctness of a 3D scene involves geometry, materials, lighting, scale, hierarchical naming, and interaction logic at the same time—more evaluation dimensions with a higher degree of subjectivity.
Take “generating a miniature scene of a themed office from a piece of natural language” as an example. On the surface, the task is a modeling request, but in essence it contains at least five layers of implicit requirements:
- Semantic parsing: mapping the theme, style, and period feel in the natural language into a set of visual elements;
- Spatial layout: determining room dimensions, wall thickness, door and window positions, and the relative scale of furniture and people;
- Detail completeness: identifying the “prominent” key elements in the original text and judging whether they are mandatory;
- Delivery format: model files, interactive web pages, and printable physical objects are three completely different output pipelines;
- Verifiability: whether the generated result can be checked by automated scripts, rather than relying only on visual impression.
The problems exposed in the original practice are quite representative: the overall fidelity was acceptable, but the most critical “theme signboard” was missing. This shows that the model is still unstable at “salient element recognition”—it tends to generate structurally reasonable generic scenes, but easily misses objects that carry high semantic weight yet are geometrically just a small plane.
2. Prompt Design: From Bare Prompts to Structured Descriptions
A bare prompt (stating the requirement directly in one sentence) is a good way to stress-test, but in production environments, structured descriptions can significantly improve the first-pass success rate. It is recommended to split the prompt into four blocks:
- Theme and style: clarify the subject, era, and color tone preference;
- Spatial specifications: number of rooms, floor height, room width and depth, whether it is cut away;
- Required element list: list “must-have items” with numbers and annotate their relative positions;
- Delivery constraints: polygon count limit, texture resolution, coordinate system and units, naming conventions.
An illustrative structured description (pseudo-text, not the interface of any specific product):
[Theme] Detective office interior miniature scene, 1990s Japanese animation style[Specs] Single floor, floor height 2.6m, width 4.2m x depth 3.6m, wall thickness 0.12m, 45-degree cutaway view[Required elements] 1 Entrance door sign (required, outside the south wall, facing the camera)2 Exterior window and blinds (required, east wall)3 Desk, swivel chair, desk lamp (required)4 File cabinet and scattered files (required)5 Floor material zoning (wood floor + partial carpet)[Constraints] Unit = meter, Y-axis up, object name prefix SM_, triangle budget within 80k
There are three key lessons. First, explicitly numbering the “must-have items” noticeably reduces the probability of the model missing items; second, giving relative orientations rather than absolute coordinates makes it easier for the model to stay self-consistent during the layout stage; third, translating “salience” into checkable language, for example “facing the default camera, occupying about 15% of the frame height,” rather than just saying “very prominent.”
3. Scene Decomposition: Layout First, Geometry Second
The most common failure in 3D generation is not “looks bad” but “unreasonable”: furniture clipping through walls, doors opening in load-bearing walls, stairs not matching the floor height. A mitigation is to introduce a two-stage process.
The first stage only generates a 2D layout sketch (top view and elevation), confirming room divisions, door and window openings, and furniture placement; the second stage then generates the 3D geometry accordingly. The benefit of this is intercepting spatial reasoning errors at the lowest-cost stage.
A lightweight layout validation script can automatically detect obvious conflicts:
# Pseudo-code: check whether furniture bounding boxes are out of bounds or intersect each otherdef check_scene(objects, room_bounds):issues = []for o in objects:if not inside(o.bbox, room_bounds):issues.append(("out_of_room", o.name))for i in range(len(objects)):for j in range(i + 1, len(objects)):if intersect(objects[i].bbox, objects[j].bbox):issues.append(("overlap", objects[i].name, objects[j].name))return issues
Combined with naming conventions, it is also possible to automatically verify whether all items in the “required element list” have been implemented:
required = ["SM_DoorSign", "SM_Window", "SM_Desk", "SM_Chair", "SM_Cabinet"]missing = [r for r in required if r not in scene_object_names]
The value of such checks is turning “I feel something is missing” into a quantifiable, regression-testable defect list.
4. Trade-offs Among the Three Deliverables: Model, Web Page, and Physical Print
The same scene description faces completely different constraints when it lands in different delivery pipelines, a point that is often overlooked.
- 3D model file: focus on topology quality, UV unwrapping, number of material balls, and hierarchy cleanliness; suitable for subsequent manual refinement.
- Interactive web page: focus on first-screen loading size, texture compression, lighting baking, camera control, and hotspot interaction; this form is the most prone to “going beyond the brief,” as the model often adds features you did not mention, such as view switching, component disassembly animations, and information hotspots.
- Physical print: focus on watertightness, wall thickness, support structures, part splitting, and assembly tolerances; boolean merging and normal repair must be done, otherwise the slicing stage will fail directly.
The practical recommendation is: first use the model form to confirm structural correctness, then derive the web form for presentation, and finally do print preprocessing. Reversing the order leads to repeated rework on incorrect geometry.
5. Evaluation Framework: Score the Generated Result Instead of Relying on Feeling
To avoid the vague judgment of “it’s okay overall but I can’t say what’s wrong,” you can build a four-dimension scoring sheet, each dimension scored 0–5:
- Required element completeness (highest weight): whether all list items exist and are in the correct positions;
- Spatial reasonableness: whether scale, clipping, door opening direction, and movement paths hold up;
- Visual fidelity: consistency of style, color tone, and materials with the description;
- Engineering usability: whether naming, polygon count, units, and loadability meet downstream pipeline requirements.
When scoring, stick to one principle: a missing required element means a zero for that dimension, and it is not allowed to offset it with high scores in other dimensions. The original case could not get a full score precisely because the signboard was missing; this judgment logic should be solidified as a rule rather than decided on the spot.
6. Common Failure Modes and Engineering Countermeasures
- Salient element omission: write key elements into a numbered list and run a name check after generation;
- Scale drift: explicitly give units and reference objects (such as “door height 2.0m”);
- Style mixing: limit era and art style keywords, avoiding multiple style words appearing at the same time;
- Over-engineering on the interaction side: specify “only implement interactions within the list” to reduce size bloat from irrelevant features;
- Unprintable output: perform watertightness checks and wall thickness detection uniformly before export.
7. Implementation in the Cloud: Turning the Generation Workflow into a Reusable Pipeline
To productize the above process, it usually does not require any proprietary interface; general cloud capabilities can be assembled together: object storage saves prompt versions and output files; a container platform hosts headless rendering and format conversion tasks; a message queue handles task distribution and peak shaving; logging services and monitoring alerts track failure rates and elapsed time; then add an evaluation service layer that writes the four-dimension scores and automated check results into a database, forming a continuously regression-testable benchmark set. The general-purpose capabilities offered by Baidu AI Cloud in such scenarios can serve as one optional foundation for building this pipeline.
8. Conclusion
The evaluation of 3D generation capability lies not in “how similar it looks” but in “whether it is verifiable.” Only by structuring the theme description into a required element list, moving spatial reasoning forward to 2D layout confirmation, and solidifying quality judgment into automated checks plus four-dimension scoring can model capability levels be reliably distinguished. For development teams, this method applies equally to any “natural language to 3D asset” engineering practice: define checkable acceptance criteria first, then talk about generation quality.
