Output Asset Type Specification
The PICTOFiT Content Service creates different types of assets to be used with our SDK. Once the system has generated the assets you can access and transfer them to your servers for hosting. This page gives an overview and describes the specifics of each one.
Garment 2D
File Extension: .garment
Content Service Type: GARMENT_2D
Garment 2D assets are created from ghost mannequin shots and can be used for virtual try-on as well as size recommendation & visualisation in 2D. This limits the viewing angle to front an back. The web and mobile SDK use the same result type in this case which is named MOBILE
.
For more details on the input/output specifications please have a look here Garment From Mannequin Images.
Garment 3D
File Extension: .gm3d
Content Service Type: GARMENT_3D
Garment 3D assets are created either by scanning physical products using the PICTOFiT Capture Kit or from existing CAD models. The result type depends on the target platform.
For more details on the input/output specifications please have a look here Garment From 3D Scan.
iOS/Android
Result type: MOBILE
This result contains a single garment.gm3d
file which contains all the visual and semantic information required.
Web
Result type: WEB
For web, the asset is split up into its distinct parts to enable efficient resource loading by the compute server and browser. A web result package contains the following files
mesh.obj
Geometry of the garment as OBJ file
asset.glb
Geometry, texture and material parameters of the model as GLB file
diffuse.jpg
Diffuse texture as JPG file
opacity.jpg
(optional)Alpha texture as JPG file
garment.min.gm3d
Minified version of our proprietary garment 3D file format containing semantic information
rendering.jpg
A frontal rendering of the product as reference
material.json
Material configuration in JSON format
config.json
Scene configuration that can be used to display the product standalone with the Web SDK
Avatar 2D
File Extension: .avatar
Content Service Type: AVATAR_2D
Avatar 2D files contain the visual and semantic information for virtual try-on and size recommendation in 2D. The web and mobile SDK use the same result type in this case which is named MOBILE
.
Avatar 3D
File Extension: .av3d
Content Service Type: AVATAR_3D
iOS/Android
Result type: MOBILE
This result contains a single avatar.av3d
file which contains all the visual and semantic information required.
Web
Result type: WEB
For web, the asset is split up into its distinct parts to enable efficient resource loading by the compute server and browser. A web result package consists of the following files.
mesh.obj
Geometry of the avatar as OBJ file
bodymodelstate.bm3dstate
Proprietary representation of the avatars body shape and pose
material.json
Material configuration in JSON format
diffusse.jpg
,specular.jpg
, … (optional)Optionally, different textures for the avatars appearance