# Interchangeable artworks

Grip enables use to have multiple artworks per products and freely switch between them.

To enable this feature for your Digital Twin, several requirements must be satisfied. These are discussed in this
section.

## UV set up

Interchangeable label artworks works with a single texture
All meshes that show parts of the artwork need to have UVs set up that they share

#### Example uv sets

The image below shows the two uv sets from a bottle artwork mesh (long stripe in the middle) and the cap mesh (circle at
the top) displayed together.

![UV Setup](images/uv.png)

## Texture format

The artwork texture is composed out of 4 quadrants.
Each pixel from the diffuse quadrant has a matching pixel in any of the other quadrants, when the artwork texture is
loaded in the artwork material in 3Ds Max the texture is cut in 4 and each quadrant will control different material
properties.

![Artwork Texture](images/awprocessing_artworktexture-texture.png)

| Diffuse / albedo                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|--------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| <img src="images/awprocessing_artworktexture-diffuse.png" alt="Description" style="min-width: 400px;max-width: 400px">   | The diffuse quadrant controls the color for each pixel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| Alpha / mask                                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <img src="images/awprocessing_artworktexture-alpha.png" alt="Description" style="min-width: 400px;max-width: 400px">     | The alpha quadrant controls the opacity and transparency of each pixel from the diffuse quadrant.<br>Black will make the pixels fully transparent.<br>Each color channel controls one the properties:<br>RED - controls the opacity<div style="margin-top:0px;" />GREEN - controls the transparency<div style="margin-top:0px;" />BLUE - controls transparency blurriness                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| Specular / materials                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <img src="images/awprocessing_artworktexture-specular.png" alt="Description" style="min-width: 400px;max-width: 400px">  | The specular quadrant controls the material properties of each pixel from the diffuse quadrant.<br>Each color channel controls one of the properties:<br>RED - controls the reflection<div style="margin-top:0px;" />GREEN - controls the shine<div style="margin-top:0px;" />BLUE - controls the metalnes<br>When the specular quadrant is composed each specular layer is added with add or substract depending on the value if is positive or negative. The first layer is the base layer.<br>Ex.:                 if base layer is set to gloss: 0.625 ; spec: 0.50 ; metal: 0<div style="margin-top:0px;" />and you add a spot plate that has  gloss: 0.625 ; spec: 0.15 ; metal: 0  <div style="margin-top:0px;" />                               the result will be gloss: 0.625 ; spec: 0.65 ; metal: 0<div style="margin-top:0px;" /><br>Ex.:                 if base layer is set to gloss: 0.625 ; spec: 0.50 ; metal: 0 <div style="margin-top:0px;" />and you add a spot plate that has  gloss: 0.625 ; spec: -0.15 ; metal: 0  <div style="margin-top:0px;" />                                the result will be gloss: 0.625 ; spec: 0.35 ; metal: 0 |
| Normal map                                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <img src="images/awprocessing_artworktexture-normalmap.png" alt="Description" style="min-width: 400px;max-width: 400px"> | The normal map quadrant controls the direction of reflected light for each pixel from the diffuse quadrant.<br>In 3D computer graphics, normal mapping, or Dot3 bump mapping, is a texture mapping technique used for faking the lighting of bumps and dents – an implementation of bump mapping. It is used to add details without using more polygons. A common use of this technique is to greatly enhance the appearance and details of a low polygon model by generating a normal map from a high polygon model or height map.<br>Normal maps are commonly stored as regular RGB images where the RGB components correspond to the X, Y, and Z coordinates, respectively, of the surface normal.Artwork texture explained                                                                                                                                                                                                                                                                                                                                                                                                                                      |

 


 
