Forge Viewer 3ds Max视口 [英] Forge viewer 3ds Max Viewport

查看:75
本文介绍了Forge Viewer 3ds Max视口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用3ds Max测试新的工作流程,当我将其转换为Forge查看器时,我的模型/场景会始终以顶视图"加载.我试图将视图另存为透视图,但在查看器中仍得到相同的结果.我记得在Revit中,我可以从协作"设置中选择视图.如何在3ds Max中修改视图?我正在翻译MAX文件.非常感谢.

I'm testing out a new workflow with 3ds Max and my model/scene keeps loading in Top view when I translate it into the Forge viewer. I've tried to save the view as a perspective view but I'm still getting the same result in the viewer. In Revit I remember that I could choose the view from the Collaboration settings. How would I modify the view in 3ds max? I'm translating a MAX file. Thanks a lot.

推荐答案

3ds Max不像Revit那样具有命名3d视图"的概念. 3ds Max主要将几何图形存储在其全局空间中的场景文件(.MAX)中.它还保存了视口配置(因此在加载时您可以拥有相同的视图),但是模型派生服务转换器没有命名3d视图的想法.

3ds Max does not have the same idea of a "named 3d view" like Revit does. 3ds Max mainly stores geometry in it's global space, in it's scene file (.MAX). It is also saving the viewport configuration (so on load you can have same view(s)), but the idea of named 3d views is not there for the model derivative service translator.

这意味着您可能必须先重新定位场景中的几何图形,然后再发送到翻译器以获取所需的最终方向.或者,如果存在问题,则可以使用查看器定向视图以获取正确的初始视图.例如,要调整视图的方向,您可以在查看器开始时执行以下操作:

This means you may have to reorient the geometry in the scene, before sending to the translator to get the desired resulting orientation. Or you can orient the view using the viewer to get the correct starting view if that is the issue. For example, to orient the view, you could do this on viewer start:

var front = new THREE.Vector3(0, -1, 0);
viewer.navigation.setPosition(front);
viewer.fitToView (true) ;

请注意3ds Max的桌面导出选项中有一个导出到LMV SVF".这可能是一种无需发送到模型派生服务即可进行测试的好方法.您可以在本地导出到SVF,然后使用Forge Viewer可以查看本地模型(我使用firefox,因为它不会抱怨本地磁盘负载中的跨域错误).同样,在使用3ds Max场景来了解翻译器行为时,这是一个不错的测试方案.希望能帮上忙,凯文

Note that 3ds Max has an "Export to LMV SVF" in it's desktop export options. This can be a nice way to test without sending to the model derivative service. You can export to SVF locally, then using the Forge Viewer you can view the local model (I use firefox as it does not complain about cross-origin error in the local disk load). Again, this is nice testing scenario when working with 3ds Max scenes to understand the translator behavior. Hope it helps, kevin

这篇关于Forge Viewer 3ds Max视口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆