2013年3月1日星期五

GameGraphics6

In this assignment, I think most challenging thing to me is to read the binary data.I did not work with binary data before.

And the link in the email helped a little bit.It talks about the way to output.
http://www.cplusplus.com/doc/tutorial/files/

And I add the maya_export as a tool into my solution.finished it first.

Then got three shapes in maya, just cone, cylinder and ring.

I went to the TA hours to get some help from  Jin Cui

First I finished the shapes in maya,just cone, cylinder and ring and output into meshes.

This works good

And I changed the MeshBuilder to let it changed the file to binary data and it can be faster to read.

And then I changed the MeshReader to read the binary data.But I can not get index
correctlly

Here I fixed it just now, Right now it can work well to show four meshes on it.

This is the screenshot













没有评论:

发表评论