span8
斯潘4
我最近用挤出机来处理平面布置图,希望能将其拉伸成三维建筑模型。但我遇到了很多问题。在这个过程中,我用3dsmax同时生成同一个模型,and compared it with the model generated by Fme.I used Fme Inspster and VS Code to view the Fbx model and compare them.I got some of the following points and discussed them together.
使用FME inspster查看模型时,模型的位置是正确的。However,when using VSCode's 3D Viewer for VSCode module for single display,模型位置倾斜,与原点位置不一致!
我判断有两个参数“几何实例本地原点”和“几何实例矩阵”缺失!Because from the Fbx file generated by 3dsMax,这两个参数都是值,并且位置是正确的。
My question is,why does FME not calculate the attribute values of these two parameters when generating Fbx files?
I found a problem.After Extruder,the generated Fbx file did not calculate the direction of the normal,使模型显示以下图像。
I judge that the "Vertex Normal Pool" parameter is missing!
My question is,为什么在生成FBX文件时,FME不计算曲面的法向?
如本页所示,if it is a simple face,it can be drawn into a cube,但如果它是一个复杂的多边形,局部面的法向将出错。
My question is,为什么在生成FBX文件时,FME要处理复杂的多边形?
FME currently only supports 7.5\6.1,3.js的fbxloader模块支持7.0以上版本。When exporting,you can set the unit,上轴,以及导出的版本。
My question is,为什么在生成FBX文件时,FME对复杂多边形的处理很简单?
hi@开普利,
我可以找到一些关于FBX作者的信息,这些信息可能有助于回答您的一些问题:
关于在vscode的3D查看器中打开时模型的“倾斜”,outlines.fbx和outlines dmax.fbx的方向都非常相似(都比预期的“平面”高90度)。也许只有当使用第三方查看器作为vscode的3D查看器时,这种情况才会发生——在欧特克的FBX评论应用程序,两个模型看起来都是平面的,方向相似。
The FBX writer just writes what's in the FME geometry,在这种情况下,不包括顶点法线。Vertex normals aren't required for a geometry to be valid.You can find additional notes about this in the顶点法线和几何概念documentation.
4。一般来说,一个FME组件将通过给它的东西,而不会执行太多的清理。在写入之前,挤出机和FBX编写器都不会验证自相交的多边形边界(其他格式,像CITYGML一样,为此提供一个writer参数)。It may be helpful to review theData QA: Identifying Self-Intersections with FMEarticle for tips on how to validate your geometry with the GeometryValidator before writing it.
添加一个视角。
我们需要使用FME将二维建筑平面图作为三维建筑模型进行处理,然后用3.js加载模型。
在这个过程中会遇到上述问题。
1.这两个参数(“几何实例本地原点”和“几何实例矩阵”)确实是可选参数,但是我们用3dmax默认导出的模型对这两个参数进行了估值,but FME is not,如果使用3.js加载模型,没有这两个参数意味着模型的相对位置是错误的。
2。我们在这个过程中总结了一下。FME导出的模型是Y轴朝上,不计算法向,and the quaternion with the origin is not calculated,单位是厘米。We need to import the results generated by FME into 3dmax,then convert to m,Z轴向上,并计算出可选参数的法向和四元数,然后在正确的位置用3.js加载。我在这里提出问题来帮助FME优化这个工具。
您好!@开普利,
Just adding a little to Chris's answer with respect to vertex normals.可以将顶点法线添加到缺少顶点的曲面,GeometryValidator变压器。Set Issue to Detect to 'Missing Vertex Normals' and Attempt Repair to Yes.The output of the Repaired port will have the vertex normals added to them.
3D Building appearance setting by attribute1 Answer
Extrude 3D face untill a certain z-value is reached2 Answers
向CityML添加外观:颜色和透明度2 Answers
3D中2个表面与侧面的连接(地质数据)1 Answer
Split/cut 3D solids and surfaces1 Answer
?2019安全亚搏在线软件公司|合法的