Multimodal Model Evaluation: Code Generation and Visual Aesthetics in Graphics Tasks

    This article presents a structured, reproducible approach to evaluating multimodal large models on code generation and visual aesthetics. Using three progressively harder graphics tasks—interactive vector animation, pure-code path-traced rendering, and aesthetic/realism assessment—it examines where current models succeed and where they fall short. It then attributes the gaps across syntax, semantics, and aesthetics, and offers practical guidance for building layered evaluation baselines, analyzing technical-route choices, and designing AI-assisted development workflows.

    1. Background: When Flagship Model Releases Cluster, Evaluation Matters More Than Launch

    The large-model market has recently entered a dense release period, with multiple vendors launching flagship versions within roughly the same window. Parameter counts, benchmark leaderboards, and demo videos arrive in quick succession. For frontline developers, however, the decision to adopt a model has never depended on highlight clips from a launch event. It depends on stable performance on reproducible tasks.

    This article is not a product recommendation. It narrows the lens to a general technical question: how can the “code generation capability” and “visual aesthetics capability” of multimodal large models be evaluated in a structured way? Using a set of reproducible test cases, we cover typical scenarios such as animation generation, pure-code graphic rendering, and physical-realism expression, and analyze the capability boundaries and weaknesses of the current generation of models.

    Note that the subject here is the common behavior of “a class of frontier multimodal models,” not any specific commercial product. The evaluation environment uniformly uses the “very high” reasoning setting of an AI coding tool to keep generation quality near the model’s capability ceiling.

    2. Evaluation Methodology: Why These Three Use Cases

    A common mistake is to equate “can run a demo” with “strong capability.” In practice, differences in generated content quality tend to become most visible on tasks with stronger constraints and more evaluation dimensions. Our use cases follow three principles:

    1. Reproducibility: Fixed prompts and fixed runtime environments; anyone re-running the task should obtain comparable results.
    2. Multi-dimensional evaluability: Not only “can it generate,” but also structural correctness, interactivity, and visual plausibility.
    3. Graded difficulty: Move from basic tasks that “most models can get right” to high-difficulty tasks that “only a few models can get right with precision.”

    On this basis, we selected three progressively graded scenarios.

    2.1 Basic Tier: Interactive Vector Animation Generation

    The first use case is the classic “animal riding a bicycle” animation task. It has long served as a touchstone because it simultaneously tests spatial relationship understanding (relative position of animal and vehicle), motion logic modeling (wheel rotation, limb coordination), and engineering implementation (outputting vector graphics code that runs directly).

    Example prompt:

    1. Generate an animatable SVG depicting a pelican riding a bicycle along the seaside.
    2. It must include wheel rotation and a scarf fluttering effect, and provide controls
    3. for play/pause, speed adjustment, and day/night switching.

    A qualified output should have the following characteristics:

    • Self-contained: The exported SVG file can still play the animation normally when disconnected from the network.
    • Interactive: Parameters such as speed and day/night are controlled by built-in scripts, not stitched static screenshots.
    • Physically approximate: Wheel rotation speed is consistent with displacement direction, and the scarf flutters opposite to the direction of travel.

    From the observed results, the current generation of models can already achieve “complete structure and usable interaction” on this type of task—for example, generating a character with a hat, an adjustable pedaling animation, and day/night theme switching. This suggests that basic code generation and event-binding capabilities have matured and are no longer the main battleground for distinguishing model quality.

    However, the ceiling of this type of task is actually low: as long as the template level is high enough, a model can “pass” by imitating common code structures. It therefore serves only as a pass line, not as proof of the capability ceiling.

    2.2 Advanced Tier: Pure-Code Path-Traced Rendering

    The second use case is significantly harder: generate a static image with realistic lighting effects using code alone, without any image assets. This is a comprehensive test of “code capability + graphics understanding + aesthetic judgment.”

    Example prompt:

    1. Use any code technique you have mastered to draw a scene of interwoven light and shadow,
    2. expressing the quiet atmosphere of a room in the afternoon, and pursue extreme realism
    3. in lighting and shadow.

    We observed two distinctly different technical routes:

    Route A: Path-traced rendering. Some implementations write a complete path tracer in a low-level language, using Monte Carlo sampling to simulate multiple light bounces in the scene. A single frame can take hours to render. The advantage is physical correctness of light transport—soft shadow edges cast by window frames, continuous light-to-dark transitions, and indirect light naturally permeating dark indoor areas, with an overall look close to real photography.

    Route B: Real-time graphics API rendering. Another class of implementations chooses real-time rendering approaches such as WebGL, constructing room geometry, placing light sources, and writing shaders. The advantage is a shorter development path and stronger interactivity, but the cost is a simplified lighting model, which readily produces hard-edged shadows, plastic-looking materials, and scene elements that look like “a set that was just assembled.”

    The difference is not fundamentally about “who tried harder”; rather, technical route choice determines the quality ceiling. Path tracing is an order of magnitude more complex in code and places extremely high demands on a model’s code organization, mathematical derivation, and debugging consistency. Real-time rendering is lighter engineering-wise, but achieving photo-level realism under pure-code conditions is nearly impossible.

    For a more intuitive comparison, the following pseudocode summarizes the core loop logic of path tracing, which is also the key structure the model needs to generate correctly:

    1. def trace_ray(origin, direction, depth):
    2. if depth > MAX_DEPTH:
    3. return ambient_color
    4. hit = scene_intersect(origin, direction)
    5. if not hit:
    6. return background_color
    7. # Choose diffuse/specular branch according to material probability
    8. new_dir = sample_brdf(hit.material, hit.normal, direction)
    9. throughput = eval_brdf(hit.material, direction, new_dir)
    10. return hit.emission + throughput * trace_ray(
    11. hit.point, new_dir, depth + 1
    12. )

    Whether a model can correctly write sampling weights, energy-conservation terms, and recursion termination conditions directly determines whether the rendering result “looks like a photograph.” From the observed results, the current generation of models basically passes on code structure correctness, but there is still a clear gap in naturalness of lighting details—the transition from bright window areas to dark interior areas is rather abrupt, shadow boundaries at wall corners are too sharp, and materials such as potted plants and floors lack layering.

    2.3 High-Difficulty Tier: The Gap Between Aesthetics and Realism

    The third dimension is the hardest to quantify: aesthetics. For the same “afternoon room” theme, different models produce images that differ greatly in composition, color tone, and spatial depth.

    We summarize several operational observation indicators:

    • Lighting continuity: Whether there are abrupt changes from bright to dark areas, and whether there is reasonable indirect-light fill.
    • Material credibility: Whether wood has texture layering, fabric has roughness variation, and metal has directional highlights.
    • Composition plausibility: Whether the perspective of window-frame shadows is consistent with the camera view, and whether object occlusion relationships are correct.
    • Atmosphere consistency: Whether the overall color temperature is unified, and whether the emotional tone of “a quiet afternoon” is conveyed.

    From the observed results, some models still show an obvious “assembled” quality even when the code is correct—each object looks fine on its own, but when combined they lose the breathing quality of a real scene. This exposes a key issue: code capability and aesthetic capability do not improve in sync. A model can write geometrically correct rendering code without necessarily understanding “what kind of lighting looks beautiful.”

    This is also a major gap between current multimodal models and the true frontier. Top-tier pure-code rendering works require a model to possess graphics knowledge, physical intuition, and artistic judgment at the same time; none of the three can be missing.

    3. Technical Attribution of Capability Gaps

    Abstracting the above phenomena, we can summarize them into a three-layer capability model:

    Capability layer Specific manifestation Current maturity
    Syntax layer Code runs, API calls are correct, no syntax errors Relatively high
    Semantic layer Spatial relationships are correct, physical logic is self-consistent, interactive behavior is reasonable Medium
    Aesthetic layer Lighting is natural, materials are realistic, composition is coordinated, atmosphere is unified Relatively low

    Syntax-layer problems have basically been solved. The semantic layer performs well on simple tasks and begins to fail on complex tasks. The aesthetic layer is a widespread weakness. The reason for this layered gap can be understood from the distribution of training data: code corpora are highly structured and have clear correctness signals, making them easy for models to master through supervised learning. “Aesthetics,” by contrast, lacks unified annotation standards and depends heavily on implicit understanding of real-world lighting rules; this kind of knowledge is difficult to fully acquire from pure text or code.

    Another notable phenomenon is conservatism in technical-route selection. In pure-code rendering tasks, some models tend to choose lower-cost real-time rendering rather than path tracing. This may not be “not knowing how to write it”; it is more likely that the model makes an implicit trade-off between “generation success rate” and “output quality.” Path-tracing code is longer, more error-prone, and more costly to debug, so the model tends to avoid high-risk paths. This suggests that evaluation should not only look at “whether there is output,” but also at “which technical route the output took.”

    4. Engineering Practice Recommendations: How to Use Evaluation Conclusions

    For teams selecting models or building AI-assisted R&D workflows, the following recommendations have general reference value.

    4.1 Build a Layered Evaluation Baseline

    Do not judge model capability with a single demo. It is advisable to design use cases separately across three layers: “syntax correctness rate → semantic reasonableness rate → aesthetic compliance rate,” with clear pass criteria for each layer. For example, the syntax layer can be automatically verified with unit tests; the semantic layer can use rule checks (such as whether wheel rotation speed is consistent with displacement direction); the aesthetic layer can introduce human scoring or pairwise comparison.

    4.2 Track “Technical Route Distribution,” Not Just Best-Case Output

    Counting the distribution of approaches a model chooses on similar tasks is more informative than looking only at its best output. If a model chooses a lightweight approach in 8 out of 10 rendering tasks and attempts a high-quality route only twice, its quality ceiling is limited by strategic conservatism, not purely by insufficient capability. This has implications for prompt design and post-processing workflows.

    4.3 Turn Aesthetic Weaknesses into Process Patches

    Since the aesthetic layer is a widespread weakness, do not expect a single generation to produce a finished product. Practical approaches include:

    • Multiple sampling + human selection: Generate multiple candidates from the same prompt and have a human select the version with the most natural lighting.
    • Staged generation: First settle composition and lighting, then refine materials and details, reducing the complexity of any single task.
    • Introduce reference constraints: Specify parameters such as color temperature, light direction, and material type in the prompt to reduce the model’s room for free interpretation.

    4.4 Evaluate Deployment Cost, Not Just Output Quality

    Pure-code path tracing may produce good results, but rendering takes a long time and debugging is costly. Real-time rendering may offer average quality, but it enables fast iteration and interactivity. Selection should match the business scenario: for one-off image generation, you can pursue the quality ceiling; for interactive applications, real-time approaches are more cost-effective. Model capability is only one variable; engineering constraints also determine the final solution.

    5. Conclusion

    Returning to the initial question: where exactly does the current generation of multimodal models stand on code and graphics tasks?

    The conclusion can be summarized in three sentences: basic code generation has passed; the code structure for complex rendering is largely correct; but aesthetics and realism remain clear weaknesses. On high-difficulty tasks such as pure-code rendering of realistic scenes, there is still a visible gap from the true frontier, and catching up will take time.

    For developers, the more valuable takeaway is not remembering whether a particular model “works” or not, but mastering a reproducible, layered, multi-dimensional evaluation method—mapping the model’s capability boundaries clearly and then designing R&D workflows accordingly. Models will keep iterating, but evaluation methodology is a long-term asset.

    One final reminder: any evaluation has sample bias. The conclusions here are based on observations from a limited set of use cases. Readers should build their own evaluation sets for their business scenarios and let data speak rather than relying on the impression from a single demo.