Assignment09
my cube map
Code
2013年3月22日星期五
assignment08
Assignment08
At first.
Because I do not sure I have done the assignment 7 correctly so I use Max's assignment 7 to finish my assignment 8 and 9
And this is it looks like in assignment 8
By reading the code of Max, I think I learn more than to finish the code, especial the part reading files and the whole structure. I can say it is clear and beautiful.
Run out of time for write_up
I will have dinner first,I am sorry to say this,but I did not eat breakfast and lunch. It will update soon,
Code
At first.
Because I do not sure I have done the assignment 7 correctly so I use Max's assignment 7 to finish my assignment 8 and 9
And this is it looks like in assignment 8
By reading the code of Max, I think I learn more than to finish the code, especial the part reading files and the whole structure. I can say it is clear and beautiful.
Run out of time for write_up
I will have dinner first,I am sorry to say this,but I did not eat breakfast and lunch. It will update soon,
Code
2013年3月8日星期五
GameGraphics7
This assignment we need to create three new effect,
Effect
1.partially transparent Effect
This effect is to present the materials like glasses, so we need to send transparency to the fragment shade to let it know.
2. alphabinary Effect
I had used the clip() to ignore the part which is under 0.5
The former must be done before in the latter or you will not get the effect you want.
I had used the clip() to ignore the part which is under 0.5
_________________________________________________________________________________
3.the additive effect
I get very confused in this part, and then, I found out it just need to set the render state to the right one.
Sorting
sort the list to draw,We need to separate the our entities into two part, one part do not need the Alpha blending like the normal object and the one using Binary Alpha
the other part need Alpha blending,like Additive material and the Partially transparent material,
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
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
订阅:
博文 (Atom)





