質問編集履歴

3

提示コードを追加

2020/09/03 01:52

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -29,3 +29,121 @@
29
29
 
30
30
 
31
31
  参考サイト: https://qiita.com/mebiusbox2/items/044c7a43b94e4ae250b7
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+ ```ここに言語を入力
40
+
41
+ {
42
+
43
+ "version":1,
44
+
45
+ "vertexformat":"PosNormTex",
46
+
47
+ "shader":"BasicMesh",
48
+
49
+ "textures":[
50
+
51
+ "Assets/Cube.png"
52
+
53
+ ],
54
+
55
+ "specularPower":100.0,
56
+
57
+ "vertices":[
58
+
59
+ [-0.5,-0.5,-0.5,0,0,-1,0,0],
60
+
61
+ [0.5,-0.5,-0.5,0,0,-1,1,0],
62
+
63
+ [-0.5,0.5,-0.5,0,0,-1,0,-1],
64
+
65
+ [0.5,0.5,-0.5,0,0,-1,1,-1],
66
+
67
+ [-0.5,0.5,0.5,0,1,0,0,-1],
68
+
69
+ [0.5,0.5,0.5,0,1,0,1,-1],
70
+
71
+ [-0.5,-0.5,0.5,0,0,1,0,0],
72
+
73
+ [0.5,-0.5,0.5,0,0,1,1,0],
74
+
75
+ [-0.5,0.5,-0.5,0,0,-1,0,-1],
76
+
77
+ [0.5,-0.5,-0.5,0,0,-1,1,0],
78
+
79
+ [-0.5,0.5,-0.5,0,1,0,0,-1],
80
+
81
+ [0.5,0.5,-0.5,0,1,0,1,-1],
82
+
83
+ [-0.5,0.5,0.5,0,1,0,0,-1],
84
+
85
+ [-0.5,0.5,0.5,0,0,1,0,-1],
86
+
87
+ [0.5,0.5,0.5,0,0,1,1,-1],
88
+
89
+ [-0.5,-0.5,0.5,0,0,1,0,0],
90
+
91
+ [-0.5,-0.5,0.5,0,-1,0,0,0],
92
+
93
+ [0.5,-0.5,0.5,0,-1,0,1,0],
94
+
95
+ [-0.5,-0.5,-0.5,0,-1,0,0,0],
96
+
97
+ [0.5,-0.5,-0.5,0,-1,0,1,0],
98
+
99
+ [0.5,-0.5,-0.5,1,0,0,1,0],
100
+
101
+ [0.5,-0.5,0.5,1,0,0,1,0],
102
+
103
+ [0.5,0.5,-0.5,1,0,0,1,-1],
104
+
105
+ [0.5,0.5,0.5,1,0,0,1,-1],
106
+
107
+ [-0.5,-0.5,0.5,-1,0,0,0,0],
108
+
109
+ [-0.5,-0.5,-0.5,-1,0,0,0,0],
110
+
111
+ [-0.5,0.5,0.5,-1,0,0,0,-1],
112
+
113
+ [-0.5,0.5,-0.5,-1,0,0,0,-1]
114
+
115
+ ],
116
+
117
+ "indices":[
118
+
119
+ [2,1,0],
120
+
121
+ [3,9,8],
122
+
123
+ [4,11,10],
124
+
125
+ [5,11,12],
126
+
127
+ [6,14,13],
128
+
129
+ [7,14,15],
130
+
131
+ [18,17,16],
132
+
133
+ [19,17,18],
134
+
135
+ [22,21,20],
136
+
137
+ [23,21,22],
138
+
139
+ [26,25,24],
140
+
141
+ [27,25,26]
142
+
143
+ ]
144
+
145
+ }
146
+
147
+
148
+
149
+ ```

2

文章を編集

2020/09/03 01:52

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -1,3 +1,9 @@
1
+ API: OpenGL
2
+
3
+
4
+
5
+
6
+
1
7
  ローカル空間--(モデル変換)--------------↓
2
8
 
3
9
  ワールド空間--(ビュー変換)--------------↓

1

タイトルを編集しました

2020/09/03 01:34

投稿

退会済みユーザー
test CHANGED
@@ -1 +1 @@
1
- 座標変換でどこでどの順番でスケール、回転、平行移動を行うのか知りたい
1
+ 座標変換でどこでどの順番でスケール、回転、平行移動を行うのか知りたい 自分の知識が正しいのか知りたい
test CHANGED
File without changes