Ameya
MAYA MESH EXPORTER INTEGRATION
Controls: Esc - To quit game
WASD to move the cube
Move the camera
OU(Z-axis)
IK(Y-axis)
JL(X-axis)
Rotate the camera
YR(Z-axis)
TG(Y-axis)
FH(X-axis)
C/V to traverse cameras in the camera vector
MayaMeshExporter project depends on Foundation.lib and OpenMaya.lib which are found in the $(MAYA_LOCATION)\lib\
It also needs headers located in $(MAYA_LOCATION)\include\
No project depends on MayaMeshExporter project.
This was a pretty simple assignment. I made changes to plugin’s name and default file format that is been shown in Maya.
I wrote the WriteMeshToFile() function using the std::ofstream for writing. I used the precision method and std::fixed to make all the floats round upto 5 decimal places.
I also included the extra data. Spent some time fixing unique keys generator and then found out the keys were not supposed to be exported.