Blog · · 4 min to read

A fix that measured right

We let model-maker paint hidden faces from more directions. The numbers said it helped, the eye saw no change, and on new prompts it made things worse through another check.

In the last post we looked at the very first step, the picture. This one is about the last step: paint.

Faces no view sees

model-maker paints each object from six directions: front, back, both sides, above and below. The views are painted by an AI, the view painter (MV-Adapter on SDXL). Some faces of an object are not seen squarely from any of them. Think of the inside of a church pew's end panels: from the front you see them edge-on, from the side the other panel is in the way. Those faces get their colour by spreading it in from the paint around them, and that can leave smears.

The pew's texture laid flat: green where a view painted it, red where colour was spread in, grey where it is hidden
The pew's texture laid flat. Green: painted by a view. Red: colour spread in from around it. Grey: hidden. The red and grey are the inner faces of its two end panels.

What the numbers said

We went through the objects our blind judging had marked wrong for their paint. On the objects with smears, a smaller share of the surface had been painted by a view: 53 to 75 %, against 80 to 100 % for almost every object judged right.

model-maker already adds up to four extra views to paint what the six missed. But it only looked from above at a slant, because the first case it was built for was the inside of a candle holder's bowl. The pew's inner faces are seen level, and the undersides of a bunk bed's rails from below. So we let the extra views look from below and level as well. On the stored objects, the share of unpainted faces the extra views could reach went up a lot: for a bookcase, from 12 to 70 %.

What the eye said

We repainted 45 objects on both graphics cards, each from its stored picture and shape, so only the paint could differ. One object whose views did not change was repainted too, as a control: it came out byte for byte the same. Then we judged old and new side by side, shuffled under random codes, before looking at which was which.

No verdict changed: 25 right and 20 wrong before, and the same after. The pew still had its pale holes.

The church pew from eight sides before and after the fix, with the same pale holes on its end panels
Before and after: the pale holes on the pew's ends are the same, because a view painted them there.

The smears we had judged wrong were mostly not on unpainted faces. They were painted there by the six views themselves: the pew's pale holes, or a butter dish's underside, where the view from below invented dark holes and a raised block.

The paint model's view of a butter dish from below, with dark holes and a block that are not in the picture
The view from below of a butter dish: the dark holes and the block were invented by the view painter (MV-Adapter on SDXL), not in the picture it was given.

The number we measured found the unpainted faces correctly. It just was not the fault people see.

Then it changed something after all

A day later we measured the whole next version on 50 new prompts, written and sealed before the work began, against the version people use today. Same prompts, same seeds, same graphics cards, all judged blind. The new version made fewer right objects that pass every check, not more: 3 to 4 fewer on one card, 1 fewer on the other (out of about 20).

The cause was this fix. With the extra views, more of each object's surface is painted in afterwards, and a different check, "fill matches the paint round it", looks at every patch painted in that way. More patches meant more refusals, and some of the refused objects were perfectly good: a copper jug, a leather saddlebag, a cuckoo clock, steel helmets. Measured alone, the fix changed nothing you could see. Measured together with the rest, it made things worse. So that version was not released.

What we take from it

Words used in this post