Testing 3D Generation and General-Purpose Coding Capabilities of Chinese LLMs

    This article evaluates how Chinese large language models handle 3D scene generation and general-purpose coding, where natural language prompts are translated into interactive, browser-rendered experiences. It introduces a four-dimension scoring framework covering semantic accuracy, spatial and physical plausibility, aesthetics, and engineering usability, then examines two cases: a single-prompt interactive 3D long shot and a volcano eruption simulation. It also outlines a five-part prompt structure, an iterative refinement strategy, and how to build an evaluation and application loop on Baidu AI Cloud.

    1. From Writing Code to Building Worlds: A Shift in Capability Focus

    Over the past two years, evaluations of LLM coding ability mostly stopped at whether a model could produce a runnable snippet. Now that models combine visual understanding with multimodal output, the criteria are shifting. What matters is not the number of lines of code, but whether a model can translate a single natural language intent into a structurally complete, interactive 3D experience that can run for a prolonged period.

    The underlying judgment is that code is becoming a universal interface connecting video, games, 3D space, and physical simulation. Natural language expresses intent, the model generates the scene graph, materials, lighting, and interaction logic, and the browser or runtime handles rendering. Understanding this pipeline is a prerequisite for evaluating such capabilities.

    2. Evaluation Framework: Four Dimensions for General-Purpose Coding Plus Vision

    To avoid subjective impressions, break the evaluation into four measurable dimensions:

    1. Semantic fidelity: whether the subject, action, environment, and style constraints are understood accurately;
    2. Spatial and physical plausibility: whether object placement, gravity, collision, and fluid motion match intuition;
    3. Aesthetics and detail density: whether lighting layers, color choices, and background details hold up under close inspection;
    4. Engineering usability: whether the output runs as a single file, has a clear structure, and is easy to modify.

    A sample evaluation record can look like this:

    1. {
    2. "case": "3D scene generation",
    3. "prompt": "Generate a 3D cycling scene on a coastal highway at dusk, with a freely rotatable viewpoint",
    4. "scores": {
    5. "semantic": 9,
    6. "physics": 8,
    7. "aesthetic": 9,
    8. "engineering": 8
    9. },
    10. "notes": "Rich layered water reflections; background needs more detail"
    11. }

    3. Case One: Generating an Interactive 3D Long Shot from a Single Prompt

    The first typical task is minimal: describe the subject and action in one sentence and require an interactive 3D web output. The difficulty is not generating a bird riding a bicycle, but whether the scene holds up to sustained observation.

    High-quality results usually share these traits:

    • Complete environmental storytelling: sunset color temperature, winding roads, road signs, and vegetation form a coherent scene;
    • Free viewpoint: the camera can rotate and zoom freely without breaking spatial relationships;
    • Self-consistent dynamic details: natural motion pacing with smooth transitions in expression and posture;
    • Procedural water: the sea surface shows lighting layers close to a high-end game, generated entirely by code and mathematical functions without any external assets.

    The last point is especially critical. Procedural generation means the model must simultaneously handle noise functions, reflection approximation, color mapping, and performance trade-offs. This is the dividing line between drawing a picture and building a world.

    4. Case Two: Stability Under Physical Simulation Demos

    The second test is a 3D volcano eruption demo. It looks simple but simultaneously tests particle systems, lifecycle management, gravity and turbulence approximation, and performance stability over long runs.

    Key things to check:

    • whether the particle emission rate matches the lifecycle, avoiding buildup or gaps;
    • whether lighting and smoke are coupled naturally;
    • whether the frame rate stays within an acceptable range;
    • whether the code is modular enough to swap parameters.

    A reusable parameter skeleton:

    1. const emitter = {
    2. rate: 120, // particles per second
    3. life: 3.2, // lifecycle (seconds)
    4. speed: [4, 9], // initial speed range
    5. turbulence: 0.35, // turbulence intensity
    6. gravity: -0.6 // gravity adjustment
    7. };

    5. Prompt Engineering: Making Intent Reliably Translatable

    In testing, prompt quality was the variable with the largest impact on success. A five-part structure is recommended: subject + action + environment + style + constraints.

    1. Subject and count;
    2. Action and pacing;
    3. Environment and time of day;
    4. Visual style (for example, realistic, cartoon, cinematic);
    5. Hard constraints (single-file output, interactive, no external assets, performance limits).

    For iteration, lock down the structure and viewpoint first, then add detail constraints round by round. Avoid stacking everything at once, which can cause key elements to be dropped.

    6. Engineering Implementation: Building an Evaluation and Application Loop on Baidu AI Cloud

    To productize these capabilities, a general architecture on Baidu AI Cloud works well: a container platform hosts inference and rendering services, object storage keeps outputs and assets, a message queue smooths traffic peaks, and logging plus monitoring and alerting provide observability. An evaluation pipeline can automatically run the prompt set, capture outputs, and record the four-dimension scores, forming a baseline for continuous regression testing.

    7. Conclusion

    The performance of Chinese models in 3D generation and general-purpose coding shows that competition has moved from single-point code correctness to end-to-end delivery across intent, scene, and interaction. For developers, the key to turning an impressive one-off result into stable productivity is to build structured evaluations, refine prompt engineering, and close the loop on general-purpose cloud infrastructure.