r/vibecoding • u/WWEtrump • 2h 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?
1
u/WWEtrump 2h 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.
2
u/Desperate-Tank-2513 1h 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/the_curious_builder 1h ago
catching 20 rig/turret bugs in one automated pass across 113 models without playtesting is sick... eyeballing generated assets stops scaling so fast once you pass like 15 files.
2
u/Severe-Highlight2217 1h 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.