我刚刚在3DConnexion的空间上获得了帮助,我试图将其设置为与Forge查看器一起工作,我在SDK中找到了一些JS样本,可以使用3.js,它的工作就像魅力一样。
从我的理解来看,如果我不禁想知道是否可以将示例中的某些代码转换为直接与Forge查看器合作,则Forge和Trie.js都在使用WebGL。
链接到3dConnexion的完整SDK
> //3dconnexion.com/technical_support/web_threejs.html“ rel =“ nofollow noreferrer”> https://3dconnexion.com/technical_support/web_threejs.html
I just got my hands on 3dconnexion's spacemouse and im trying to set it up to work with the forge viewer, i found some JS samples in the SDK for three.js and it works like a charm.
from my understanding is that both forge and three.js are using webgl if i couldn't help but wonder if it would be possible to convert some of the code in the sample here to directly work with the forge viewer.
link to the complete SDK from 3dconnexion https://3dconnexion.com/my/wp-content/uploads/sites/63/2020/08/3DxWare_SDK_v4-0-2_r17624.zip
link to three.js sample online https://3dconnexion.com/technical_support/web_threejs.html
发布评论
评论(1)
不幸的是,Forge查看器不支持3DConnexion鼠标。您可以尝试将3DConnexion的鼠标输入映射到正常的鼠标动作和键盘输入作为解决方法。
Unfortunately, Forge Viewer doesn't support 3dconnexion mouse. You might try to map 3dconnexion's mouse inputs to normal mouse actions and keyboard inputs as a workaround.