Testing Chinese LLMs on 3D Generation and Generalized Coding

    A hands-on evaluation of how new Chinese large language models handle procedural 3D scenes and physics simulations through generalized coding. It covers a repeatable testing setup, two real cases, a six-dimension scoring checklist, prompt iteration tips, cloud deployment paths, and current limitations.

    1. Background: Why “3D Generation + Generalized Coding” Is the New Capability Divide

    The capability curve of Chinese LLMs has flattened on general conversation and routine code completion. What the industry is really waiting for is a leap that genuinely surprises people. The latest generation of models puts its focus on visual understanding and generalized coding, and hands-on testing shows the value reaches well beyond the programmer circle: code is becoming a universal interface that connects video, games, 3D space, and physical-world simulation.

    Generalized coding means the model does not just produce a runnable script, but a structurally complete interactive application in one shot: scene graph, materials and lighting, camera control, physics approximation, UI, and state management. These tasks demand a composite skill set — the model must understand graphics fundamentals while maintaining consistency across a long context.

    2. Testing Method and Environment

    To reduce variables, fix the following elements to form a repeatable evaluation baseline:

    • Unified entry point: use a vision-capable coding tool or cloud development environment, keeping prompts, dependency versions, and render resolution consistent.
    • Single-prompt principle: give only one natural-language requirement without step-by-step instructions, and observe how autonomously the model decomposes the task.
    • Multiple refinement rounds: the first round checks “runnability,” the second checks “aesthetics and detail,” and the third checks “performance and maintainability.”
    • Recording: keep console errors, frame rate ranges, first-screen load time, and final artifact size.

    A minimal verification prompt looks like this:

    1. Build an interactive 3D scene in a single HTML file:
    2. the mouse can orbit 360 degrees around it, with terrain, dynamic water,
    3. sunset lighting, and distant islands. All geometry and textures must be
    4. generated procedurally in code, with no external assets.

    3. Case One: The Aesthetic Ceiling of Procedural 3D Scenes

    When the classic meme-style prompt is upgraded to a 3D version, the test shifts from “does it run” to “does it hold up when you look closely.” In testing, the model’s output showed these characteristics:

    1. A complete lighting and color system. Warm golden low-angle sunlight paired with teal water creates a clear warm-cool contrast, rather than default gray-white materials.
    2. Clear narrative layers. Foreground road and road signs, midground vegetation, distant solitary island and lighthouse, and birds circling in the sky form spatial depth from near to far.
    3. Details that feel “alive.” Character motion and expressions look natural, the water surface has highlights and ripples, and creatures occasionally leap out of the water in the distance — all procedural animation rather than faked textures.
    4. Zero external assets. All geometry, materials, and particles are generated in code, avoiding copyright and asset-loading risks.

    Engineering implication: procedural generation turns the deliverable from a single image into an interactive, editable scene project. This directly reduces cost and improves efficiency for marketing pages, teaching demos, and digital showrooms.

    4. Case Two: A Physics Simulation Demo

    The recurring challenge is “build a volcano eruption simulation with a 3D rendering library and output a standalone HTML file.” It looks simple but simultaneously stresses math, performance, and code organization:

    • Particle system: emission rate and lifetime for the eruption column, ash, and sparks need layered control.
    • Fluid approximation: the smoke column’s rise, diffusion, and wind-field disturbance need a believable turbulent look.
    • Lighting interaction: emissive lava and volumetric fog must coordinate with the scene’s main light.
    • Performance budget: particle count, draw batches, and post-processing need to hold a usable frame rate on mid-range devices.

    Testing showed this class of task has entered the top tier among Chinese models, with some details even outperforming comparable solutions. A reusable tuning snippet:

    1. // Control the eruption look with three parameters: emission rate, lifetime, turbulence
    2. const emitter = {
    3. rate: 1200, // particles per second
    4. life: [1.5, 4.0], // lifetime range (seconds)
    5. turbulence: 0.35 // turbulence intensity; higher is more "violent"
    6. };
    7. function tick(dt) {
    8. spawn(emitter.rate * dt);
    9. updateParticles(dt, emitter.life, emitter.turbulence);
    10. }

    5. Evaluation Checklist: Turning “Looks Good” into Scored Items

    Use a six-dimension scale instead of subjective judgment, scoring each dimension from 1 to 5:

    Dimension What to Observe
    Runnability Errors on first open, whether dependencies are self-contained
    Visual aesthetics Composition, color, materials, and lighting layers
    Spatial consistency Whether geometry and occlusion are correct from multiple views
    Interaction smoothness Frame rate range, whether drag and zoom feel responsive
    Code quality Naming, module separation, whether parameters are configurable
    Maintainability Cost of secondary edits, clarity of comments and structure

    6. Engineering Tips for Prompts and Iteration

    • First constrain the “delivery form” (single file, no external assets), then describe the visual intent, and finally add performance goals.
    • Use “configurable parameters” instead of piling up specific values, so you can tune later without changing the structure.
    • Change only one variable per round (lighting/particles/camera) to avoid regressions that are hard to locate.
    • For long tasks, ask the model to output a structure that separates a “parameter section” from a “logic section” to improve readability.

    7. Enterprise Adoption and Cloud Practice

    Productizing this capability typically requires four general cloud capabilities: object storage to host static artifacts and assets, a container platform to run rendering and inference services, a message queue to smooth out batch generation tasks, and logging plus monitoring and alerting to ensure stability and cost visibility. Baidu AI Cloud offers corresponding capabilities in these general categories and can serve as a foundation for such applications.

    A three-step adoption path is recommended: first do offline batch generation with human review, then solidify high-frequency templates into a parameterized pipeline, and finally connect to business systems to form a “requirement — generation — review — publish” loop, keeping a human fallback to control compliance and brand risk.

    8. Limitations and Risks

    A few cautions remain: extreme physics scenarios may show numerical instability; consistency decays under very long contexts; and boundary conditions for complex interactions need manual testing. A reasonable expectation is to “hand 80% of repetitive work to the model and keep the 20% of key aesthetic and compliance judgment with people.” Overall, Chinese models have genuinely stepped up their game in 3D generation and generalized coding.