blockymodel-web 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,6 +5,8 @@ Web-based 3D editor for BlockyModel format (.blockymodel) built with [Three.js](
5
5
  ![License](https://img.shields.io/npm/l/blockymodel-web)
6
6
  ![npm](https://img.shields.io/npm/v/blockymodel-web)
7
7
 
8
+ **[Live Demo](https://editor.hytalegarage.com)** - Try the editor in your browser
9
+
8
10
  ## Features
9
11
 
10
12
  - **3D Viewport** - Interactive scene with orbit controls
@@ -0,0 +1,133 @@
1
+ {
2
+ "format": "prop",
3
+ "lod": "auto",
4
+ "nodes": [
5
+ {
6
+ "id": "root",
7
+ "name": "SampleModel",
8
+ "position": { "x": 0, "y": 0, "z": 0 },
9
+ "orientation": { "w": 1, "x": 0, "y": 0, "z": 0 },
10
+ "shape": {
11
+ "type": "none",
12
+ "offset": { "x": 0, "y": 0, "z": 0 },
13
+ "stretch": { "x": 1, "y": 1, "z": 1 },
14
+ "settings": {},
15
+ "textureLayout": {},
16
+ "unwrapMode": "auto",
17
+ "visible": true,
18
+ "doubleSided": false,
19
+ "shadingMode": "standard"
20
+ },
21
+ "children": [
22
+ {
23
+ "id": "body",
24
+ "name": "Body",
25
+ "position": { "x": 0, "y": 8, "z": 0 },
26
+ "orientation": { "w": 1, "x": 0, "y": 0, "z": 0 },
27
+ "shape": {
28
+ "type": "box",
29
+ "offset": { "x": 0, "y": 0, "z": 0 },
30
+ "stretch": { "x": 1, "y": 1, "z": 1 },
31
+ "settings": {
32
+ "size": { "x": 8, "y": 12, "z": 4 }
33
+ },
34
+ "textureLayout": {
35
+ "front": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
36
+ "back": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
37
+ "left": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
38
+ "right": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
39
+ "top": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
40
+ "bottom": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 }
41
+ },
42
+ "unwrapMode": "custom",
43
+ "visible": true,
44
+ "doubleSided": false,
45
+ "shadingMode": "standard"
46
+ },
47
+ "children": []
48
+ },
49
+ {
50
+ "id": "head",
51
+ "name": "Head",
52
+ "position": { "x": 0, "y": 18, "z": 0 },
53
+ "orientation": { "w": 1, "x": 0, "y": 0, "z": 0 },
54
+ "shape": {
55
+ "type": "box",
56
+ "offset": { "x": 0, "y": 0, "z": 0 },
57
+ "stretch": { "x": 1, "y": 1, "z": 1 },
58
+ "settings": {
59
+ "size": { "x": 8, "y": 8, "z": 8 }
60
+ },
61
+ "textureLayout": {
62
+ "front": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
63
+ "back": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
64
+ "left": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
65
+ "right": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
66
+ "top": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
67
+ "bottom": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 }
68
+ },
69
+ "unwrapMode": "custom",
70
+ "visible": true,
71
+ "doubleSided": false,
72
+ "shadingMode": "standard"
73
+ },
74
+ "children": []
75
+ },
76
+ {
77
+ "id": "left_arm",
78
+ "name": "LeftArm",
79
+ "position": { "x": -6, "y": 12, "z": 0 },
80
+ "orientation": { "w": 1, "x": 0, "y": 0, "z": 0 },
81
+ "shape": {
82
+ "type": "box",
83
+ "offset": { "x": 0, "y": 0, "z": 0 },
84
+ "stretch": { "x": 1, "y": 1, "z": 1 },
85
+ "settings": {
86
+ "size": { "x": 4, "y": 12, "z": 4 }
87
+ },
88
+ "textureLayout": {
89
+ "front": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
90
+ "back": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
91
+ "left": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
92
+ "right": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
93
+ "top": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
94
+ "bottom": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 }
95
+ },
96
+ "unwrapMode": "custom",
97
+ "visible": true,
98
+ "doubleSided": false,
99
+ "shadingMode": "standard"
100
+ },
101
+ "children": []
102
+ },
103
+ {
104
+ "id": "right_arm",
105
+ "name": "RightArm",
106
+ "position": { "x": 6, "y": 12, "z": 0 },
107
+ "orientation": { "w": 1, "x": 0, "y": 0, "z": 0 },
108
+ "shape": {
109
+ "type": "box",
110
+ "offset": { "x": 0, "y": 0, "z": 0 },
111
+ "stretch": { "x": 1, "y": 1, "z": 1 },
112
+ "settings": {
113
+ "size": { "x": 4, "y": 12, "z": 4 }
114
+ },
115
+ "textureLayout": {
116
+ "front": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
117
+ "back": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
118
+ "left": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
119
+ "right": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
120
+ "top": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 },
121
+ "bottom": { "offset": { "x": 0, "y": 0 }, "mirror": { "x": false, "y": false }, "angle": 0 }
122
+ },
123
+ "unwrapMode": "custom",
124
+ "visible": true,
125
+ "doubleSided": false,
126
+ "shadingMode": "standard"
127
+ },
128
+ "children": []
129
+ }
130
+ ]
131
+ }
132
+ ]
133
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blockymodel-web",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Web-based 3D editor for BlockyModel format with transform gizmos, hierarchy panel, property editing, and undo/redo",
5
5
  "type": "module",
6
6
  "main": "./dist/blockymodel-web.umd.cjs",