Is there a way to display a model from multiple camera angles in Autodesk Forge Viewer without loading the model multiple times?

huangapple go评论62阅读模式
英文:

Is there a way to display a model from multiple camera angles in Autodesk Forge Viewer without loading the model multiple times?

问题

我们想要使用Autodesk Forge Viewer来实现一个屏幕,您可以在其中从多个摄像机角度查看加载的模型。例如,一个视图显示模型的透视视图,另一个视图显示模型从正交摄像机的顶部视图。

具有2个查看器画布和示例模型的模拟

我们已经搜索了文档和Web中可以找到的查看器应用程序示例,但尚未找到如何实现这一点的任何提示。
我们还通过使用相同的文档URN初始化了两个查看器来实现一个原型解决方案。这让我们实现了我们想要的效果,但对于大型模型,内存消耗太高,WebGL上下文可能会崩溃。

英文:

We would like to use the Autodesk Forge Viewer to implement a screen in which you can see the loaded model(s) from multiple camera angles. For example, one view in which the model is displayed from a perspective and another view in which we display the model from the top in an orthographic camera.
Mockup with 2 viewer canvases and an example model

We already searched the documentation and examples of viewer applications that can be found in the web but did not encounter any hints yet how this could be implemented.
We also implemented a prototype solution by initializing two viewers with the same document URN. This let's us implement what we want but for large models the memory consumption is too high and the WebGL context is likely to crash.

答案1

得分: 1

抱歉,当前的 Viewer SDK 不会提供这项功能,但在与工程团队讨论后,可能可以使用目前仅供内部使用的功能来实现这一点。我们将探索这个领域,并将在有结果时更新这个答案,所以请继续关注。

链接在这里:https://aps.autodesk.com/blog/sharing-resources-among-multiple-viewers Is there a way to display a model from multiple camera angles in Autodesk Forge Viewer without loading the model multiple times?

英文:

Unfortunately the current Viewer SDK does not provide this capability out-of-the-box but after talking to the engineering team, it might be possible to achieve this using a feature that is currently only available for internal use. We will explore this area and update this answer with the results, so please stay tuned.

Aaand here it is: https://aps.autodesk.com/blog/sharing-resources-among-multiple-viewers Is there a way to display a model from multiple camera angles in Autodesk Forge Viewer without loading the model multiple times?

huangapple
  • 本文由 发表于 2023年2月14日 00:07:56
  • 转载请务必保留本文链接:https://go.coder-hub.com/75438399.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定