restructured rendering, added Tweener & smoothMove
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"molecule1": {
|
||||
"type": "Mesh",
|
||||
"geometry": { "type": "BoxGeometry", "args": [1, 1, 1] },
|
||||
"material": { "type": "MeshStandardMaterial", "color": "orange" },
|
||||
"children": [
|
||||
{
|
||||
"type": "Mesh",
|
||||
"geometry": { "type": "SphereGeometry", "args": [0.3, 16, 16] },
|
||||
"material": { "type": "MeshStandardMaterial", "color": "blue" },
|
||||
"position": [0, 0.5, 0]
|
||||
}
|
||||
]
|
||||
},
|
||||
"molecule2": {
|
||||
"type": "Mesh",
|
||||
"geometry": { "type": "SphereGeometry", "args": [1, 1, 1] },
|
||||
"material": { "type": "MeshStandardMaterial", "color": "green" },
|
||||
"children": [
|
||||
{
|
||||
"type": "Mesh",
|
||||
"geometry": { "type": "SphereGeometry", "args": [0.3, 16, 16] },
|
||||
"material": { "type": "MeshStandardMaterial", "color": "red" },
|
||||
"position": [0, 1, 0]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
[
|
||||
{
|
||||
"master": "BP_PO",
|
||||
"surrogates": [
|
||||
{"role": "BP_PO", "track": "ignore", "domain": "ignore"},
|
||||
{"role": "BP_HoU", "track": "ignore", "domain": "ignore"},
|
||||
{"role": "BP_SPOC_Plugin", "track": "daTai94ymStyRbQWybH3eDw", "domain": "set"},
|
||||
{"role": "BP_SPOC_FastTrack", "track": "d7xAg5kIhQYeDMB1H6eXnBg", "domain": "set"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"master": "BP_SPOC_FastTrack",
|
||||
"surrogates": [
|
||||
{"role": "BP_SPOC_FastTrack", "track": "inherit", "domain": "inherit"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"master": "BP_SPOC_Plugin",
|
||||
"surrogates": [
|
||||
{"role": "BP_SPOC_Plugin", "track": "inherit", "domain": "inherit"}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user