2014-05-02から1日間の記事一覧
(作業メモばかりで申し訳ありません。。) やっとわかってきました。 Three.js では、複数のオブジェクトを一つの Object3D に追加して一括管理します。 : GINPRO / SQLの窓と銀プログラマ THREE.UserCubes1 = function ( scene, cubeSize, cubeNum, displayS…
three.js - documentation Object3D Base class for scene graph objects. Constructor Object3D() The constructor takes no arguments. Properties .parent Object's parent in the scene graph. .children Array with object's children. .rotation Objec…
結局数学に立ち返る。 [Q&A] 3次元の回転角度の求め方について教えてください。 【OKWave】
演算の都合上、二つのベクトルのオイラー角を求めないといけない。 Euler Euler Angles. Example var a = new THREE.Euler( 0, 1, 1.57, 'XYZ' ); var b = new THREE.Vector3( 1, 0, 1 ); b.applyEuler(a); Constructor Euler( x, y, z, order ) x -- Float …