最終更新:2018-09-03 (月) 05:22:20 (2055d)
three.js/構成要素
three.js/オブジェクト
three.js/レンダラ
- THREE.WebGLRenderer
- renderer.render(scene, camera);
- renderer.shadowMap
three.js/カメラ
- THREE.PerspectiveCamera
- THREE.OrthographicCamera?
three.js/シーン
three.js/光源
- THREE.DirectionalLight?
- THREE.AmbientLight
- THREE.PointLight?
- THREE.SpotLight
three.js/メッシュ
- Class representing triangular polygon mesh based objects.
- ジオメトリ(形状)とマテリアル(素材)の二種類を用意する必要がある
- THREE.Mesh
THREE.Mesh(geometry, material);
three.js/ジオメトリ
three.js/マテリアル
- 色や質感の情報 / 物体の質感設定
- THREE.MeshBasicMaterial - This material is not affected by lights
- THREE.MeshStandardMaterial - A standard physically based material, using Metallic-Roughness workflow.
- THREE.MeshNormalMaterial?