提交 3a3c742e 编写于 作者: M Mr.doob

Improved fbx example.

上级 07f88bc9
......@@ -93,7 +93,7 @@
};
var loader = new THREE.FBXLoader( manager );
loader.load( 'models/fbx/xsi_man.fbx', function( object ) {
loader.load( 'models/fbx/xsi_man_skinning.fbx', function( object ) {
object.traverse( function( child ) {
......@@ -138,6 +138,10 @@
window.addEventListener( 'resize', onWindowResize, false );
light = new THREE.HemisphereLight(0xffffff, 0x444444, 1.0);
light.position.set(0, 1, 0);
scene.add(light);
light = new THREE.DirectionalLight(0xffffff, 1.0);
light.position.set(0, 1, 0);
scene.add(light);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册