====== Sample Photo.json and parameter list ====== ===== Photo.json Template ===== Copy these lines, adjust and save them as Photo.json { "_Description": "Template Photo.json form the IG Doku Wiki", "Cameras": { "Standard": { "X": -3.0, "Y": 1.8, "Z": 3.0, "_X": 2.0, "_Y": 0.0, "_Z": -1.0 } }, "Camera": "Standard", "Width": 1920, "Height": 1080, "Environment": "?01", "State": {}, "Scope": "Domain.Subdomain or ask the admin for help" "Password": "Creator Domain PWD for RO user" "Products":[ { "_": "Write description here", "Id": "Id_Free_2_Choose", "NativeId": "Get_From_Commercial_Data" }, {} ], "Sets": [] } ===== Parameters ===== |Cameras| Define 1 -n cameras \\ Each camera has a name, a position (X, Y, Z) and a view point (_X, _Y, _Z) \\ Additionally you can define an AutoPlace in "CenterXZ" or "CenterX" \\ "Cameras":{ "Standard": { "X": -3.0, "Y": 1.8, "Z": 3.0, "_X": 2.0, "_Y": 0.0, "_Z": -1.0 "AutoPlace": "CenterXZ" }, "Left": {…}, "Top": {…} } | |Camera|Define which of the created cameras to use| |Media|Define a set of cameras to loop through. \\ "Media":[ "C1", "C2", "C3" ] | |MediaCamera|Link the defined cameras to the media camera "MediaCamera": { "C1": "Standard", "C2": "Left", "C3": "Top" }| |Width|Image pixel horizontal| |Height|Image pixel vertical| |Environment|Define the background for your rendering (01, 02, 03, 04, 05, 06) \\ Additionally define the resolution for your rendering (?) | |State|Define the properties and there values. The property can be take from the IG.Creator Configuration table. This is the Id of a property or a value. "State": { "P1": "V1", "P2": "V2" } | |Loops|Loop over a property to get more than one state of it. "State": { "P2": "V2" }, "Loops": { "P1": [ "V1a", "V1b" ], "P3": [ "V3a", "V3b" ] }| |Scope|Define the scope for doing a rendering| |Password|A costumer personal password| |Products|Define a list of products to render. Each product consists of:"Id": "Name_Free_2_Choose", "NativeId": "Id_From_Commercial_Data" | |Sets|From the listed singel products, define a bigger set "Sets":[ { "Id": "Set_Name_Free_2_Choose", "Camera": "Top" "Products": [ { "Id": "Id_From_Single_Article_1" }, { "Id": "Id_From_Single_Article_2", "X": 1, "Z": 1, "YR": 90 } ] } ]| |SetOnly|Add this to the Product, if only render an article inside a set. "Producs":[ { "_": "This article will only be used in sets", "Id": "JustSet", "NativeId": "1234", "SetOnly": "True" } ]| |Settings|In this section, define costume key value pairs for costum render options. E.g.: "Settings":{ "Renderer": "Blender", "Output": "fbx" } :!: This values will only work if the render script does know how to handle them. Otherwise they will be ignored.|