git.lucas.co / cce-designer
graphic design tool
git clone https://git.lucas.co/cce-designer.git

nodes/sphere.json (1.3K)

 1 {
 2   "name": "Sphere",
 3   "type": "sphere",
 4   "inputs": 0,
 5   "outputs": 1,
 6   "params": [
 7     {
 8       "name": "Method",
 9       "default": "UV",
10       "type": "choice:UV,Icosphere,Cube"
11     },
12     {
13       "name": "Radius",
14       "default": "0.5",
15       "type": "slider"
16     },
17     {
18       "name": "Rows",
19       "default": "16",
20       "type": "spinbox",
21       "min": 2,
22       "max": 128,
23       "step": 1,
24       "show_when": "Method == UV"
25     },
26     {
27       "name": "Columns",
28       "default": "24",
29       "type": "spinbox",
30       "min": 3,
31       "max": 128,
32       "step": 1,
33       "show_when": "Method == UV"
34     },
35     {
36       "name": "Frequency",
37       "default": "4",
38       "type": "spinbox",
39       "min": 1,
40       "max": 16,
41       "step": 1,
42       "show_when": "Method == Icosphere"
43     },
44     {
45       "name": "Resolution",
46       "default": "8",
47       "type": "spinbox",
48       "min": 1,
49       "max": 64,
50       "step": 1,
51       "show_when": "Method == Cube"
52     },
53     {
54       "name": "Center X",
55       "default": "0.0",
56       "type": "slider:-2:2"
57     },
58     {
59       "name": "Center Y",
60       "default": "0.55",
61       "type": "slider:-2:2"
62     },
63     {
64       "name": "Center Z",
65       "default": "0.0",
66       "type": "slider:-2:2"
67     },
68     {
69       "name": "Color",
70       "default": "true",
71       "type": "toggle"
72     }
73   ]
74 }