This repository has been archived by the owner on Apr 8, 2019. It is now read-only.
/
oldhistory.txt
436 lines (347 loc) · 15.8 KB
/
oldhistory.txt
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
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
*69
THREE - Added type property to all relevant objects.Added MOUSE enum
add:THREE.java
public static final class MOUSE
add:Object3D.java
public final native String getType()
Audio,AudioListener - Added.
create:Audio.java
create:AudioListener.java
add:THREE.java
public static final native AudioListener AudioListener()
public static final native Audio Audio(AudioListener listener)
BufferAttribute - Added clone()
add:BufferAttribute.java
public final native BufferAttribute clone()
Camera - Added getWorldDirection() method
Object3D implement it
CanvasRenderer - Moved to examples folder.
move:CanvasRenderer.java to com.akjava.gwt.three.client.examples.renderers
CompressedTextureLoader - Moved back from examples folder
create:CompressedTextureLoader.java
Geometry - Added fromBufferGeometry(),Moved makeGroups() method to WebGLRenderer
add:WebGLRenderer.java
public final native JSParameter makeGroups(Geometry geometry,boolean usesFaceMaterial)
Group - Added. Use it instead of Object3D when possible
create:Group.java
Matrix3,Matrix4 - Simplified constructor
deprecated:THREE.java
public static final native Matrix4 Matrix4(double n11,double n12,double n13,double n14,double n21,double n22,double n23,double n24,double n31,double n32,double n33,double n34,double n41,double n42,double n43,double n44)
public static final native Matrix3 Matrix3(double n11,double n12,double n13,double n21,double n22,double n23,double n31,double n32,double n33)
Object3D - Added getWorld*
add:Object3D.java
public final native Vector3 getWorldPosition(Vector3 optionalTarget)
public final native Quaternion getWorldQuaternion(Quaternion optionalTarget)
public final native Euler getWorldRotation(Euler optionalTarget)
public final native Vector3 getWorldScale(Vector3 optionalTarget)
public final native Vector3 getWorldDirection(Vector3 optionalTarget)
OrthographicCamera,PerspectiveCamera - Added zoom property
add:OrthographicCamera.java,PerspectiveCamera.java
public final native double getZoom()
PlaneBufferGeometry - Added. PlaneGeometry relies on this one
create:PlaneBufferGeometry.java
Projector - Moved to examples folder.
move:Projector.java to com.akjava.gwt.three.client.examples.renderers
STOP SUPPORT THIS ON GWT SO FAR.
Quaternion,Vector2,Vector3,Vector4 - Added offset parameter to fromArray() method,Added array and offset parameters to toArray() method.
add:*.java
public final native * fromArray(JsArrayNumber array,int offset)
public final native JsArrayNumber toArray(JsArrayNumber array)
public final native JsArrayNumber toArray(JsArrayNumber array,int offset)
Vector3 -Added project() and unproject() methods. Previously Projector.*projectVector()
add:Vector3.java
public final native Vector3 project(Camera camera)
public final native Vector3 unproject(Camera camera)
VideoTexture - Added
create:VideoTexture.java
WebGLRenderer - *
add:WebGLRenderer.java
public final native void uploadTexture (Texture texture)
*68
Animation - Refactored skinning code
deprecated:Animation.java
public final native boolean isIsPaused()
public final native void setIsPaused(boolean isPaused)
AnimationHandler - Refactoring
deprecated:AnimationHandler.java
public final native Animation remove(String name)
public static native final void removeFromUpdate(Animation data)
public static native final void add(AnimationData data)
public static native final void removeFromUpdate(Animation data)
public static native final void addToUpdate(Animation data)
add:AnimationHandler.java
public static native final void stop(Animation data)
public static native final void play(Animation data)
public final native Animation init(String name)
Bone - Refactored skinning code.
deprecated:Bone.java
public final native Matrix4 getSkinMatrix()
public final native void setSkinMatrix(Matrix4 skinMatrix)
public final native void update(Matrix4 parentSkinMatrix,boolean forceUpdate)
Box3 - Removed addPoint
deprecated:Box3.java
public final native void addPoint(Vector3 point)
BufferAttribute - Refactoring and simplification
create:BufferAttribute.java
BufferGeometry - Added fromGeometry method
deprecated:BufferGeometry.java
public final native void addAttribute(Object name,Object type,Object numItems,Object itemSize)
add:BufferGeometry.java
public final native BufferGeometry fromGeometry(Geometry geometry, JavaScriptObject settings)
public final native void addDrawCall(int start,int count,int indexOffset)
public final native void addAttribute(String name,BufferAttribute attribute)
public final native BufferAttribute getAttribute(String name)
CombinedCamera - Moved to examples
move:CubeCamera.java to com.akjava.gwt.three.client.js.cameras
move:CombinedCamera.java to com.akjava.gwt.three.client.examples.camera
CubeTexture - Created
create:CubeTexture.java
GeometryUtils - Moved center method to Geometry.Moved remaining file to examples.
move:GeometryUtils.java to com.akjava.gwt.three.client.examples.utils
ImageUtils - Moved loadDDSTextue to DDSLoader in examples.
deprecated:ImageUtils.java
public static final native CompressedTexture loadDDSTexture(String url,JavaScriptObject mapping,ImageUtilsLoadHandler handler)
KeyFrameAnimation - Refactored skinning code.
add:AnimationHandler
public final native Animation init(AnimationData data)
Line - Added raycast() method
add:Line.java
public final native void raycast(Raycaster raycaster,JsArray<Intersect> intersects)
add:Intersect.java
public final native double getDistance()
LOD - Added raycast() method
add:LOD.java
public final native void raycast(Raycaster raycaster,JsArray<Intersect> intersects)
Loader - Added Handlers to allow custom file loaders.
implementing THREE.Loader.Handlers is skipped(i have no idea how to handle regex-js-class on GWT/Java)
Mesh - Added raycast() method
add:Mesh.java
public final native void raycast(Raycaster raycaster,JsArray<Intersect> intersects)
MeshBasicMaterial,MeshLambertMaterial,MeshPhongMaterial - Added alphaMap property.
add:MeshBasicMaterialParameter.java,MeshLambertMaterialParameter.java,MeshPhongMaterialParameter.java
public final native MeshBasicMaterialParameter alphaMap(Texture alphaMap)
MorphAnimMesh - Added interpolateTargets() method
add:MorphAnimMesh.java
public final native void interpolateTargets(int a,int b,double t)
add:Object3D.java
public static final native Vector3 getDefaultUp()
public final native void traverseVisible(Object callback)
deprecated:Object3D.java
public final native void setRotation(Euler rotation)
public final native void setQuaternion(Quaternion quaternion)
public final native void setScale(Vector3 scale)
public final native Object getDescendants(Object array)
ParticleSystem - Renamed to PointCloud
rename:ParticleSystem.java to PointCloud.java
PointCloud - Added raycast() method.
add:PointCloud.java
public final native void raycast(Raycaster raycaster,JsArray<Intersect> intersects)
ParticleSystemMaterial - Renamed to PointCloudMaterial
rename:ParticleSystemMaterial.java to PointCloudMaterial.java
Quaternion - Added dot method
add:Quaternion.java
public final native double dot(Vector4 vector)
Ray - Added intersectSphere method
add:Ray.java
public final native Vector3 intersectSphere (Sphere sphere,Vector3 optionalTarget)
SceneLoader - Moved to examples folder
move:SceneLoader.java to com.akjava.gwt.three.client.examples.loaders
Skeleton - Refactored skinning code
add:THREE.java
public static final native Skeleton Skeleton(JsArray<Bone> bones,JsArray<Matrix4> boneInverses,boolean useVertexTexture)
SkeletonHelper - Refactored skinning code
add:SkeletonHelper.java
public final native Object3D getRoot()
SkinnedMesh - Refactored skinning code
todo:SkinnedMesh.java
Sprite - Added raycast() method.
add:Sprite.java
public final native void raycast(Raycaster raycaster,JsArray<Intersect> intersects)
Texture - Added DEFAULT_IMAGE static property
add:Texture.java
public static final native Texture getDefaultImage()
public static final native JavaScriptObject getDefaultMapping()
WebGLRenderer - etc
deprecated:WebGLRenderer
public final native boolean isAutoUpdateObjects()
public final native void setAutoUpdateObjects(boolean autoUpdateObjects)
*67
Animation - Implemented skeletal animation blending.
Animation.java
add:void play(double startTime,double weight)
AnimationHandler - Make it possible to remove animationData.
AnimationHandler.java
add:public final native Animation remove(String name)
Cache - Created class for caching files.
create:Cache.java
CanvasRenderer - etc
seems no effect on Java.setViewport already support WebGLRenderer which CanvasRenderer extended.
DirectionLightHelper
seems no effect on Java.
Face3 - Removed centroid.
deprecated:Face3.java
public final native Vector3 getCentroid()
public final native void setCentroid(Vector3 centroid)
Geometry - Removed computeCentroids().
deprecated:Geometry.java
public final native void computeCentroids()
add:Geometry.java
public native final void merge(Geometry geo,Matrix4 matrix,int materialIndexOffset)
public native final void merge(Geometry geo,Matrix4 matrix)
public native final void merge(Geometry geo)
GeometryUtils -Removed triangulateQuads.Moved merge to Geometry.
deprecated:GeometryUtils.java
public static final native void triangulateQuads(Geometry geometry)
public static native final void merge(...)
ImageLoder - Implemented Cache
add:ImageLoader.js
public final native Cache getCache()
Matrix3 - Rename multiplyVector3Array() to applyToVector3Array()
deprecated:Matrix3.java
public final native JsArrayNumber multiplyVector3Array(JsArrayNumber a)
add:Matrix3.java
public final native JsArrayNumber applyToVector3Array(JsArrayNumber a)
public final native JsArrayNumber applyToVector3Array(JsArrayNumber a,int offset,int length)
Added flattenToArrayOffset methods.
add:Matrix3.java
public final native JsArrayNumber flattenToArrayOffset(JsArrayNumber a,int offset)
Matrix4 - Rename multiplyVector3Array() to applyToVector3Array()
deprecated:Matrix4.java
public final native JsArrayNumber multiplyVector3Array(JsArrayNumber array)
add:Matrix4.java
public final native JsArrayNumber applyToVector3Array(JsArrayNumber a)
public final native JsArrayNumber applyToVector3Array(JsArrayNumber a,int offset,int length)
Skeleton - Created class to handle skeletons/bones
create:Skelton.java
add:SkinnedMesh.java
public final native Skelton getSkelton()
public final native void setSkelton(Skelton skelton)
deprecated:SkinnedMesh.java
public final native boolean isUseVertexTexture()
public final native void setUseVertexTexture(boolean useVertexTexture)
public final native JsArray<Bone> getBones()
public final native void setBones(JsArray<Bone> bones)
public final native JsArray getBoneMatrices()
public final native void setBoneMatrices(JsArray boneMatrices)
public final native Bone addBone(Bone bone)
SkeletonHelper - Added class to visualise Skeletons.
add:SkeletonHelper.java
SVGRenderer - examples sot support yet.
WebGLRenderer
add:GWTRenderObject.java
public native final GWTRenderObject depth(boolean depth)
public native final GWTRenderObject stencil(boolean stencil)
public native final GWTRenderObject logarithmicDepthBuffer(boolean logarithmicDepthBuffer)
*66
BufferGeometry - Added computeOffsets and reorderBuffers methods.,Removed dynamic property.
add:BufferGeometry.java
public final native JsArray<JavaScriptObject> computeOffsets(int indexBufferSize)
public final native void reorderBuffers(ArrayBuffer indexBuffer,ArrayBuffer indexMap,int vertexCount)
remove:BufferGeometry.java
public final native boolean isDynamic()
public final native void setDynamic(boolean dynamic)
Color - Support for new THREE.Color( r, g, b )
add:THREE.java
public static native final Color Color(int r,int g,int b)
CubeGeometry - Renamed to BoxGeometry
renamed:CubeGeometry.java -> BoxGeometry.java
LOD - Added clone()
add:LOD.java
LOD clone(LOD object)
Math - Added isPowerOfTwo()
add:Math.java
public static final native boolean isPowerOfTwo(double value)
MeshPhongMaterial - Removed perPixel property
remove:MeshPhongMaterial.java
public final native boolean isPerPixel()
public final native void setPerPixel(boolean perPixel)
Vector2, Vector3 and Vector4 - Added clampScalar, floor, ceil, round and roundToZero methods
add:Vector2.java,Vector3.java,Vector4.java
public final native Vector* clampScalar(double minVal,double maxVal)
public final native Vector* floor()
public final native Vector* ceil()
public final native Vector* round()
public final native Vector* roundToZero()
Skipped support on GWT
Geometry2 - Started Geometry to Geometry2 transition
Too big change and usually such kind changes would happen again.so I'm watching it.but any patch welcome
This release's update does not affect on GWT
Animation
CanvasRenderer and SoftwareRenderer
ExtrudeGeometry
Path and Shape
Projector
Raycaster
*65
Camera - remove getProjectionMatrixInverse & setProjectionMatrixInverse(Matrix4 projectionMatrixInverse)
Camera.java
EdgesHelper - created new class
add:EdgesHelper.java
add:THREE.java
public static final native EdgesHelper EdgesHelper(Object3D object)
public static final native EdgesHelper EdgesHelper(Object3D object,int hex)
Matrix3 -Added fromArray and toArray methods.
add:Matrix3.java
public final native Matrix3 fromArray(JsArrayNumber array)
public final native JsArrayNumber toArray()
SpriteMaterial - Moved uvOffset and uvScale to texture.offset and texture.repeat
remove:SpriteMaterial.java
public final native Vector2 getUvOffset()
public final native void setUvOffset(Vector2 uvOffset)
public final native Vector2 getUvScale()
public final native void setUvScale(Vector2 uvScale)
WebGLRenderer - Removed physicallyBasedShading property.
remove:WebGLRenderer.java
public final native boolean isPhysicallyBasedShading()
public final native void setPhysicallyBasedShading(boolean physicallyBasedShading)
WireframeHelper - Added line color option
add:THREE.java
public static final native WireframeHelper WireframeHelper(Object3D object,int lineColor)
This release's update does not affect on GWT
BoundingBoxHelper
BufferGeometry
CanvasRenderer - maybe
FaceNormalsHelper
Geometry
ImageUtils
Loader
Matrix4
Object3D
Projector - maybe
Raycaster
Scene
Texture
TorusGeometry
VertexNormalsHelper
VertexTangentsHelper
*r64
I checked all changed it via compare with each code.so skip changes which no effect on wrapper.
but i didn't compare all the code.
ArrowHelper - Added options for setting arrowhead size.
add:THREE.java
public static final native ArrowHelper ArrowHelper(Vector3 dir,Vector3 origin,double length,int hex,double headLength,double headWidth)
add:ArrowHelper.java
public final native void setLength(double length,double headLength,double headWidth)
Box2 - Added optionalTarget to getParameter()
add:Box2.java
public final native Vector2 getParameter(Vector2 point,Vector2 optionalTarget)
Box3 - Added optionalTarget to getParameter()
add:Box3.java
public final native Vector3 getParameter(Vector3 point,Vector3 optionalTarget)
Color - Added optionalTarget to getHSL()
add:Color.java
public final native HSL getHSL(HSL hsl)
Vector3 - get*FromMatrix to setFromMatrix*
deprecate:Vector3.java
public final native Vector3 getPositionFromMatrix(Matrix4 m)
public final native Vector3 getScaleFromMatrix(Matrix4 m)
public final native Vector3 getColumnFromMatrix(int index,Matrix4 matrix)
add:Vector3.java
public final native Vector3 setFromMatrixPosition(Matrix4 m)
public final native Vector3 setFromMatrixScale(Matrix4 m)
public final native Vector3 setFromMatrixColumn(int index,Matrix4 matrix)
WebGLRenderer - Added clearColor, clearDepth and clearStencil methods.
add:WebGLRenderer.java
public final native void clearColor()
public final native void clearDepth()
public final native void clearStencil()