-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathTODO
272 lines (234 loc) · 9.55 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
## INFO ########################################################################
## ##
## plastey ##
## ======= ##
## ##
## Oculus Rift + Leap Motion + Python 3 + C + Blender + Arch Linux ##
## Version: 0.2.2.122 (20150514) ##
## File: TODO ##
## ##
## For more information about the project, visit ##
## <http://plastey.kibu.hu>. ##
## Copyright (C) 2015 Peter Varo, Kitchen Budapest ##
## ##
## This program is free software: you can redistribute it and/or modify it ##
## under the terms of the GNU General Public License as published by the ##
## Free Software Foundation, either version 3 of the License, or ##
## (at your option) any later version. ##
## ##
## This program is distributed in the hope that it will be useful, but ##
## WITHOUT ANY WARRANTY; without even the implied warranty of ##
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ##
## See the GNU General Public License for more details. ##
## ##
## You should have received a copy of the GNU General Public License ##
## along with this program, most likely a file in the root directory, ##
## called 'LICENSE'. If not, see <http://www.gnu.org/licenses>. ##
## ##
######################################################################## INFO ##
#---------------------------- 16 POSTS IN 9 FILES -----------------------------#
TODO:
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 1
- file: pyvr/build/oculus.c
line: 310
note: |
make index optional !!!
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 2
- file: pylinmath/linmath/linmath.h
line: 383
note: |
The negation of of can be spared by swapping the order of
* operands in the following cross products in the right way.
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 3
- file: pylinmath/linmath/linmath.h
line: 511
note: |
Take care of non-orthogonal case.
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 4
- file: pyvr/src/oculus.c
line: 310
note: |
make index optional !!!
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 5
- file: communication.py
line: 42
note: |
instead of pickle use struct => https://docs.python.org/3.4/library/struct.html
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 6
- file: surface.py
line: 78
note: |
Check if self._vertices.children is still a KX_VertexProxy. It is
most probably not => update all the function definition's return signatures
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 7
- file: genenv.py
line: 174
note: |
this is not working as it should be:
Set context and toggle to camera view
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 8
- file: genenv.py
line: 213
note: |
this is not working as it should be:
Set context and toggle
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 9
- file: genenv.py
line: 263
note: |
figure out how to set values, when falloff_type='CUSTOM_CURVE'
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 10
- file: sphere.py
line: 61
note: |
calculate size based on region_count and mesh_face_width
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 11
- file: plane.py
line: 89
note: |
it is very likely that the vertices list is not needed!
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 12
- file: app.py
line: 116
note: |
make build-script work :)
Import cutils modules => versioning
import build
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 13
- file: app.py
line: 272
note: |
fake casted shadow with negative lamp:
https://www.youtube.com/watch?v=iJUlqwKEdVQ
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 14
- file: app.py
line: 431
note: |
do I still need to set the states of these?
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 15
- file: app.py
line: 437
note: |
positioner(*finger.tip_position) => leaking memory and never returns
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 16
- file: app.py
line: 448
note: |
use `leap_frame.images` as background
#----------------------------- 2 POSTS IN 2 FILES -----------------------------#
BUG:
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 1
- file: pylinmath/build/linmath.c
line: 457
note: |
Python/C API has this bug, if one wants to define
a static method which also accepts keyword arguments
one should use the:
`METH_VARARGS | METH_KEYWORDS | METH_STATIC`
ml_flags, otherwise, it will raise the following:
Bad call flags in PyCFunction_Call.
METH_OLDARGS is no longer supported!
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 2
- file: pylinmath/src/linmath.c
line: 457
note: |
Python/C API has this bug, if one wants to define
a static method which also accepts keyword arguments
one should use the:
`METH_VARARGS | METH_KEYWORDS | METH_STATIC`
ml_flags, otherwise, it will raise the following:
Bad call flags in PyCFunction_Call.
METH_OLDARGS is no longer supported!
#----------------------------- 7 POSTS IN 3 FILES -----------------------------#
HACK:
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 1
- file: plastey.py
line: 464
note: |
Is this really the best option we have, to get into fullscreen,
other than using the blender's fullscreen option, which will
unfortunately resize the display's resolution??? :(
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 2
- file: hand.py
line: 153
note: |
self.ring._object.setVisible(False, True)
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 3
- file: hand.py
line: 192
note: |
exceptions = set(chain(exceptions, ('ring', 'pinky')))
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 4
- file: app.py
line: 175
note: |
There is no 'NONE_KEY' defined, so setting the escape key to 0
could cause undefined behaviour, as it is undocomunted. During
the tests, this setting did not activate any of the keys, so it
is a working work-around. (At least on Arch Linux)
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 5
- file: app.py
line: 264
note: |
Surface arguments should be protoype_creator methods, instead of
actual objects, but right now, prototyping the surface object
with its armature and all bones are not copying.. or something
like that..
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 6
- file: app.py
line: 275
note: |
yuck.. this is getting out of hands now :(:(:(
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 7
- file: app.py
line: 349
note: |
The ugliest hack I've ever done...
#----------------------------- 2 POSTS IN 2 FILES -----------------------------#
NOTE:
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 1
- file: pylinmath/linmath/linmath.h
line: 353
note: |
Degrees are an unhandy unit to work with.
* linmath.h uses radians for everything!
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 2
- file: app.py
line: 148
note: |
local->global: http://blenderartists.org/forum/archive/index.php/t-180690.html
#----------------------------- 1 POSTS IN 1 FILES -----------------------------#
XXX:
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# 1
- file: pylinmath/linmath/linmath.h
line: 510
note: |
The way this is written only works for othogonal matrices.