-
Notifications
You must be signed in to change notification settings - Fork 0
FBX File Doc Materials
This is where you will find the data:
- Colours
- Transparency
- Anything relating to the render data of your model.
This section is found within the Object Properties with the following heading:
Material: 747327232, "Material::lambert1", "" {
The first part 'Material:' is the name of the object property. The second part '747327232' is the id of this object property. The third part 'Material::lambert1' is the name of this object property. The fourth part "XXXX" is the type of this object property (Materials apparently have none).
The data within these materials is different depending on what type of material it is; an example being that the data for how shiny the material is would only be found in a Blinn or Phong type, material where that would be missing in a Lambert.
The list of data found within materials are as followed:
- Ambient Color (Vector3: Lambert, Blinn) - This is the ambient colour data.
- Diffuse Color (Vector3: Lambert, Blinn) - This is the diffuse colour data.
- Diffuse Factor (float/double: Lambert, Blinn) - This is the factor of how powerful the Diffuse Color will be.
- Transparancy Factor / Opacity (float/double: Lambert, Blinn) - This is how see through the material is. Apparently fbx importers refer to opacity for this information and ignore transparency since they are both the same thing.
- Emissive (Vector3: Lambert, Blinn) - Do not know what this data represents.
- Ambient (Vector3: Lambert, Blinn) - Assuming it is the same as Ambient Color.
- Diffuse (Vector3: Lambert, Blinn) - Assuming it is the same as Diffuse Color
- Specular Color (Vector3: Blinn) - This the specular colour data.
- Shininess Exponent (double: Blinn) - Do not know what this data represents.
- Reflection Factor (float/double: Blinn) - Do not know what this data represents as have not done reflection code yet.
- Specular (Vector3: Blinn) - Do not know what this data represents.
The material are saved in the .fbx file in the order in which they are loaded into the Material list.