Existing garments · 11 · mockups
Mockups of a blank
You have a presented blank. Presentation views: on-avatar, ghost, flat, on-model.
You have
a presented blank
You want
Presentation views: on-avatar, ghost, flat, on-model
You have a presented existing garment. You want pictures of it: on the avatar, ghost mannequin, lay-flat, or on a person.
Drape once. Artwork is a stamp. Mockups are cheap after that — a new design does not pay physics again. Review print fidelity against the supplied artwork. A generated identity or a real photograph may wrap the scene; print fidelity must be checked against the supplied artwork.
Steps
body.select→bodygarment.drape→blankgarment.finish→finishedcolorway.apply→navygraphic.apply→presentedmockup.render→on_avatarmockup.render→ghostmockup.render→flatmockup.render→generatedmockup.render→photo
Sample inputs
| Key | Value |
|---|---|
product_id | aop-hoodie |
body | samples/bodies/male_m_native_straight.json |
material_id | fleece_250gsm |
artwork | samples/artwork/aop_hood/map.json |
photo_uri | samples/models/person.png |
Expected fixture checks
These are the checks declared by this sample, not a captured production result. Referenced sample files are included in the gated SDK checkout.
{
"on_avatar.kind": "on_avatar",
"ghost.kind": "ghost",
"flat.kind": "flat",
"generated.model": "generated",
"photo.model": "photo",
"ghost.print_locked": true,
"generated.print_locked": true
}Run
Obtain and install the SDK before running this example from its root directory.
python examples/run_workflow.py mockups