1
0

tsl-graphs.json 31 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309
  1. {
  2. "codes": {
  3. "materials": {
  4. "mat_4-basic": {
  5. "code": "// Expected material: MeshBasicNodeMaterial\nfunction tslGraph(material) {\n const _node0 = time;\n const _node1 = normalWorld;\n const _node2 = color(\"#00a9ff\");\n const _node3 = color(\"#ffffff\");\n const _node4 = add(_node1, _node0);\n const _node5 = mx_fractal_noise_float(_node4, 3, 3, 0.4, 0.5);\n const _node6 = mix(_node2, _node3, _node5);\n const _node7 = add(_node5, 0.6);\n\n material.colorNode = _node6;\n material.opacityNode = _node7;\n material.transparent = true;\n material.depthWrite = true;\n\n const uniforms = {};\n\n return { uniforms };\n}",
  6. "error": null,
  7. "imports": [
  8. {
  9. "from": "three/tsl",
  10. "imports": [
  11. "add",
  12. "color",
  13. "float",
  14. "mix",
  15. "mx_fractal_noise_float",
  16. "normalWorld",
  17. "time",
  18. "vec3"
  19. ]
  20. }
  21. ]
  22. },
  23. "mat_3-phong": {
  24. "code": "// Expected material: MeshPhongNodeMaterial\nfunction tslGraph(material) {\n const _node0 = positionWorld;\n const _node1 = time;\n const _node2 = color(\"#29fcff\");\n const _node3 = mul(_node0, 3.7);\n const _node4 = add(_node3, _node1);\n const _node5 = mx_worley_noise_float(_node4, 1);\n const _node6 = add(_node5, _node2);\n\n material.colorNode = _node6;\n material.opacityNode = float(1);\n\n const uniforms = {};\n\n return { uniforms };\n}",
  25. "error": null,
  26. "imports": [
  27. {
  28. "from": "three/tsl",
  29. "imports": [
  30. "add",
  31. "color",
  32. "float",
  33. "mul",
  34. "mx_worley_noise_float",
  35. "positionWorld",
  36. "time",
  37. "vec3"
  38. ]
  39. }
  40. ]
  41. },
  42. "mat_1-physical": {
  43. "code": "// Expected material: MeshStandardNodeMaterial\nfunction tslGraph(material) {\n const _node0 = positionWorld;\n const _node1 = triNoise3D(_node0, 1, 0);\n\n material.colorNode = _node1;\n material.roughnessNode = float(1);\n material.metalnessNode = float(0);\n\n const uniforms = {};\n\n return { uniforms };\n}",
  44. "error": null,
  45. "imports": [
  46. {
  47. "from": "three/tsl",
  48. "imports": [
  49. "color",
  50. "float",
  51. "positionWorld",
  52. "triNoise3D",
  53. "vec3"
  54. ]
  55. }
  56. ]
  57. },
  58. "mat_2-standard": {
  59. "code": "// Expected material: MeshStandardNodeMaterial\nfunction tslGraph(material) {\n const _node0 = normalWorld;\n const _node1 = positionWorld;\n const _node2 = color(\"#a4fb47\");\n const _node3 = color(\"#044813\");\n const _node4 = clamp(_node0.y, 0, 1);\n const _node5 = triNoise3D(_node1, 1, 0);\n const _node6 = mul(_node1, 66.7);\n const _node7 = mx_fractal_noise_float(_node6, 4, 2, 0.5, 0.5);\n const _node8 = clamp(_node7, 0, 1);\n const _node9 = mix(_node3, _node2, _node8);\n const _node10 = mix(_node5, _node9, _node4);\n\n material.colorNode = _node10;\n material.roughnessNode = float(1);\n material.metalnessNode = float(0);\n\n const uniforms = {};\n\n return { uniforms };\n}",
  60. "error": null,
  61. "imports": [
  62. {
  63. "from": "three/tsl",
  64. "imports": [
  65. "clamp",
  66. "color",
  67. "float",
  68. "mix",
  69. "mul",
  70. "mx_fractal_noise_float",
  71. "normalWorld",
  72. "positionWorld",
  73. "triNoise3D",
  74. "vec3"
  75. ]
  76. }
  77. ]
  78. }
  79. }
  80. },
  81. "graphs": {
  82. "mat_4-basic": {
  83. "version": 2,
  84. "activeRootGraph": "material",
  85. "nodes": [
  86. {
  87. "id": "geo/time-1773372379325",
  88. "type": "geo/time",
  89. "position": {
  90. "x": -629.6646199110978,
  91. "y": 132.77241839057913
  92. },
  93. "selected": false,
  94. "data": {
  95. "type": "geo/time",
  96. "values": {},
  97. "connected": {}
  98. },
  99. "measured": {
  100. "width": 51,
  101. "height": 76
  102. },
  103. "dragging": false
  104. },
  105. {
  106. "id": "noise/fractal_noise_float-1773372389185",
  107. "type": "noise/fractal_noise_float",
  108. "position": {
  109. "x": -108.19329226448991,
  110. "y": 204.01144901950525
  111. },
  112. "selected": false,
  113. "data": {
  114. "type": "noise/fractal_noise_float",
  115. "values": {
  116. "lacunarity": 3,
  117. "diminish": 0.4
  118. },
  119. "connected": {}
  120. },
  121. "measured": {
  122. "width": 155,
  123. "height": 164
  124. },
  125. "dragging": false
  126. },
  127. {
  128. "id": "geo/normalWorld-1773372396270",
  129. "type": "geo/normalWorld",
  130. "position": {
  131. "x": -631.6394825210048,
  132. "y": -67.32705910748909
  133. },
  134. "selected": false,
  135. "data": {
  136. "type": "geo/normalWorld",
  137. "values": {},
  138. "connected": {}
  139. },
  140. "measured": {
  141. "width": 117,
  142. "height": 142
  143. },
  144. "dragging": false
  145. },
  146. {
  147. "id": "math/multiOp-1773372424142",
  148. "type": "math/multiOp",
  149. "position": {
  150. "x": -396.8985991102374,
  151. "y": 8.110749830457827
  152. },
  153. "selected": false,
  154. "data": {
  155. "type": "math/multiOp",
  156. "values": {},
  157. "connected": {},
  158. "operations": [
  159. {
  160. "id": "op_1773372424142_1471",
  161. "op": "add"
  162. }
  163. ]
  164. },
  165. "measured": {
  166. "width": 167,
  167. "height": 156
  168. },
  169. "dragging": false
  170. },
  171. {
  172. "id": "math/mix-1773372441343",
  173. "type": "math/mix",
  174. "position": {
  175. "x": 163.707215774629,
  176. "y": 89.46017629226604
  177. },
  178. "selected": false,
  179. "data": {
  180. "type": "math/mix",
  181. "values": {},
  182. "connected": {}
  183. },
  184. "measured": {
  185. "width": 69,
  186. "height": 120
  187. },
  188. "dragging": false
  189. },
  190. {
  191. "id": "const/color-1773372452446",
  192. "type": "const/color",
  193. "position": {
  194. "x": -91.240461081968,
  195. "y": -181.34711479088952
  196. },
  197. "selected": false,
  198. "data": {
  199. "type": "const/color",
  200. "values": {
  201. "value": "#00a9ff"
  202. },
  203. "connected": {}
  204. },
  205. "measured": {
  206. "width": 93,
  207. "height": 142
  208. },
  209. "dragging": false
  210. },
  211. {
  212. "id": "const/color-1773372478735",
  213. "type": "const/color",
  214. "position": {
  215. "x": -98.77050453829891,
  216. "y": -0.4595856112190475
  217. },
  218. "selected": false,
  219. "data": {
  220. "type": "const/color",
  221. "values": {},
  222. "connected": {}
  223. },
  224. "measured": {
  225. "width": 93,
  226. "height": 142
  227. },
  228. "dragging": false
  229. },
  230. {
  231. "id": "root-material",
  232. "type": "material/basic",
  233. "position": {
  234. "x": 529.8544423320919,
  235. "y": 177.33904317581556
  236. },
  237. "data": {
  238. "values": {
  239. "transparent": true
  240. },
  241. "connected": {},
  242. "type": "material/basic",
  243. "activeInputs": [
  244. "colorNode",
  245. "opacityNode",
  246. "transparent",
  247. "depthWrite"
  248. ]
  249. },
  250. "measured": {
  251. "width": 142,
  252. "height": 142
  253. },
  254. "selected": false,
  255. "dragging": false
  256. },
  257. {
  258. "id": "math/multiOp-1773372904506",
  259. "type": "math/multiOp",
  260. "position": {
  261. "x": 152.55183728862042,
  262. "y": 260.6341647070865
  263. },
  264. "selected": false,
  265. "data": {
  266. "type": "math/multiOp",
  267. "values": {
  268. "op_op_1773372904506_8391_b": 0.6
  269. },
  270. "connected": {},
  271. "operations": [
  272. {
  273. "id": "op_1773372904506_8391",
  274. "op": "add"
  275. }
  276. ]
  277. },
  278. "measured": {
  279. "width": 207,
  280. "height": 156
  281. },
  282. "dragging": false
  283. }
  284. ],
  285. "edges": [
  286. {
  287. "id": "edge-geo/normalWorld-1773372396270-out-math/multiOp-1773372424142-op_op_1773372424142_1471_a",
  288. "source": "geo/normalWorld-1773372396270",
  289. "sourceHandle": "out",
  290. "target": "math/multiOp-1773372424142",
  291. "targetHandle": "op_op_1773372424142_1471_a"
  292. },
  293. {
  294. "source": "math/multiOp-1773372424142",
  295. "sourceHandle": "out",
  296. "target": "noise/fractal_noise_float-1773372389185",
  297. "targetHandle": "position",
  298. "id": "xy-edge__math/multiOp-1773372424142out-noise/fractal_noise_float-1773372389185position"
  299. },
  300. {
  301. "source": "noise/fractal_noise_float-1773372389185",
  302. "sourceHandle": "out",
  303. "target": "math/mix-1773372441343",
  304. "targetHandle": "t",
  305. "id": "xy-edge__noise/fractal_noise_float-1773372389185out-math/mix-1773372441343t"
  306. },
  307. {
  308. "source": "const/color-1773372452446",
  309. "sourceHandle": "out",
  310. "target": "math/mix-1773372441343",
  311. "targetHandle": "a",
  312. "id": "xy-edge__const/color-1773372452446out-math/mix-1773372441343a"
  313. },
  314. {
  315. "source": "const/color-1773372478735",
  316. "sourceHandle": "out",
  317. "target": "math/mix-1773372441343",
  318. "targetHandle": "b",
  319. "id": "xy-edge__const/color-1773372478735out-math/mix-1773372441343b"
  320. },
  321. {
  322. "source": "geo/time-1773372379325",
  323. "sourceHandle": "out",
  324. "target": "math/multiOp-1773372424142",
  325. "targetHandle": "op_op_1773372424142_1471_b",
  326. "id": "xy-edge__geo/time-1773372379325out-math/multiOp-1773372424142op_op_1773372424142_1471_b"
  327. },
  328. {
  329. "source": "math/mix-1773372441343",
  330. "sourceHandle": "out",
  331. "target": "root-material",
  332. "targetHandle": "colorNode",
  333. "id": "xy-edge__math/mix-1773372441343out-root-materialcolorNode"
  334. },
  335. {
  336. "id": "edge-noise/fractal_noise_float-1773372389185-out-math/multiOp-1773372904506-op_op_1773372904506_8391_a",
  337. "source": "noise/fractal_noise_float-1773372389185",
  338. "sourceHandle": "out",
  339. "target": "math/multiOp-1773372904506",
  340. "targetHandle": "op_op_1773372904506_8391_a"
  341. },
  342. {
  343. "source": "math/multiOp-1773372904506",
  344. "sourceHandle": "out",
  345. "target": "root-material",
  346. "targetHandle": "opacityNode",
  347. "id": "xy-edge__math/multiOp-1773372904506out-root-materialopacityNode"
  348. }
  349. ],
  350. "postNodes": [
  351. {
  352. "id": "post-input",
  353. "type": "post/input",
  354. "position": {
  355. "x": -400,
  356. "y": 200
  357. },
  358. "data": {
  359. "type": "post/input",
  360. "values": {},
  361. "connected": {}
  362. }
  363. },
  364. {
  365. "id": "post-output",
  366. "type": "post/output",
  367. "position": {
  368. "x": 400,
  369. "y": 200
  370. },
  371. "data": {
  372. "type": "post/output",
  373. "values": {},
  374. "connected": {}
  375. }
  376. }
  377. ],
  378. "postEdges": [],
  379. "globals": [],
  380. "subgraphs": {},
  381. "codeNodes": {},
  382. "previewSettings": {
  383. "mesh": "sphere",
  384. "isInstanced": false,
  385. "instanceCount": 100,
  386. "geometryScript": "",
  387. "codeMode": "generated",
  388. "customCode": "",
  389. "environment": "none",
  390. "environmentIntensity": 1,
  391. "showEnvironmentBackground": false,
  392. "showBackdrop": false,
  393. "showGrid": true,
  394. "postEnabled": true,
  395. "config": {
  396. "width": 1.5,
  397. "height": 1.5,
  398. "depth": 1.5,
  399. "widthSegments": 1,
  400. "heightSegments": 1,
  401. "depthSegments": 1,
  402. "radius": 1,
  403. "widthSegmentsSphere": 32,
  404. "heightSegmentsSphere": 16,
  405. "radiusTorus": 0.8,
  406. "tube": 0.3,
  407. "radialSegments": 16,
  408. "tubularSegments": 32,
  409. "widthPlane": 1,
  410. "heightPlane": 1,
  411. "widthSegmentsPlane": 1,
  412. "heightSegmentsPlane": 1,
  413. "radiusTop": 1,
  414. "radiusBottom": 1,
  415. "heightCylinder": 1,
  416. "radialSegmentsCylinder": 20,
  417. "heightSegmentsCylinder": 20,
  418. "openEnded": true
  419. }
  420. }
  421. },
  422. "mat_3-phong": {
  423. "version": 2,
  424. "activeRootGraph": "material",
  425. "nodes": [
  426. {
  427. "id": "root-material",
  428. "type": "material/phong",
  429. "position": {
  430. "x": 308.8327848876186,
  431. "y": -19.015027519991655
  432. },
  433. "data": {
  434. "values": {
  435. "transparent": false,
  436. "colorNode": "#da3939"
  437. },
  438. "connected": {},
  439. "type": "material/phong",
  440. "activeInputs": [
  441. "colorNode",
  442. "positionNode",
  443. "opacityNode"
  444. ]
  445. },
  446. "measured": {
  447. "width": 150,
  448. "height": 120
  449. },
  450. "selected": false,
  451. "dragging": false
  452. },
  453. {
  454. "id": "noise/worley_float-1773373082664",
  455. "type": "noise/worley_float",
  456. "position": {
  457. "x": -181.58472656498714,
  458. "y": 26.292216277347077
  459. },
  460. "selected": false,
  461. "data": {
  462. "type": "noise/worley_float",
  463. "values": {
  464. "jitter": 1
  465. },
  466. "connected": {}
  467. },
  468. "measured": {
  469. "width": 153,
  470. "height": 98
  471. },
  472. "dragging": false
  473. },
  474. {
  475. "id": "geo/positionWorld-1773373139191",
  476. "type": "geo/positionWorld",
  477. "position": {
  478. "x": -921.2857614166131,
  479. "y": -212.74155272575058
  480. },
  481. "selected": false,
  482. "data": {
  483. "type": "geo/positionWorld",
  484. "values": {},
  485. "connected": {}
  486. },
  487. "measured": {
  488. "width": 122,
  489. "height": 142
  490. },
  491. "dragging": false
  492. },
  493. {
  494. "id": "math/multiOp-1773373148510",
  495. "type": "math/multiOp",
  496. "position": {
  497. "x": -709.2537795020332,
  498. "y": -81.61272195352191
  499. },
  500. "selected": false,
  501. "data": {
  502. "type": "math/multiOp",
  503. "values": {
  504. "op_op_1773373148510_2336_b": 3.7
  505. },
  506. "connected": {},
  507. "operations": [
  508. {
  509. "id": "op_1773373148510_2336",
  510. "op": "mul"
  511. }
  512. ]
  513. },
  514. "measured": {
  515. "width": 207,
  516. "height": 156
  517. },
  518. "dragging": false
  519. },
  520. {
  521. "id": "geo/time-1773373271419",
  522. "type": "geo/time",
  523. "position": {
  524. "x": -608.432592117811,
  525. "y": 138.10129480844304
  526. },
  527. "selected": false,
  528. "data": {
  529. "type": "geo/time",
  530. "values": {},
  531. "connected": {}
  532. },
  533. "measured": {
  534. "width": 51,
  535. "height": 76
  536. },
  537. "dragging": false
  538. },
  539. {
  540. "id": "math/multiOp-1773373290147",
  541. "type": "math/multiOp",
  542. "position": {
  543. "x": -402.03009870276213,
  544. "y": -2.588146485305984
  545. },
  546. "selected": false,
  547. "data": {
  548. "type": "math/multiOp",
  549. "values": {},
  550. "connected": {},
  551. "operations": [
  552. {
  553. "id": "op_1773373290147_7719",
  554. "op": "add"
  555. }
  556. ]
  557. },
  558. "measured": {
  559. "width": 167,
  560. "height": 156
  561. },
  562. "dragging": false
  563. },
  564. {
  565. "id": "const/color-1773373398767",
  566. "type": "const/color",
  567. "position": {
  568. "x": -132.51582820969844,
  569. "y": 145.92580777895932
  570. },
  571. "selected": false,
  572. "data": {
  573. "type": "const/color",
  574. "values": {
  575. "value": "#29fcff"
  576. },
  577. "connected": {}
  578. },
  579. "measured": {
  580. "width": 93,
  581. "height": 142
  582. },
  583. "dragging": false
  584. },
  585. {
  586. "id": "math/multiOp-1773373409199",
  587. "type": "math/multiOp",
  588. "position": {
  589. "x": 30.400676090869368,
  590. "y": 104.03555298707752
  591. },
  592. "selected": false,
  593. "data": {
  594. "type": "math/multiOp",
  595. "values": {},
  596. "connected": {},
  597. "operations": [
  598. {
  599. "id": "op_1773373409199_9297",
  600. "op": "add"
  601. }
  602. ]
  603. },
  604. "measured": {
  605. "width": 167,
  606. "height": 156
  607. },
  608. "dragging": false
  609. }
  610. ],
  611. "edges": [
  612. {
  613. "id": "edge-geo/positionWorld-1773373139191-out-math/multiOp-1773373148510-op_op_1773373148510_2336_a",
  614. "source": "geo/positionWorld-1773373139191",
  615. "sourceHandle": "out",
  616. "target": "math/multiOp-1773373148510",
  617. "targetHandle": "op_op_1773373148510_2336_a"
  618. },
  619. {
  620. "id": "edge-math/multiOp-1773373148510-out-math/multiOp-1773373290147-op_op_1773373290147_7719_a",
  621. "source": "math/multiOp-1773373148510",
  622. "sourceHandle": "out",
  623. "target": "math/multiOp-1773373290147",
  624. "targetHandle": "op_op_1773373290147_7719_a"
  625. },
  626. {
  627. "source": "math/multiOp-1773373290147",
  628. "sourceHandle": "out",
  629. "target": "noise/worley_float-1773373082664",
  630. "targetHandle": "position",
  631. "id": "xy-edge__math/multiOp-1773373290147out-noise/worley_float-1773373082664position"
  632. },
  633. {
  634. "source": "geo/time-1773373271419",
  635. "sourceHandle": "out",
  636. "target": "math/multiOp-1773373290147",
  637. "targetHandle": "op_op_1773373290147_7719_b",
  638. "id": "xy-edge__geo/time-1773373271419out-math/multiOp-1773373290147op_op_1773373290147_7719_b"
  639. },
  640. {
  641. "id": "edge-noise/worley_float-1773373082664-out-math/multiOp-1773373409199-op_op_1773373409199_9297_a",
  642. "source": "noise/worley_float-1773373082664",
  643. "sourceHandle": "out",
  644. "target": "math/multiOp-1773373409199",
  645. "targetHandle": "op_op_1773373409199_9297_a"
  646. },
  647. {
  648. "source": "const/color-1773373398767",
  649. "sourceHandle": "out",
  650. "target": "math/multiOp-1773373409199",
  651. "targetHandle": "op_op_1773373409199_9297_b",
  652. "id": "xy-edge__const/color-1773373398767out-math/multiOp-1773373409199op_op_1773373409199_9297_b"
  653. },
  654. {
  655. "source": "math/multiOp-1773373409199",
  656. "sourceHandle": "out",
  657. "target": "root-material",
  658. "targetHandle": "colorNode",
  659. "id": "xy-edge__math/multiOp-1773373409199out-root-materialcolorNode"
  660. }
  661. ],
  662. "postNodes": [
  663. {
  664. "id": "post-input",
  665. "type": "post/input",
  666. "position": {
  667. "x": -400,
  668. "y": 200
  669. },
  670. "data": {
  671. "type": "post/input",
  672. "values": {},
  673. "connected": {}
  674. }
  675. },
  676. {
  677. "id": "post-output",
  678. "type": "post/output",
  679. "position": {
  680. "x": 400,
  681. "y": 200
  682. },
  683. "data": {
  684. "type": "post/output",
  685. "values": {},
  686. "connected": {}
  687. }
  688. }
  689. ],
  690. "postEdges": [],
  691. "globals": [],
  692. "subgraphs": {},
  693. "codeNodes": {},
  694. "previewSettings": {
  695. "mesh": "sphere",
  696. "isInstanced": false,
  697. "instanceCount": 100,
  698. "geometryScript": "",
  699. "codeMode": "generated",
  700. "customCode": "",
  701. "environment": "none",
  702. "environmentIntensity": 1,
  703. "showEnvironmentBackground": false,
  704. "showBackdrop": false,
  705. "showGrid": true,
  706. "postEnabled": true,
  707. "config": {
  708. "width": 1.5,
  709. "height": 1.5,
  710. "depth": 1.5,
  711. "widthSegments": 1,
  712. "heightSegments": 1,
  713. "depthSegments": 1,
  714. "radius": 1,
  715. "widthSegmentsSphere": 32,
  716. "heightSegmentsSphere": 16,
  717. "radiusTorus": 0.8,
  718. "tube": 0.3,
  719. "radialSegments": 16,
  720. "tubularSegments": 32,
  721. "widthPlane": 1,
  722. "heightPlane": 1,
  723. "widthSegmentsPlane": 1,
  724. "heightSegmentsPlane": 1,
  725. "radiusTop": 1,
  726. "radiusBottom": 1,
  727. "heightCylinder": 1,
  728. "radialSegmentsCylinder": 20,
  729. "heightSegmentsCylinder": 20,
  730. "openEnded": true
  731. }
  732. }
  733. },
  734. "mat_1-physical": {
  735. "version": 2,
  736. "activeRootGraph": "material",
  737. "nodes": [
  738. {
  739. "id": "geo/positionWorld-1773373497071",
  740. "type": "geo/positionWorld",
  741. "position": {
  742. "x": -479.37891233902394,
  743. "y": -28.03331550830903
  744. },
  745. "selected": false,
  746. "data": {
  747. "type": "geo/positionWorld",
  748. "values": {},
  749. "connected": {}
  750. },
  751. "measured": {
  752. "width": 122,
  753. "height": 142
  754. },
  755. "dragging": false
  756. },
  757. {
  758. "id": "noise/tri_noise_3d-1773373514019",
  759. "type": "noise/tri_noise_3d",
  760. "position": {
  761. "x": -213.9845343995448,
  762. "y": 131.5974524617551
  763. },
  764. "selected": false,
  765. "data": {
  766. "type": "noise/tri_noise_3d",
  767. "values": {},
  768. "connected": {}
  769. },
  770. "measured": {
  771. "width": 111,
  772. "height": 120
  773. },
  774. "dragging": false
  775. },
  776. {
  777. "id": "root-material",
  778. "type": "material/standard",
  779. "position": {
  780. "x": 0,
  781. "y": 0
  782. },
  783. "data": {
  784. "values": {
  785. "colorNode": "#ffffff",
  786. "roughnessNode": 1
  787. },
  788. "connected": {},
  789. "type": "material/standard",
  790. "activeInputs": [
  791. "colorNode",
  792. "positionNode",
  793. "roughnessNode",
  794. "metalnessNode"
  795. ]
  796. },
  797. "measured": {
  798. "width": 170,
  799. "height": 142
  800. },
  801. "selected": true
  802. }
  803. ],
  804. "edges": [
  805. {
  806. "source": "geo/positionWorld-1773373497071",
  807. "sourceHandle": "out",
  808. "target": "noise/tri_noise_3d-1773373514019",
  809. "targetHandle": "position",
  810. "id": "xy-edge__geo/positionWorld-1773373497071out-noise/tri_noise_3d-1773373514019position"
  811. },
  812. {
  813. "source": "noise/tri_noise_3d-1773373514019",
  814. "sourceHandle": "out",
  815. "target": "root-material",
  816. "targetHandle": "colorNode",
  817. "id": "xy-edge__noise/tri_noise_3d-1773373514019out-root-materialcolorNode"
  818. }
  819. ],
  820. "postNodes": [
  821. {
  822. "id": "post-input",
  823. "type": "post/input",
  824. "position": {
  825. "x": -400,
  826. "y": 200
  827. },
  828. "data": {
  829. "type": "post/input",
  830. "values": {},
  831. "connected": {}
  832. }
  833. },
  834. {
  835. "id": "post-output",
  836. "type": "post/output",
  837. "position": {
  838. "x": 400,
  839. "y": 200
  840. },
  841. "data": {
  842. "type": "post/output",
  843. "values": {},
  844. "connected": {}
  845. }
  846. }
  847. ],
  848. "postEdges": [],
  849. "globals": [],
  850. "subgraphs": {},
  851. "codeNodes": {},
  852. "previewSettings": {
  853. "mesh": "sphere",
  854. "isInstanced": false,
  855. "instanceCount": 100,
  856. "geometryScript": "",
  857. "codeMode": "generated",
  858. "customCode": "",
  859. "environment": "none",
  860. "environmentIntensity": 1,
  861. "showEnvironmentBackground": false,
  862. "showBackdrop": false,
  863. "showGrid": true,
  864. "postEnabled": true,
  865. "config": {
  866. "width": 1.5,
  867. "height": 1.5,
  868. "depth": 1.5,
  869. "widthSegments": 1,
  870. "heightSegments": 1,
  871. "depthSegments": 1,
  872. "radius": 1,
  873. "widthSegmentsSphere": 32,
  874. "heightSegmentsSphere": 16,
  875. "radiusTorus": 0.8,
  876. "tube": 0.3,
  877. "radialSegments": 16,
  878. "tubularSegments": 32,
  879. "widthPlane": 1,
  880. "heightPlane": 1,
  881. "widthSegmentsPlane": 1,
  882. "heightSegmentsPlane": 1,
  883. "radiusTop": 1,
  884. "radiusBottom": 1,
  885. "heightCylinder": 1,
  886. "radialSegmentsCylinder": 20,
  887. "heightSegmentsCylinder": 20,
  888. "openEnded": true
  889. }
  890. }
  891. },
  892. "mat_2-standard": {
  893. "version": 2,
  894. "activeRootGraph": "material",
  895. "nodes": [
  896. {
  897. "id": "noise/tri_noise_3d-1773373560195",
  898. "type": "noise/tri_noise_3d",
  899. "position": {
  900. "x": -571.5500459485202,
  901. "y": -85.26775870089736
  902. },
  903. "selected": false,
  904. "data": {
  905. "type": "noise/tri_noise_3d",
  906. "values": {},
  907. "connected": {}
  908. },
  909. "measured": {
  910. "width": 111,
  911. "height": 120
  912. },
  913. "dragging": false
  914. },
  915. {
  916. "id": "geo/normalWorld-1773373569960",
  917. "type": "geo/normalWorld",
  918. "position": {
  919. "x": -546.0657202943696,
  920. "y": 311.98499287363376
  921. },
  922. "selected": false,
  923. "data": {
  924. "type": "geo/normalWorld",
  925. "values": {},
  926. "connected": {}
  927. },
  928. "measured": {
  929. "width": 117,
  930. "height": 142
  931. },
  932. "dragging": false
  933. },
  934. {
  935. "id": "math/mix-1773373573981",
  936. "type": "math/mix",
  937. "position": {
  938. "x": -214.4059798432642,
  939. "y": -2.1649144661627204
  940. },
  941. "selected": false,
  942. "data": {
  943. "type": "math/mix",
  944. "values": {},
  945. "connected": {}
  946. },
  947. "measured": {
  948. "width": 69,
  949. "height": 120
  950. },
  951. "dragging": false
  952. },
  953. {
  954. "id": "geo/positionWorld-1773373584631",
  955. "type": "geo/positionWorld",
  956. "position": {
  957. "x": -1433.94251744813,
  958. "y": -135.01461143841146
  959. },
  960. "selected": false,
  961. "data": {
  962. "type": "geo/positionWorld",
  963. "values": {},
  964. "connected": {}
  965. },
  966. "measured": {
  967. "width": 122,
  968. "height": 142
  969. },
  970. "dragging": false
  971. },
  972. {
  973. "id": "const/color-1773373695600",
  974. "type": "const/color",
  975. "position": {
  976. "x": -891.4966712873143,
  977. "y": 351.8835858072191
  978. },
  979. "selected": false,
  980. "data": {
  981. "type": "const/color",
  982. "values": {
  983. "value": "#a4fb47"
  984. },
  985. "connected": {}
  986. },
  987. "measured": {
  988. "width": 93,
  989. "height": 142
  990. },
  991. "dragging": false
  992. },
  993. {
  994. "id": "noise/fractal_noise_float-1773373726185",
  995. "type": "noise/fractal_noise_float",
  996. "position": {
  997. "x": -931.6729541310845,
  998. "y": -4.0550609248271385
  999. },
  1000. "selected": false,
  1001. "data": {
  1002. "type": "noise/fractal_noise_float",
  1003. "values": {
  1004. "octaves": 4,
  1005. "lacunarity": 2
  1006. },
  1007. "connected": {}
  1008. },
  1009. "measured": {
  1010. "width": 155,
  1011. "height": 164
  1012. },
  1013. "dragging": false
  1014. },
  1015. {
  1016. "id": "math/mix-1773373826479",
  1017. "type": "math/mix",
  1018. "position": {
  1019. "x": -521.8025735699398,
  1020. "y": 154.9725741278549
  1021. },
  1022. "selected": false,
  1023. "data": {
  1024. "type": "math/mix",
  1025. "values": {
  1026. "a": 0,
  1027. "b": 1,
  1028. "t": 0.5
  1029. },
  1030. "connected": {}
  1031. },
  1032. "measured": {
  1033. "width": 69,
  1034. "height": 120
  1035. },
  1036. "dragging": false
  1037. },
  1038. {
  1039. "id": "const/color-1773373842192",
  1040. "type": "const/color",
  1041. "position": {
  1042. "x": -897.2658844184299,
  1043. "y": 177.1817694642336
  1044. },
  1045. "selected": false,
  1046. "data": {
  1047. "type": "const/color",
  1048. "values": {
  1049. "value": "#044813"
  1050. },
  1051. "connected": {}
  1052. },
  1053. "measured": {
  1054. "width": 93,
  1055. "height": 142
  1056. },
  1057. "dragging": false
  1058. },
  1059. {
  1060. "id": "math/clamp-1773373874892",
  1061. "type": "math/clamp",
  1062. "position": {
  1063. "x": -317.6997222284098,
  1064. "y": 159.16643724155531
  1065. },
  1066. "selected": false,
  1067. "data": {
  1068. "type": "math/clamp",
  1069. "values": {},
  1070. "connected": {}
  1071. },
  1072. "measured": {
  1073. "width": 68,
  1074. "height": 120
  1075. }
  1076. },
  1077. {
  1078. "id": "math/clamp-1773373914936",
  1079. "type": "math/clamp",
  1080. "position": {
  1081. "x": -700.7459282048039,
  1082. "y": 32.28547527202021
  1083. },
  1084. "selected": false,
  1085. "data": {
  1086. "type": "math/clamp",
  1087. "values": {},
  1088. "connected": {}
  1089. },
  1090. "measured": {
  1091. "width": 68,
  1092. "height": 120
  1093. },
  1094. "dragging": false
  1095. },
  1096. {
  1097. "id": "math/multiOp-1773374085600",
  1098. "type": "math/multiOp",
  1099. "position": {
  1100. "x": -1181.154599038152,
  1101. "y": 57.500254462638964
  1102. },
  1103. "selected": false,
  1104. "data": {
  1105. "type": "math/multiOp",
  1106. "values": {
  1107. "op_op_1773374085601_8822_b": 66.7
  1108. },
  1109. "connected": {},
  1110. "operations": [
  1111. {
  1112. "id": "op_1773374085601_8822",
  1113. "op": "mul"
  1114. }
  1115. ]
  1116. },
  1117. "measured": {
  1118. "width": 212,
  1119. "height": 156
  1120. }
  1121. },
  1122. {
  1123. "id": "root-material",
  1124. "type": "material/standard",
  1125. "position": {
  1126. "x": 38.21195091405497,
  1127. "y": -99.60597545702748
  1128. },
  1129. "data": {
  1130. "values": {
  1131. "roughnessNode": 1
  1132. },
  1133. "connected": {},
  1134. "type": "material/standard",
  1135. "activeInputs": [
  1136. "colorNode",
  1137. "positionNode",
  1138. "roughnessNode",
  1139. "metalnessNode"
  1140. ]
  1141. },
  1142. "measured": {
  1143. "width": 170,
  1144. "height": 142
  1145. },
  1146. "selected": false,
  1147. "dragging": false
  1148. }
  1149. ],
  1150. "edges": [
  1151. {
  1152. "source": "noise/tri_noise_3d-1773373560195",
  1153. "sourceHandle": "out",
  1154. "target": "math/mix-1773373573981",
  1155. "targetHandle": "a",
  1156. "id": "xy-edge__noise/tri_noise_3d-1773373560195out-math/mix-1773373573981a"
  1157. },
  1158. {
  1159. "source": "geo/positionWorld-1773373584631",
  1160. "sourceHandle": "out",
  1161. "target": "noise/tri_noise_3d-1773373560195",
  1162. "targetHandle": "position",
  1163. "id": "xy-edge__geo/positionWorld-1773373584631out-noise/tri_noise_3d-1773373560195position"
  1164. },
  1165. {
  1166. "source": "math/mix-1773373573981",
  1167. "sourceHandle": "out",
  1168. "target": "root-material",
  1169. "targetHandle": "colorNode",
  1170. "id": "xy-edge__math/mix-1773373573981out-root-materialcolorNode"
  1171. },
  1172. {
  1173. "id": "edge-const/color-1773373695600-out-math/mix-1773373826479-b",
  1174. "source": "const/color-1773373695600",
  1175. "sourceHandle": "out",
  1176. "target": "math/mix-1773373826479",
  1177. "targetHandle": "b"
  1178. },
  1179. {
  1180. "source": "math/mix-1773373826479",
  1181. "sourceHandle": "out",
  1182. "target": "math/mix-1773373573981",
  1183. "targetHandle": "b",
  1184. "id": "xy-edge__math/mix-1773373826479out-math/mix-1773373573981b"
  1185. },
  1186. {
  1187. "id": "edge-const/color-1773373842192-out-math/mix-1773373826479-a",
  1188. "source": "const/color-1773373842192",
  1189. "sourceHandle": "out",
  1190. "target": "math/mix-1773373826479",
  1191. "targetHandle": "a"
  1192. },
  1193. {
  1194. "source": "geo/normalWorld-1773373569960",
  1195. "sourceHandle": "y",
  1196. "target": "math/clamp-1773373874892",
  1197. "targetHandle": "x",
  1198. "id": "xy-edge__geo/normalWorld-1773373569960y-math/clamp-1773373874892x"
  1199. },
  1200. {
  1201. "source": "math/clamp-1773373874892",
  1202. "sourceHandle": "out",
  1203. "target": "math/mix-1773373573981",
  1204. "targetHandle": "t",
  1205. "id": "xy-edge__math/clamp-1773373874892out-math/mix-1773373573981t"
  1206. },
  1207. {
  1208. "source": "noise/fractal_noise_float-1773373726185",
  1209. "sourceHandle": "out",
  1210. "target": "math/clamp-1773373914936",
  1211. "targetHandle": "x",
  1212. "id": "xy-edge__noise/fractal_noise_float-1773373726185out-math/clamp-1773373914936x"
  1213. },
  1214. {
  1215. "source": "math/clamp-1773373914936",
  1216. "sourceHandle": "out",
  1217. "target": "math/mix-1773373826479",
  1218. "targetHandle": "t",
  1219. "id": "xy-edge__math/clamp-1773373914936out-math/mix-1773373826479t"
  1220. },
  1221. {
  1222. "id": "edge-geo/positionWorld-1773373584631-out-math/multiOp-1773374085600-op_op_1773374085601_8822_a",
  1223. "source": "geo/positionWorld-1773373584631",
  1224. "sourceHandle": "out",
  1225. "target": "math/multiOp-1773374085600",
  1226. "targetHandle": "op_op_1773374085601_8822_a"
  1227. },
  1228. {
  1229. "source": "math/multiOp-1773374085600",
  1230. "sourceHandle": "out",
  1231. "target": "noise/fractal_noise_float-1773373726185",
  1232. "targetHandle": "position",
  1233. "id": "xy-edge__math/multiOp-1773374085600out-noise/fractal_noise_float-1773373726185position"
  1234. }
  1235. ],
  1236. "postNodes": [
  1237. {
  1238. "id": "post-input",
  1239. "type": "post/input",
  1240. "position": {
  1241. "x": -400,
  1242. "y": 200
  1243. },
  1244. "data": {
  1245. "type": "post/input",
  1246. "values": {},
  1247. "connected": {}
  1248. }
  1249. },
  1250. {
  1251. "id": "post-output",
  1252. "type": "post/output",
  1253. "position": {
  1254. "x": 400,
  1255. "y": 200
  1256. },
  1257. "data": {
  1258. "type": "post/output",
  1259. "values": {},
  1260. "connected": {}
  1261. }
  1262. }
  1263. ],
  1264. "postEdges": [],
  1265. "globals": [],
  1266. "subgraphs": {},
  1267. "codeNodes": {},
  1268. "previewSettings": {
  1269. "mesh": "sphere",
  1270. "isInstanced": false,
  1271. "instanceCount": 100,
  1272. "geometryScript": "",
  1273. "codeMode": "generated",
  1274. "customCode": "",
  1275. "environment": "none",
  1276. "environmentIntensity": 1,
  1277. "showEnvironmentBackground": false,
  1278. "showBackdrop": false,
  1279. "showGrid": true,
  1280. "postEnabled": true,
  1281. "config": {
  1282. "width": 1.5,
  1283. "height": 1.5,
  1284. "depth": 1.5,
  1285. "widthSegments": 1,
  1286. "heightSegments": 1,
  1287. "depthSegments": 1,
  1288. "radius": 1,
  1289. "widthSegmentsSphere": 32,
  1290. "heightSegmentsSphere": 16,
  1291. "radiusTorus": 0.8,
  1292. "tube": 0.3,
  1293. "radialSegments": 16,
  1294. "tubularSegments": 32,
  1295. "widthPlane": 1,
  1296. "heightPlane": 1,
  1297. "widthSegmentsPlane": 1,
  1298. "heightSegmentsPlane": 1,
  1299. "radiusTop": 1,
  1300. "radiusBottom": 1,
  1301. "heightCylinder": 1,
  1302. "radialSegmentsCylinder": 20,
  1303. "heightSegmentsCylinder": 20,
  1304. "openEnded": true
  1305. }
  1306. }
  1307. }
  1308. }
  1309. }
粤ICP备19079148号