查看: 2005|回复: 2

--- Maya2OSG - OSG Maya Exporter 遇到的问题 ---

[复制链接]

该用户从未签到

发表于 2011-12-30 16:10:29 | 显示全部楼层 |阅读模式
本帖最后由 yuanloo 于 2011-12-30 16:22 编辑

我使用的时maya2010,OpenSceneGraph-2.8.2。从sourceforge.net下载发布版的maya2osg-0.4.2-src。在vs2008下编译好,maya2osg插件成功安装在maya2010。现在打开的是maya2osg-0.4.2-src带有的测试例子particles。点击maya2osg插件的第二个按钮,在maya的output window窗口得到如下的结果:

---      Maya2OSG - OSG Maya Exporter           ---
---------------------------------------------------
--  OUTPUT FILE : E:/12-30golfexport/particle
---------------------------------------------------
0 element(s) selected
Exporting node kWorld (world)
Exporting node kTransform (groundPlane_transform)
Exporting node kGroundPlane (groundPlane)
Exporting node kManipulator3D (Manipulator1)
Exporting node kManipulator3D (UniversalManip)
Exporting node kManipulator3D (CubeCompass)
Exporting node kTransform (particle1)
Exporting node kParticle (particleShape1)
Random range - lifespan : 3 lifespanRandom : 2
Sprites
SHADING ENGINE lambert3SG
Exporting node kTransform (emitting_cylinder)
Transform emitting_cylinder is animated
Exporting node kEmitter (emitter1)
Directional
CONNECTION BETWEEN emitter1 AND particleShape1
Exporting node kTransform (pCylinder1)
Exporting node kMesh (pCylinderShape1)
Exporting Mesh pCylinderShape1 (42 vertices, 200 face vertices
1 UV sets
Shading Engine : lambert2SG
Material (kLambert) : mat_rocket
Exporting node kEmitter (emitter2)
Omni
CONNECTION BETWEEN emitter2 AND particleShape1
Exporting node kTransform (curve1)
Exporting node kNurbsCurve (curveShape1)
ERROR. Unknown node type : |curve1|curveShape1(kNurbsCurve). Ignoring node.
Exporting node kEmitter (emitter3)
Directional
CONNECTION BETWEEN emitter3 AND particleShape2
Exporting node kTransform (particle2)
Exporting node kParticle (particleShape2)
Random range - lifespan : 1 lifespanRandom : 0
Streak
Exporting node kEmitter (emitter4)
Directional
CONNECTION BETWEEN emitter4 AND particleShape2
Binding particle 'particleShape1' to emitter emitter1
Binding particle 'particleShape1' to emitter emitter2
Binding particle 'particleShape2' to emitter emitter3
Binding particle 'particleShape2' to emitter emitter4
Error writing file E:/12-30golfexport/particle: Warning: Could not find plugin to write nodes to file "E:/12-30golfexport/particle".
---------------------------------------------------
---      Exportation succesfully completed      ---
---------------------------------------------------

该用户从未签到

 楼主| 发表于 2011-12-30 16:14:03 | 显示全部楼层
总结起来有以下两个问题:
1、ERROR. Unknown node type : |curve1|curveShape1(kNurbsCurve). Ignoring node.
不能识别该节点,忽略掉。
2、Error writing file E:/12-30golfexport/particle: Warning: Could not find plugin to write nodes to file "E:/12-30golfexport/particle".
没有找到插件读取该节点。
最后导致的结果是,在指定的路径下根本没有所需.osg文件。

该用户从未签到

发表于 2012-1-6 09:24:01 | 显示全部楼层
kNurbsCurve肯定是不识别的,因为这是NURBS曲线,请转换成polygon之后再导出
文件名particle似乎也不对,您至少得加上一个.osg的扩展名
您需要登录后才可以回帖 登录 | 注册

本版积分规则

OSG中国官方论坛-有您OSG在中国才更好

网站简介:osgChina是国内首个三维相关技术开源社区,旨在为国内更多的技术开发人员提供最前沿的技术资讯,为更多的三维从业者提供一个学习、交流的技术平台。

联系我们

  • 工作时间:09:00--18:00
  • 反馈邮箱:1315785073@qq.com
快速回复 返回顶部 返回列表