Testing Chinese LLMs on 3D and General Programming: A Practical Evaluation Framework

    This article presents a practical framework for evaluating the 3D and general programming capabilities of Chinese large language models. It explains why traditional "does the code run" benchmarks are no longer sufficient, introduces a four-layer evaluation standard, and details two high-discrimination test cases: a 3D pelican riding a bicycle and a volcano eruption particle simulation. Based on hands-on testing, it summarizes three common improvements in self-contained output, spatial and physical intuition, and multi-turn iteration control, followed by engineering recommendations for moving from demo quality to production readiness.

    1. From “It Runs” to “It Holds Up Under Scrutiny”: Shifting Evaluation Standards

    In the past, assessing whether a model could program usually meant checking one thing: could it generate runnable code? Once models began taking on 3D scenes, interactive motion, and even physics simulation tasks, the evaluation dimensions had to expand into four layers: runnability, functional completeness, visual quality, and physical and geometric plausibility. The first three determine whether the output is usable; the fourth determines whether it looks real. This is also why a single “build a page” prompt can no longer separate models into meaningful tiers.

    In practice, a high-quality test case should have the following characteristics: clear constraints (output format, dependency scope, interaction model), subjective comparability (visible differences in visual results), objective verifiability (presence of console errors, whether resources are self-contained), and room for follow-up iteration. Only when these conditions are met do the results support meaningful side-by-side comparison.

    2. Test Case Design: The Logic Behind Two High-Discrimination Prompts

    Test Case 1: An Aesthetic Stress Test for 3D Scenes

    Consider a prompt like “Generate a 3D scene of a pelican riding a bicycle, delivered as a single-file page.” Its value has nothing to do with the novelty of the subject. Instead, it stress-tests several capabilities at once: the ability to abstract a character model, the ability to organize skeletal or hierarchical animation, the expressiveness of scene lighting and materials, and spatial consistency when the camera can freely orbit.

    Three points deserve close attention during evaluation. First, does the image still hold up at close range—for example, do fur, feathers, and tires degrade into flat color blocks? Second, is the lighting coherent—can warm sunset tones and a cool sea surface form a sensible color relationship rather than a simple overlay? Third, do environmental elements have depth—are background, midground, and foreground distinct, and are there any objects floating without a visible source?

    Test Case 2: A Combined Test of Particle and Fluid Effects

    The second classic prompt is “Build a volcano eruption simulation using a mainstream 3D rendering library, delivered as a standalone file.” It looks simple but tests both mathematical and engineering ability: particle lifecycle management, turbulence driven by noise functions, the velocity field of flowing lava, distinct shading for smoke and flame, and performance stability over long-running sessions.

    1. // Illustrative pseudocode: core structure of a particle system
    2. class ParticleSystem {
    3. constructor(count) {
    4. this.positions = new Float32Array(count * 3);
    5. this.velocities = new Float32Array(count * 3);
    6. this.lifetimes = new Float32Array(count);
    7. }
    8. update(dt, emitter) {
    9. for (let i = 0; i < this.lifetimes.length; i++) {
    10. this.lifetimes[i] -= dt;
    11. if (this.lifetimes[i] <= 0) this.reset(i, emitter);
    12. this.integrate(i, dt); // velocity integration + noise perturbation
    13. }
    14. }
    15. }

    The criteria are clear: does the eruption convey physical realism through initial velocity and a gravity-driven parabola; does the smoke expand with height and gradually lose opacity; and does long-running execution avoid a sudden frame-rate collapse or steadily growing memory usage?

    3. Hands-On Observations: Three Shared Advances Among Chinese Models

    First, self-containment has improved markedly. Generated pages tend to inline styles and scripts and rely less on external resources. This directly lowers the failure rate and makes verification in isolated environments easier.

    Second, spatial and physical intuition is stronger. Details that were previously easy to overlook—water reflections, the volume of fog, light falloff—now show handling that matches intuition, rather than pure geometric stacking.

    Third, controllability across multiple turns has gotten better. When given follow-up instructions such as “zoom the camera in,” “add raindrops,” or “lower the overall saturation,” the model can make incremental changes while preserving the existing structure instead of starting over. This matters enormously in engineering practice, because it determines the efficiency of human-AI collaboration.

    It is worth stressing that these conclusions come from subjectively perceptible test dimensions, not standardized benchmark scores. Any selection decision should be re-validated against your organization’s own task distribution.

    4. Engineering Recommendations: Turning “Demo Effect” into “Production-Ready”

    To bring this kind of capability into real business use, start from four areas. First, put constraints up front: specify technology-stack boundaries, self-contained resource requirements, and fallback strategies in the prompt. Second, validate in layers: automatically check syntax and runtime errors first, then conduct visual and interaction review. Third, version everything: archive the prompts and artifacts of each iteration together to form a traceable experiment record. Fourth, run security review: statically scan generated code for network requests, storage access, and permission calls.

    For cloud hosting, a general category combination works well: use object storage to host static artifacts, a container platform to run rendering or batch jobs, and logging plus monitoring and alerting services to track anomalies and performance metrics; introduce a message queue for peak shaving when necessary. Baidu AI Cloud offers corresponding product categories for these general capabilities, which can be combined as needed to avoid tight coupling with the business.

    5. Conclusion: Code Is Becoming a Universal Cross-Modal Interface

    3D, video, games, and physics simulation are increasingly connected by the same code-based means of expression, and the value of models is shifting from “completing fragments” to “building complete, interactive worlds.” For developers, what needs to be built is not amazement at any single demo, but a stable system of test-case design, evaluation, and governance. When evaluation standards are strict enough, capability improvements are identified accurately—and can be placed into production safely.