Hands-On Testing of LLM 3D Modeling: Code Generation vs. Model File Generation — Which Works Better?

    Large language models are increasingly capable of generating 3D content directly from natural language prompts. This article compares the two main approaches — exporting standard 3D model files (e.g., .glb) versus rendering via generated code — through three hands-on test cases: a Corinthian column, a sci-fi mech, and a suspension bridge for 3D printing. It also distills practical lessons on choosing the right route, structuring prompts, and iterating with visual references.

    Background: LLMs Are Changing How 3D Content Gets Made

    Not long ago, producing a usable 3D model required a professional modeler to sculpt it by hand in desktop software for hours or even days. Today, more and more general-purpose LLMs can generate 3D content directly: you describe what you need in natural language, and you get a structurally complete 3D result. For game prototyping, 3D printing hobbyists, and architectural visualization, this is a real productivity leap.

    In practice, current solutions fall into roughly two technical routes:

    Route 1: Output standard 3D model files (e.g., .glb format)

    .glb is the industry-standard binary container for 3D assets, holding geometry, materials, and scene hierarchy. Its biggest value is that it’s editable downstream — the generated model can be imported directly into professional modeling software for further editing, or sliced for 3D printing, forming a complete pipeline from “idea” to “physical object.”

    Route 2: Pure programmatic rendering via code

    The other route doesn’t produce a model file at all. Instead, the model generates code that runs directly in a browser, computing and rendering the 3D structure in real time through graphics APIs like WebGL. The upside: zero dependencies, instant preview, and strong interactivity. The downside: the geometry “lives” inside the code, making it impractical to edit or print outside the web environment.

    Neither route is objectively superior — it depends on your goal. The following three hands-on test cases break down the trade-offs.

    Test Case 1: Corinthian Column — How Well Can It Replicate Complex Ornamental Structure?

    The Corinthian order is a classic of ancient Greek architecture. Its capital is covered in intricately carved acanthus leaves — complex in structure and rich in layers — making it an ideal benchmark for modeling capability.

    First-pass, no-reference output:

    With no reference provided, the model’s first version was broadly correct: the shaft had entasis (a tapering curve), and the capital featured layered, leaf-like ornamentation. But the details weren’t precise — the curl direction of the leaves and the density of the layers deviated from real architectural features. This suggests the model has a basic conceptual grasp of “Corinthian column” but lacks accurate dimensional and morphological data.

    Iteration with a reference:

    After feeding the model a better reference implementation, the second version improved dramatically: the capital’s carving showed clear layers, and the leaf arrangement followed the symmetry rules of the order. The geometry was complete enough to go straight into the printing pipeline.

    The takeaway from this case: for modeling tasks with a well-defined real-world prototype, providing a reference (an image, an existing model, or a structural description) is far more effective than endlessly tweaking prompts. LLMs are better at “aligning to a reference” than “reconstructing from scratch.” Adding prior knowledge into the context is the key to improving fidelity.

    Test Case 2: Mech Design — How Well Does It Follow Open-Ended Creative Instructions?

    The second test was a purely creative task. The prompt: “A sci-fi anime-style mech that incorporates tank elements and has a pair of angel wings.”

    This kind of “wish-list” prompt has few constraints and wide freedom, which puts real pressure on the model’s ability to fuse multiple stylistic elements.

    Results compared:

    • The model file route produced a coherent result: the mech’s body had clearly segmented armor plates, a tracked structure on the back echoed the tank elements, and the wings opened in layered, feather-like fashion. The weakness was in the face — the details were overly simple and lacked distinctiveness.
    • The code rendering route showed clear intent drift in its first version, downgrading the “angel wings” into thruster-like shapes. It took one iteration to fix.

    For open-ended creative tasks, both routes have their strengths, but first-pass instruction completeness is the metric that separates them — can the model implement every element in the prompt rather than selectively ignoring some? A suggestion for developers: for creative prompts, list the key elements explicitly (for example, declare “subject, style,附属 structures” as separate bullet points) rather than cramming everything into one sentence — this makes full execution much more likely.

    Test Case 3: Suspension Bridge — A 3D-Printing-Oriented Mode

    The third test targeted a suspension bridge structure like the Golden Gate Bridge. The challenges here: the catenary curve of the main cables, the proportions of the towers, and a large number of repeated vertical suspenders. Any deviation in these collapses the overall look.

    This time, we deliberately chose a generation mode oriented toward 3D printing. Its characteristics:

    1. Output designed for physical manufacturing: geometry is solidified into actual volumes, avoiding the “visual shell only” problem where there’s nothing printable inside;
    2. Structurally dimensional consistency: connections between parts follow physical assembly logic — cable-to-deck attachment points genuinely exist rather than being floating textures;
    3. Ready to slice: the export can go into slicing software without extensive repair.

    The results: the main cables’ parabolic shape and the towers’ portal structure were both accurately reproduced, and the suspenders were evenly distributed. Overall, this shows that for engineering-style objects with clear structural rules, LLM performance is quite consistent.

    Lessons Learned: How to Use LLMs Efficiently for 3D Modeling

    Drawing from all three cases, here’s a practical methodology:

    1. First, clarify your target output format

    • Need further editing or 3D printing → choose a solution that outputs standard model files like .glb;
    • Need quick previews or interactive demos → programmatic code rendering is lighter and faster.

    2. Structure your prompts in layers

    A recommended “three-part” structure:

    1. [Subject]: what it is, e.g., "corinthian column capital from ancient greek architecture"
    2. [Structural constraints]: key components and proportions, e.g., "24 flutes on the shaft, two rings of acanthus leaves on the capital"
    3. [Output requirements]: format, precision, intended use, e.g., "output solid geometry suitable for 3D printing"

    3. Iterate by aligning to references

    When the first output disappoints, rather than rephrasing the prompt over and over, provide a visual or structural reference and let the model “edit while looking at it.” This is especially effective for objects that have real-world prototypes.

    4. Do lightweight validation on the results

    Once you have the model file, check it in modeling software: are normals consistent, is there any non-manifold geometry, and is the wall thickness sufficient for printing? These are common weak points in LLM-generated models, and a two-minute check can save hours of rework later.

    Conclusion

    Based on these hands-on tests, LLM 3D generation has crossed the “toy” threshold: it produces usable results across architectural reconstruction, creative design, and engineering structures. The current weaknesses are mainly in fine-detail accuracy and first-pass stability — both of which can be mitigated with a workflow of “reference-guided iteration + layered prompting + iterative validation.” For developers, now is a good time to bring LLMs into the 3D content production pipeline. Treat the model as a junior modeler who needs a clear requirements document, and collaboration tends to be twice as effective with half the effort.