Surface Revolve in Maya doesn't export to egg

I use maya 2012, I create a wine glass from this tutorial and this is result (maya binary file):

then, I use command line to export to egg file like this:
“maya2egg2012 -a model glass.egg glass.mb”
then, I open glass.egg with pview, I didn’t see anything.

finally, I open glass.egg in code, and the same result, nothing appear !

Anyone help me!

You will need to convert your surface to triangles in Maya before you export it. You might also have luck with the -p option to maya2egg, which does this implicitly for NURBS, but I’m not sure that it works for all kinds of implicit surfaces.


Thanks a lot, David!