我正在寻找一种技术,将我的下多边形模型转换为更详细的模型。
如何为我的json对象添加细分修饰符?
var loader = new THREE.JSONLoader();
var group = new THREE.Object3D();
loader.load('/models/model.js', function(geometry){
var mymodel = new THREE.Mesh(geometry, material);
mymodel .position.set( 0, 0.002, 0 );
mymodel .rotation.set( 0, - Math.PI / 0.67, 0 );
mymodel .scale.set( 0.085, 0.085, 0.085 );
group.add( mymodel );
});
scene.add( group );