TreeFieldRenderSpecDict: Difference between revisions
Jump to navigation
Jump to search
Stlnegril9 (talk | contribs) No edit summary |
Stlnegril9 (talk | contribs) clarify entries |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
This entry in [[ModRender|'''render.json''']] allows scaling and offset of TreeField assets | |||
See Orchard and CocoaFarm. | See Orchard and CocoaFarm. | ||
| Line 6: | Line 6: | ||
"treeFieldRenderSpecDict": { | "treeFieldRenderSpecDict": { | ||
"9": { // treefield ID | "9": { // treefield ID | ||
"minScale": 1.0, | "minScale": 1.0, // minimum random scaling of 3D asset for any individual tree | ||
"maxScale": 1.0, | "maxScale": 1.0, // maximum random scaling of 3D asset for any individual tree | ||
"centreOffsetRange": { | "centreOffsetRange": { | ||
"x": 0.1, | "x": 0.1, // maximum random X offset of 3D asset for any individual tree | ||
"y": 0.1 | "y": 0.1 // maximum random Y offset of 3D asset for any individual tree | ||
} | } | ||
} | } | ||
Latest revision as of 13:38, 14 June 2023
This entry in render.json allows scaling and offset of TreeField assets
See Orchard and CocoaFarm.
Example entry in render.json
{
"treeFieldRenderSpecDict": {
"9": { // treefield ID
"minScale": 1.0, // minimum random scaling of 3D asset for any individual tree
"maxScale": 1.0, // maximum random scaling of 3D asset for any individual tree
"centreOffsetRange": {
"x": 0.1, // maximum random X offset of 3D asset for any individual tree
"y": 0.1 // maximum random Y offset of 3D asset for any individual tree
}
}
},
}