

珍珠项链


留下,只因为我爱它


留下,只因为我爱它
又上红楼
好文推荐
日本的图书馆
爱情的筹码
昨天晚上,也可能是今天临晨,在一位从未见过面的中学女同学的Blog里读了一篇文章。内容是一个上海女孩对于自己初恋的回忆。故事很精彩,也很感人。(我基本很少会读这样的文章,因此尽管故事的架构和当今流行青春偶像剧可能大同小异,依然觉得很新鲜,受益良多)
短暂的休息
MIT OCW 6.837 Assignment 2
Last weekend I have finished assignment_2.
This assignment adds ambient & normal shading to the raycast program of assignment 1.
Now 3D objects looks much more like 3D objects.
And, here is my code.
MIT_OCW_6.837_ASSIGNMENT2.Tim.tar
Now the objects looks like this. (3 graphics for each scene. From left to right: real, depth, normal[red:x, green:y, blue:z])
Figure 1. A Sphere with normal shading
Figure 2. A Sphere with both normal shading and ambient

Figure 3. Perspective Camera
Figure 4. Infinite Plane Object
Figure 5. Triangle
Figure 6. Triangle Mesh
Figure 7. Rotated Sphere
Figure 8. Transformed Sphere
Figure 9. Complex Triangle Mesh (n = 200)

Figure 10. More Complex Triangle Mesh (n = 1000)
Figure 11. Axies

























