Update README.md
This commit is contained in:
parent
962eca3d86
commit
1ae3c41466
12
README.md
12
README.md
@ -57,9 +57,6 @@ Neutrino should have:
|
|||||||
*Describes the right axis of the scene ("x", "-x", "y", "-y", "z", or "-z")*
|
*Describes the right axis of the scene ("x", "-x", "y", "-y", "z", or "-z")*
|
||||||
- scene [dict]
|
- scene [dict]
|
||||||
*The hierarchy of objects in the scene, stored as a recursive tree of objects and their children.*
|
*The hierarchy of objects in the scene, stored as a recursive tree of objects and their children.*
|
||||||
|
|
||||||
**NEW: Objects can be parented to one another, preserving the original organization of the scene.**
|
|
||||||
|
|
||||||
- {object name} [dict]
|
- {object name} [dict]
|
||||||
*The name of the object in the scene hierarchy is the same as its name in the objects dictionary which details its properties below.*
|
*The name of the object in the scene hierarchy is the same as its name in the objects dictionary which details its properties below.*
|
||||||
- transform [dict]
|
- transform [dict]
|
||||||
@ -86,7 +83,6 @@ Neutrino should have:
|
|||||||
*The relative file path of the source file for this object, for example: an FBX file for a mesh.*
|
*The relative file path of the source file for this object, for example: an FBX file for a mesh.*
|
||||||
- materials [array] [optional] [used by: mesh]
|
- materials [array] [optional] [used by: mesh]
|
||||||
*List of the names of the materials applied to the mesh, in order of material assignment.*
|
*List of the names of the materials applied to the mesh, in order of material assignment.*
|
||||||
**NEW: Supports multiple materials per-object.**
|
|
||||||
- materials [dict]
|
- materials [dict]
|
||||||
*A list of named materials in the scene.*
|
*A list of named materials in the scene.*
|
||||||
- {material name} [dict]
|
- {material name} [dict]
|
||||||
@ -97,10 +93,10 @@ Neutrino should have:
|
|||||||
- type [string]
|
- type [string]
|
||||||
*The datatype of the parameter ("scalar", "vector", or "texture")*
|
*The datatype of the parameter ("scalar", "vector", or "texture")*
|
||||||
- value [array or string]
|
- value [array or string]
|
||||||
*The value of the parameter, which depends on the parameter type:
|
*The value of the parameter, which depends on the parameter type:*
|
||||||
- If it's a scalar: a float declaring the value.
|
- *If it's a scalar: a float declaring the value.*
|
||||||
- If it's a vector: an array of length 4 declaring RGBA values.
|
- *If it's a vector: an array of length 4 declaring RGBA values.*
|
||||||
- If it's a texture: the relative file path of the texture map.*
|
- *If it's a texture: the relative file path of the texture map.*
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user