Benchmarking Chinese LLMs: 3D Generation and General Coding Capabilities
This article evaluates how leading Chinese large language models handle two demanding tasks: generating an interactive 3D HTML page and building a procedural volcano eruption simulation. It breaks down the evaluation into semantic understanding, spatial and physical consistency, visual quality, and engineering completeness, then presents a reusable methodology covering structured prompting, scene layering, parameter management, scoring criteria, production hardening, observability, and common failure fixes. Readers will learn how to turn vague intent into executable specs and validate generated output as a deliverable service.
1. Background: Why “Generate an Interactive 3D Page” Became a New Capability Benchmark
Chinese large language models have been relatively quiet in public discussion recently. What the industry truly expects is not another refresh of parameter leaderboards, but a reliable sense of usability in real tasks. As models move from “being able to chat” to “being able to build,” evaluation has shifted from text correctness to whether the output runs, how it looks, and how complete the interaction is.
A typical high-difficulty task is a single sentence: use all your design capability to output a standalone HTML page in 3D, with a pelican riding a bicycle as the main subject. This task is classic because it stress-tests four layers of capability at once:
- Semantic understanding: turning abstract words like “pelican,” “riding a bicycle,” and “3D” into computable geometry and motion.
- Spatial and physical intuition: whether the center of gravity, pedaling rhythm, turning lean, and sea surface motion make sense.
- Aesthetic control: whether lighting, color temperature, composition, and materials hold up under close inspection.
- Engineering completeness: single-file execution, no external assets, and interactions that do not break.
The conclusion first: based on recent model performance, this kind of task has moved from “it runs” to “worth looking at closely.” Overall, these models sit in the first tier domestically, and some details even outperform same-generation competitors. Below is the testing process abstracted into a repeatable methodology.
2. Translating “Imagination” into a Spec the Model Can Execute
A vague one-line prompt yields an average answer in a probabilistic sense. To reliably get high-quality output, you must first write the requirement as a spec.
2.1 Replace Natural-Language Wishes with Structured Prompts
Break the prompt into six slots: subject, scene, camera, lighting, interaction, and constraints. Example (illustrative description, not any proprietary interface):
Subject: a pelican in an anthropomorphic riding posture, layered feathers, slight elasticity in the beakScene: coastal highway at dusk, sea on the left, distant island and lighthouse, palm trees and wild grassCamera: 360-degree orbit, initial low-angle tracking shot, zoom allowedLighting: warm golden sunset key light + cool ambient fill, long shadowsInteraction: drag to rotate, scroll to zoom, spacebar to pause motionConstraints: single-file HTML, no external images or model assets, everything generated in code
The value of slots is regression: change one slot at a time and you can tell where the gain comes from.
2.2 Scene Breakdown: Build the “Skeleton” Before the “Skin”
High-quality 3D pages usually follow an outside-in build order:
- Environment layer: sky gradient, ground, road curvature, distant silhouettes.
- Subject layer: geometry assembly, skeleton or hierarchy binding, motion loops.
- Detail layer: vegetation, road signs, birds, the timing of a dolphin leaping out of the water.
- Atmosphere layer: fog, grain, tone mapping, subtle camera breathing.
If you start by polishing feather texture, you will often have to redo work repeatedly before the environment relationships are set, which is very costly.
2.3 Constraints Are Quality: Spell Out What Is Not Allowed
“No external assets; everything generated in code” is the key line that separates a demo from a production-grade output. It forces the model to express water, vegetation, and lighting procedurally instead of stitching together ready-made resources. In engineering terms, this aligns with offline delivery, copyright compliance, and controllable size.
3. The Second Recurring Test: Why a Procedural Volcano Eruption Is a “Comprehensive Checkup”
Asking a model to output a standalone HTML volcano eruption simulation based on general 3D rendering ideas looks simple, but it is a comprehensive capability checkup. Evaluation can be split into five dimensions:
- Physical plausibility: whether the eruption column rises, spreads, and falls with a sense of gravity and drag.
- Particle scale and performance: whether particle count, lifetime, and pooling stay within an acceptable frame rate.
- Lighting interaction: whether the lava’s self-illumination plausibly tints surrounding terrain and smoke.
- Camera and playability: whether orbit control is smooth and whether switching views loses context.
- Code quality: whether the structure is layered and parameters are centralized and tunable.
A reusable parameter table approach:
eruption: {columnHeight: 60, // eruption column heightparticleCount: 4000, // total particleslifetime: [2.0, 5.5], // lifetime rangewind: [0.2, -0.1], // wind influenceglowIntensity: 1.8, // lava self-illumination intensitysmokeOpacity: 0.35 // smoke opacity}
Centralizing tunable parameters makes it fast to iterate on the look and easier to add monitoring and automated regression later.
4. Evaluation Framework: Can “Beauty” Be Engineered?
Aesthetics are subjective, but they can be broken into discussable metrics. A four-layer scorecard is suggested:
- Runtime correctness (veto): no console errors, interactions do not break, refresh is reproducible.
- Spatial and physical consistency: clipping, floating, proportion errors, wrong motion rhythm.
- Visual completeness: composition, color relationships, material layering, distant treatment.
- Maintainability: file structure, parameter centralization, comments and naming.
In testing, the most underestimated item is number 2. The relationship between the sea surface and the sunset, the height at which seagulls circle, and the timing of the dolphin’s leap determine whether the scene feels like an animated film or a technical demo.
5. From Demo to Delivery: Four Gates for Production
5.1 Assets and Size
Single-file delivery requires geometry, materials, and animation to be fully procedural. If textures are unavoidable, use general object storage with caching and on-demand loading so the first screen is not dragged down by large assets.
5.2 Performance and Compatibility
Particles, shadows, and post-processing are the three main cost sources. Provide quality tiers (high/medium/low) with automatic downgrade on low-end devices, and add fallbacks for differences across GPUs and mobile.
5.3 Observability
Expose key metrics: frame rate, draw calls, active particle count, and load time. Connect to a general logging service and monitoring alerts so problems surface during gradual rollout instead of waiting for user complaints.
5.4 Security and Compliance
Validate external input to avoid injection, restrict resource domains to owned or trusted sources, and retain necessary review and traceability for generated content.
6. Validation and Scale on the Cloud: A General Product Combination Reference
Turning an impressive demo into an operable capability usually requires several general cloud products working together:
- Container platform: hosts inference and rendering services with elastic scaling for peaks.
- Object storage: stores assets, outputs, and version snapshots.
- Message queue: decouples task submission from result return and smooths burst traffic.
- Logging and monitoring alerts: locate slow requests and abnormal outputs.
- Content moderation: filter generated results for compliance.
Baidu AI Cloud offers mature combinations in these general categories, supporting the full path from prototype validation to scaled delivery without changing the model-side implementation.
7. Common Failure Modes and a Fix Checklist
- Plastic-looking visuals: missing ambient fill and tone mapping; fix lighting before materials.
- Stiff motion: only displacement, no rhythm; add easing and secondary motion.
- Empty distance: lacking silhouette layers; use fog and color to open up space.
- Broken interaction: event binding conflicts with camera control; unify the input layer.
- Non-reproducible refresh: random seed not fixed; fix the seed and record parameters.
8. Conclusion: Code Is Becoming a Universal Interface
When one natural-language sentence can produce a 3D world you can drag, zoom, and inspect closely, the role of code has changed: it is no longer just a tool for implementing business logic, but a universal interface connecting video, games, spatial computing, and physical simulation. For developers, the real capability upgrade is not whether the model can generate a script, but whether we have the methodology to engineer vague intent into a spec, validate the spec into an output, and operate the output as a service. Once this methodology is in place, the progress Chinese models bring can be counted as steady and lasting.
