Hi.
I am interested in using Maya to create game scenes.
I realise that it is possible to export opengl code /headers
but this requires a recompile of the game engine, linking in these files. I basically am looking for the best way
to export information that is easy to parse , so
I can draw the stuff from my opengl game engine.
In summary, has anyone parsed a maya file like this and if
so what export format did they use.
(I am used to using Max - ascii format for export, and
have a parser for this.
Many thanks
Donncha
We just made up our own format. It's tremendously simple with the exporter DLL although there appeared to be a bad bug in the parenting info in the DLL but we had the sources so I fixed the bug and things work fine now. It took about a week from knowing nothing about Maya to getting all the geometry, normals, vertex colors, shaders, etc exported. Just roll your own format.
thanks for this reply. I will try this. As I say I did the same for Max, so I hope to have no problems.
I have nearly finished writting a MEL script that allows you to traverse the level as if you were playing a first person game - it places a camera in the centre of the screen around eye height, and gives you buttons that are the directions, plus turn, as you look through the camera.
I will post to this mail when I have it finished .
Hey I'm in the middle of rolling my own and I've just hit that parenting bug, haven't managed to find the offending code. Do you still know where it is.
-G