0
ver.2.5 viewer.js를 사용할 때. 한 뷰어에서 3 개의 rvt 모델 (건물, 각 3 층을 모델로 분할)을로드 할 수 있으며 완벽하게 맞습니다.Forge 뷰어에서 다중 URN로드
최신 viewer.js (v.2.10)로 전환하면 세 개의 rvt 모델이 서로 겹칩니다.
은 내가 V2.5 뷰어 및 V2.10 뷰어의 차이를 확인하고, V2.5은 다음과 같은 코드를 가지고 : 나는를 편집하지 않고 V2.5 뷰어와 같은 결과를 얻을 수있는 방법
//If there is already a model loaded, we need to use the same globaOffset as the first model,
//with the assumption that multiple models are loaded into the same space (more or less).
if (this.viewer3DImpl.model && !options.globalOffset) {
options.globalOffset = this.viewer3DImpl.model.getData().globalOffset;
}
을 2.10 뷰어 소스?
나에게 맞는 말이죠. 여분의 모델을 첫 번째 모델과 동일한 위치에 반드시 삽입하지 않아도되므로 더 많은 유연성을 제공합니다. –