r/vibecoding • u/WWEtrump • 1d ago
Workflow/Prompt 113 brick models, all python scripts. how i check them: the ai lines my build up against the reference photo, i do the deciding
solo dev, toy brick rts in ue5. i can't 3d model, so every unit is a python script that places bricks in blender. by september there were 113 of them. checking them by eye stopped working fast.
so two scripts:
the reference board. blender renders my model from the same angle as the reference photo, then lays them side by side and 50% overlapped. a tiny solver tries camera angles and keeps the one where the silhouettes match best. whatever still doesn't line up is what's wrong: the piece, where it sits, or its size.
the rig audit. a model isn't just a shape. the game needs to know where the turret turns, where the muzzle is, how far the treads go. that data gets written by the same script that builds the mesh, so it can quietly disagree with it. one audit pass over all 113 models found 20 problems: 12 treads, 2 wheels, 4 turrets, 2 muzzles. as numbers, not vibes.
the split that works: claude does the boring comparing and writes down what it sees. i only see a board after it passes claude's own look, and i give the verdict. rule we keep: never iterate a model past what i already judged.
tip if you vibe code anything 3d: ask for a script, never "a model", and make it print sizes in real units so a scale mistake is a number, not a feeling.
how do you check ai output you can't eyeball line by line?
2
u/Severe-Highlight2217 1d ago
The rig audit is the part most people skip, and it's the one that pays. Two things I'd add from the same problem in a browser 3D build.
Shape and behaviour need separate references. A still photo only covers shape. For behaviour I do the cheap version of your board: same fixed camera, same model, rendered at fixed time steps (every 250 ms for two seconds of turret rotation and treads rolling), compared frame by frame against the last accepted set. A mesh can pass the reference board and still have the turret pivoting a brick or two off its ring, and that only shows up in motion.
The audit checks that caught the most were relational, not absolute. Not "muzzle is at X" but "muzzle sits on the barrel axis within N mm, and its forward vector matches the barrel's". Absolute numbers can pass while the relationship quietly drifts, which is exactly how the rig data disagrees with the mesh.
One question on the solver: how do you deal with reference photos being perspective while the render is presumably near-orthographic? That mismatch alone wrecks a silhouette score, and it's the thing I'd expect to fail quietly across 113 models.
1
u/WWEtrump 1d ago
full write up with the actual commands is step 5 of my dev log: https://brickandmortargame.com/blog/model-review-loop/
the rig audit was the real win. 20 bugs in one pass, zero playtests needed.
1
u/Desperate-Tank-2513 1d ago
Love the rule of never letting the AI re-iterate past a state you already signed off on—that regression creep is what kills most solo projects. Treating structural invariants as hard numbers instead of eyeballing diffs is really the only way to scale past a few dozen generated files.
1
u/Ancient_Reference390 1d ago
the trick that usually works best is having one prompt generate the asset or code, and a completely separate context window write a validator script based only on the original spec. if they both agree, then it goes to human review
1
u/renattoman 1d ago
id keep those 20 audit hits as test cases and rerun the whole audit whenever a helper script changes, so a tread fix cant quietly break the other 112. also curious how often claude passes a board that you end up rejecting
0
u/[deleted] 1d ago
[removed] — view removed comment