Evaluating Spatial Reasoning in Large Models Through Parametric 3D Modeling
This article examines how to evaluate the spatial reasoning of large models through parametric 3D modeling rather than by judging a single rendered image. It distinguishes visual presentation from structural correctness, decomposes a text-to-3D task into scene, geometry, parameter-linkage, and runtime constraints, and shows why requirement conflicts must be identified before generation. It then discusses unified coordinate systems, parameter dependency graphs, chain modeling, target-driven contact constraints, and automated acceptance across runtime, structure, parameter perturbation, and multiple views or frames. The goal is to explain how generated 3D scenes can move from one-off visuals toward reproducible, verifiable engineering assets.
1. Spatial Reasoning Cannot Be Judged by the Final Image Alone
The fact that a large model can generate a 3D scene script from text does not mean it has correctly understood the spatial relationships in the scene. A bicycle model may look visually complete while having misaligned wheel axes, a chain passing through the frame, or feet hovering above the pedals. When judging from a single rendered image, these defects are easily hidden by camera angle, shadows, or decorative details.
Therefore, when discussing the capabilities of large models in 3D generation, visual presentation and structural correctness need to be evaluated separately.
Visual presentation mainly concerns composition, color, materials, and narrative expression. Structural correctness concerns part connections, scale constraints, contact relationships, and motion linkage. The former determines whether a scene looks good; the latter determines whether a model has engineering value—whether it can be modified, verified, and reused.
The original “pelican riding a bicycle” task is a representative composite scene: it contains organic forms, mechanical structures, character pose, and a transmission system at the same time. What is really worth studying is not whether a model can produce a beautiful image in one attempt, but whether the generation process establishes a self-consistent parametric structure.
2. Break the Text Task into Four Constraint Types
Handing an entire description directly to a generation system often produces rich details with confused relationships. A more reliable approach is to decompose the requirement into four types of constraints.
2.1 Scene and Semantic Constraints
The scene should express a coastal promenade, dusk lighting, a dark green bicycle, a pelican in motion, and auxiliary elements such as a tool bag and fishing net.
These descriptions mainly answer “what is in the image” and “what is happening.” Stylized expression is allowed, but key semantics must be recognizable. For example, the tool bag should be attached near the frame rather than floating randomly in the image; the fishing net should have a clear fixed relationship with the rear rack.
This layer is suitable for object-list checks, but it cannot replace geometric acceptance.
2.2 Geometric and Connection Constraints
The bicycle needs a recognizable diamond frame, front and rear wheels with a consistent coordinate convention, and reasonable positional relationships among the handlebars, fork, cranks, and rear wheel.
The pelican needs a forward-leaning body, wings close to the grips, and feet forming the expected contact with the pedals. Here it is not enough to check whether objects exist; their relative positions and orientations must also be checked.
For example, “wing tips contact the grips” contains at least two conditions: the distance between the wing tips and the grips must be small enough, and the wing-tip orientation must be generally consistent with the local direction of the grips. If the distance is correct but the orientation is opposite, the pose can still be clearly unreasonable.
2.3 Parameter-Linkage Constraints
Wingspan, wheelbase, chainring tooth count, rear cog tooth count, and crank phase should not be decorative variables at the top of a script.
They must actually participate in geometric computation:
- Wingspan affects handlebar width and wing-tip target positions.
- Wheelbase affects wheel-center positions and frame layout.
- Tooth counts affect the pitch-circle dimensions of gears and the transmission ratio.
- Crank phase affects pedal positions and foot targets.
- Geometric changes in the transmission system affect the chain path.
Only when the scene still holds after parameter changes can we say that the generation system has built dependency relationships rather than merely writing out a fixed shape.
2.4 Runtime and Delivery Constraints
The script should be able to complete object creation, scene saving, and result output in a 3D runtime environment without a graphical interface, and provide clear feedback for missing resources, invalid parameters, and geometric failures.
“It can execute” is only the minimum requirement. A complete delivery should also include parameter descriptions, coordinate conventions, output file locations, and a verification report so that other developers can reproduce the results.
3. Identify Requirement Conflicts Before Discussing Generation Capability
Complex prompts are not necessarily self-consistent. A professional generation system should be able to identify conflicts among constraints rather than mechanically following each sentence.
Take the pedals as an example. On a conventional bicycle, the left and right cranks are half a revolution apart. Let the crank center be C, the crank length be r, and the phase angle be θ. In the side-view plane of the bicycle, the positions of the two pedals can be expressed as:
P₁ = C + r(cos θ, sin θ)
P₂ = C + r(cos(θ + π), sin(θ + π))
This means that the positions of both pedals are determined by the same phase and cannot be adjusted independently at will.
If the requirement says that after changing the crank phase, the other foot should always be at the “lowest point of the return stroke,” the meaning needs further clarification: should the foot be near the current return-stroke pedal, or should it always be fixed at the geometric lowest position?
The former can be linked to the crank phase; the latter generally cannot hold simultaneously with a two-pedal structure at arbitrary phases. If the foot is allowed to leave the pedal, an independent lifting motion can be designed, but the motion trajectory still needs to be defined instead of treating the “lowest point” as a permanently valid position.
Likewise, a single-frame scene can show only one transmission phase and cannot by itself prove that the crank is driving the rear wheel. To verify “riding,” time variables, motion relationships, or multi-frame checks should be added.
Identifying these issues is itself an important part of spatial reasoning capability.
4. Establish a Unified Coordinate System and Parameter Dependency Graph
4.1 Fix Coordinate Conventions First
One can define:
- The horizontal direction is the bicycle’s forward direction.
- The lateral direction is the bicycle’s left-right direction.
- The vertical direction is height.
- Ground height is zero.
- Wheel axes are arranged along the lateral direction.
Wheel-center positions, crank center, saddle position, handlebar position, and character joints should all use the same coordinate convention.
The value of a unified coordinate system is not only convenience for modeling; it also keeps acceptance calculations consistent. For example, whether tires touch the ground, whether the chain is coplanar, and whether the left and right pedals are distributed on opposite sides of the frame can all be converted into explicit geometric conditions.
4.2 Replace Scattered Constants with a Dependency Graph
A reasonable dependency relationship can be written as:
Wingspan → handlebar width → grip position → wing-tip target → wing pose
Crank phase → pedal position → foot target → leg pose
Chainring tooth count → chainring pitch circle → chain tangents and wrap angles → chain geometry
It should be noted that “all geometry is derived from five parameters” is not realistic. Wheel diameter, crank length, frame tube diameter, chain pitch, and character body proportions also need to be defined.
A more rigorous approach is to divide parameters into three layers: user-adjustable primary parameters, centrally declared auxiliary parameters, and derived parameters calculated by formulas. The problem is not whether any numbers appear in the script, but whether those numbers have clear meanings and whether they bypass the linkage relationships they should follow.
5. Chain Modeling Is a Key Test of Geometric Reasoning
5.1 Tooth Count and Size Cannot Be Mapped Arbitrarily
For an idealized chain drive, let the chain pitch be p and the tooth count be N. The pitch-circle radius can be written as:
R = p / [2 sin(π / N)]
This relationship describes the ideal pitch circle on which chain-link connection points lie; it is not equivalent to the tooth-tip profile. For precise meshing, tooth shape, chain-link thickness, and local clearance also need to be considered.
For a proof of concept, pitch circles and a continuous chain envelope can be used first, but it should be made clear that this is a geometric simplification and cannot be used to claim that real mechanical design has been completed.
5.2 The Chain Path Is Not a Line Between Two Centers
A simplified chain path consists of two straight segments and two wrap arcs. The straight segments should be tangent to the front and rear pitch circles respectively, rather than connecting one gear center directly to another.
When the chainring tooth count increases, the tangent points and wrap angles need to be solved again. If only the chainring is enlarged while the original chain path is kept unchanged, the chain may pass through the chainring or leave the intended contact region.
The generation system should also check geometric feasibility: whether the center distance satisfies the condition for tangents to exist, whether the gears overlap unreasonably, and whether the chain intersects the frame or wheels.
5.3 A Correct Path Does Not Guarantee a Reasonable Chain Length
A real chain consists of discrete links, and its length cannot change arbitrarily in a continuous way. With a fixed wheelbase, installing a larger chainring may require adjusting the number of links or using a tensioning mechanism.
Therefore, parameter-change tests should explicitly state which assumption is used:
- Use a continuous path and verify only the visual envelope.
- Use discrete links and adjust the link count according to the path.
- Keep the link count fixed and adjust tension through an allowed mechanism.
Without these conventions, “the chain looks attached” should not be described as complete transmission correctness.
6. Contact Constraints Should Be Driven by Target Positions
Character pose is often a weak point in 3D generation. A common approach is to pose the wings and feet first, then move the handlebars and pedals to match them, but this approach usually cannot survive parameter changes.
A more robust workflow is the opposite: compute the mechanical system first, then let the character contact points follow the targets.
When handlebar width changes, grip positions update first, and then wing-tip targets change. When crank phase changes, pedal positions update first, and then the target points for the contacting feet update. Finally, the character pose is generated through joint-chain solving or explicit geometric construction.
Reachability checks also need to be added. For example, the distance from the wing root to the grip must not exceed the reachable range of the defined wing structure. If a target is unreachable, the system should report a constraint failure rather than stretching the wing indefinitely or causing a joint to flip suddenly.
For “feet on pedals,” acceptance should not compare only the centers of two objects. A more reasonable approach is to define a foot-sole contact point and a pedal contact surface, then check positional error, normal relationship, and penetration depth.
7. Replace One-Off Screenshots with Automated Acceptance
Reliable evaluation should cover four levels: runtime, structure, parameters, and visuals.
7.1 Runtime Acceptance
Check whether the script completes execution, whether output files are generated, and whether exceptions appear in the log. Successful execution cannot be counted directly as successful spatial reasoning, but runtime failure usually means delivery is not complete.
7.2 Structural Acceptance
Check whether key objects exist, whether wheel-center spacing satisfies the wheelbase setting, whether left and right crank phases maintain the half-revolution relationship, whether frame connection points are aligned, and whether the chain lies in a reasonable transmission plane.
7.3 Parameter-Perturbation Acceptance
Change wingspan, chainring tooth count, and crank phase separately, then apply combined modifications. Single-parameter tests make problems easier to locate; combined tests are more likely to expose omissions in dependency relationships.
Tolerances should be set according to scene scale rather than using the same absolute distance everywhere. Character contact can use distance tolerances related to part size, while mechanical connections should use stricter criteria.
7.4 Multi-View and Multi-Frame Acceptance
The side view is suitable for checking the frame and transmission system, the top view for checking handlebar width and left-right symmetry, and the front view for checking contact positions and lateral offset.
If the task includes motion, multiple phases should also be sampled to check for clipping, lost contact, or pose jumps. One successful phase cannot prove that the entire motion cycle holds.
All results should be saved together with parameters, runtime configuration, and script version for reproduction and troubleshooting.
8. How to Interpret the Final Result
A successful generation proves at most that the system completed this task under the current conditions; it does not directly imply generally superior spatial reasoning capability. A failure also needs its cause distinguished: it may be a script syntax issue, a runtime environment mismatch, a geometric algorithm error, or a conflict in the prompt itself.
The following should be recorded separately:
- Whether the first run succeeded.
- Whether the basic structure is correct.
- Whether parameter changes maintain linkage.
- Whether contact and collision constraints are satisfied.
- The number and scope of manual corrections.
- Whether visual expression meets the scene requirements.
These indicators should not be replaced by an overall impression that “the result looks good.” High visual quality with structural failure and rigorous structure with plain materials are two different capability profiles.
9. Conclusion: The Real Highlight Is Verifiable Linkage
From text to 3D scenes, the core challenge is not to draw every object, but to convert relationships in language into computable constraints.
For developers and enterprise users, the most relevant capabilities include identifying inconsistent requirements, building parameter dependencies, correctly handling geometry and transmission relationships, maintaining character contact, and delivering outputs that can be executed repeatedly and checked automatically.
Only when handlebars, chains, pedals, and character poses remain reasonably connected after parameter changes does a generated result move from one-off presentation material toward a maintainable engineering asset. This is also a more meaningful standard for evaluating spatial reasoning and programmatic generation capabilities of large models than a single rendered image.
