forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Migration
alteredq edited this page Aug 20, 2012
·
129 revisions
##r50 → r51dev
-
CameraHelperAPI changes (in progress) - texture uniform changes (in progress): texture units are now assigned automatically, texture object goes to
valueproperty instead oftextureone{ type: "t", value: 0, texture: map }=>{ type: "t", value: map }
##r49 → r50
-
Vector3's.getRotationFromMatrix( matrix, scale )toVector3's.setEulerFromRotationMatrix( matrix, order ). -
Vector3's.getEulerXYZFromQuaternion( quaternion )and.getEulerYZXFromQuaternion( quaternion )to.setEulerFromQuaternion( quaternion, order ). -
DOMRendererandSVGRendererno longer included in common build. - texture coordinates aren't anymore flipped in the geometries, instead textures have
flipYproperty (true by default); all models need to be re-exported / reconverted (tools have been updated as well).
workaround:uv.v = 1 - uv.v; -
PlaneGeometrychanged back to vertical orientation (facing screen instead of laying on the ground).
workaround:mesh.rotation.x = - Math.PI / 2;orgeometry.applyMatrix( new THREE.Matrix4().makeRotationX( - Math.PI / 2 ) ); -
doubleSided/flipSidedproperties moved fromObject3DtoMaterial'ssideproperty (THREE.FrontSide,THREE.BackSideandTHREE.DoubleSide). -
objectMatrixin shaders was renamed tomodelMatrix. - JIT caching removed from
Animation. -
geometry.dynamicis nowtrueby default. -
Three.jsbuild renamed tothree.min.js.
##r48 → r49
- changed
PlaneGeometryfrom vertical to horizontal orientation. - renamed
__dirtyXXXattribute properties toxxxNeedUpdate. - removed
Vertexclass, useVector3instead.
##r45 → r46
-
loader.load( { model: url, callback: callback } )toloader.load( url, callback ).