Reputation: 67
I'm looking for methods to set the distance between the two models, because after loading these models, one model is inside the second.
Upvotes: 0
Views: 82
Reputation: 5342
The easiest way would be to use placement transformation (translation, rotation and scaling) in your options to load the model - see more here
var loadOptions = {
placementTransform: THREE.Matrix4, //your transform matrix goes here
globalOffset:{x:0,y:0,z:0}
};
...
viewer.loadModel(svfPath,loadOptions)
See live sample here
Upvotes: 1