====== Uploading Geometries ====== The following points need to be checked before exporting the geometries and uploading to the ig.creator ===== Naming ===== The naming order of the geometries should be as follows: * Alphanumeric * Use camel case and start with capital letters, e.g. TestLeg1, Leg2, TestLegUpper3 etc. * Be in English if possible * The names should be used 1:1 like this also in the database because it allows the direct assignment. ===== Types of Exports ===== * Standard.obj - OBJ representation of the standard resolution * Standard.ctm - OpenCTM representation of the standard resolution * Info.json - Created when exporting as CTM * Normals_std.png - Normal mapping in the standard resolution * Deformation.json - Deformation in JSON format * Deformation.glb/gltf - Deformation ===== Exporting and Storage ===== * Geometries should be assigned either to the sub-domain Basics - if they are of general use for a manufacturer or to a specific domain - if they are used only for this domain. ===== Uploading Data ===== ==== Manually ==== To upload a geometry manually into the IG.Creator, first of all, go to the //Assets/Geometries// page. Click the //New// button on the right top corner to create an empty instance. Fill the mask with a //Name// and a //Description UL//. Leave the rest empty. {{ :ig.guidelines:creatinggeometries_01.png?800 |}} Click //Update// to confirm the creation. After creating an empty instance, this needs to be filled. Go to the //Assets/File// page. Make sure the left part of the table is showing //Geometry// as header. If not, change with the help of the drop down menu. Select the created Geometry. The right side the table should be empty. {{ :ig.guidelines:creatinggeometries_02.png?800 |}} Click the //New// button to create a new data slot. Use the shown setup and confirm with //Update//. {{ :ig.guidelines:creatinggeometries_03.png?800 |}} Initially the created slot is empty. This is indicated by the file size **-1**. As soon the slot is filled, the file size changes to != -1. To upload a geometry, //Browse// for it, make sure the file ending is matching the instantiaded above and //Uploade// it. {{ :ig.guidelines:creatinggeometries_04.png?800 |}} After uploading the geometry, it can be checked inside //Assets/Geometries//. A right click on the geometry opens a menu. From this menu, choose //3D Preview//. Make sure pop ups for the IG.Creator are allowed and than a new window with the geometry will pop up. {{ :ig.guidelines:creatinggeometries_05.png?600 |}} ==== Asset Loader ==== * For uploading the data to creator you can use the [[ig:gfx:assetloader|IG.GFX.AssetLoader]] * Simply execute the geometries.bat file to upload all the geometries to the creator. \geometries.bat