Evaluating Spatial Reasoning in New Models: A Parametric 3D Generation Benchmark

    This article presents a practical benchmark for evaluating the spatial reasoning of newly released large models. Instead of judging visual quality, the test asks each model to generate a runnable script for an industrial 3D application in background mode from a single text prompt: a pelican riding a bicycle. The article explains the task design, the parametric constraints, the acceptance rule of changing only numeric constants and rerunning, the observed failure modes, and a reusable methodology for assessing natural-language-to-3D or natural-language-to-code capabilities.

    1. Evaluation Goal: From “Rendering an Image” to “Building a Model”

    Newly released large models often position spatial reasoning as a core selling point, claiming parity with leading models in 3D scene understanding. Such claims offer developers little direct value. The real question is whether a model can take a natural language description alone and output a 3D generation script with a complete structure, linked parameters, and automated acceptance checks.

    Traditional evaluations render with lightweight 3D libraries in a browser. This is visually intuitive, but it struggles with complex mechanical structures and transmission relationships, making it easy for a model to pass with stacked geometry that merely “looks right.” This practice therefore uses the headless scripting mode of an industrial 3D application (no GUI, scripts loaded and executed via the command line) as the test platform, with two comparison models generating in parallel for a side-by-side comparison.

    The core criteria are not visual appeal but three engineering standards:

    • Parameters genuinely drive geometry rather than sitting at the top of the file as decoration;
    • Spatial relationships between parts are self-consistent and pass parametric checks;
    • After changing constants and rerunning the script, the result remains correct.

    2. Task Design: A Pelican Riding a Bicycle

    The initial prompt asks for a script file that runs in background mode, describing a pelican riding a bicycle in text only, with no reference image. The scene is a seaside promenade at dusk, with a dark green steel-frame bicycle. The pelican leans forward, both wings extended to grip the handlebars, one webbed foot on a pedal and the other suspended at the lowest point of the return stroke. The frame is a classic diamond design, a canvas tool bag hangs from the down tube, and a fishing net is strapped to the rear rack.

    The key constraint is that the bicycle is not a static prop: the crank is driving the rear wheel, the chain is under tension, and the pelican’s riding posture must match the current phase of the transmission. Stylization is allowed, but the spatial relationships between parts must be verifiable through parameters.

    3. Parameters and Linkage: “Writing Code” vs. “Building a Model”

    The prompt requires global constants declared at the top of the script, with all geometry derived from those constants and no disconnected magic numbers inside functions:

    1. PELICAN_WINGSPAN = 1.15 # Wingspan (m); controls handlebar width and grip spacing
    2. BICYCLE_WHEELBASE = 1.02 # Wheelbase (m); drives frame geometry
    3. BICYCLE_CHAINRING_TEETH = 44 # Chainring teeth; drives chain length and gear ratio
    4. BICYCLE_COG_TEETH = 16 # Rear cog teeth
    5. BICYCLE_CRANK_PHASE = 35.0 # Crank phase angle (deg); drives pedal and foot contact

    The acceptance check does one thing: change only the numbers, without touching the code. Set the wingspan to 1.35, the chainring teeth to 52, and the crank phase to 140, then rerun the script. The reviewer checks whether the handlebars widen accordingly while the grips still enclose the wing tips, whether the chain path is correctly recomputed after the chainring grows (no clipping, no slack), and whether the feet follow the phase to the correct pedal positions.

    This acceptance rule is highly effective at separating “generating a script that runs” from “generating a truly parametric model.” The former is text completion; the latter requires the model to maintain an internal constraint propagation chain: wingspan → handlebar width → grip coordinates → wing tip position; tooth ratio → chain length → tensioned path → cog radius; phase angle → pedal coordinates → foot orientation → leg joint angles.

    4. Test Results and Failure Modes

    Differences among the three models concentrated on three types of problems.

    The first is pseudo-parametrics. Constants are fully declared, but geometry sizes are still determined by hardcoded values, so the scene barely changes after parameters are modified. This is the most typical case of looking right without being right.

    The second is broken constraints. After changing the tooth ratio, the chain length does not update, causing the chain to hang slack or clip into the frame; after changing the phase, the pedal moves while the foot stays in place, decoupling the riding posture from the transmission.

    The third is incorrect dependency order. In background mode, the script errors because objects are referenced before creation, modifiers are not applied, or the dependency graph is not updated. Such problems are often masked by automatic refreshes in a GUI but surface immediately in headless execution.

    Better-performing solutions typically share three traits: they first build a pure-function layer from parameters to derived values, then construct geometry uniformly; they use vector math rather than forcing postures with Euler angles; and they include assertions at the end of the script that output key part distances and contact point errors for automated judgment.

    5. A Reusable Evaluation Methodology

    Abstracting these lessons yields an evaluation framework applicable to any “natural language to 3D / to code” capability:

    1. Choose a scriptable, headless-executable platform to avoid visualization masking errors;
    2. Design scenes with transmission or assembly relationships so spatial relationships can be checked numerically;
    3. Enforce external parameters and use “change only the numbers and rerun” as the sole acceptance action;
    4. Require deliverables to include self-check output, turning subjective impressions into objective metrics;
    5. Generate in parallel with multiple models using the same prompt, and classify by failure mode rather than ranking by score.

    For enterprises, this method transfers directly to capability selection for AI coding tools: what matters is not the finished result in a demo video, but the stability of generated output under parameter changes, environment switches, and automated pipelines. To adopt it within a team, you can unify the execution environment with a container platform, archive each generated script and render result in object storage, and track failure rate changes through logging and monitoring alerts, turning a one-off model evaluation into a sustainable regression engineering asset.

    6. Conclusion

    The true level of spatial reasoning can only be measured when parameters can be tampered with externally and results must still be self-consistent. Using parametric 3D generation as the yardstick, the differences between models are no longer about image quality but about whether they truly understand constraints, dependencies, and phase. For developers, writing acceptance criteria into the prompt improves generation quality more than using longer descriptive text.