|
本帖最后由 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 ---
---------------------------------------------------
|
|