Rachel's profile猫咪入驻棉花糖星云PhotosBlogLists Tools Help

Blog


    October 04

    冷得太快了, 热得也太快了

    星期五晚上过了午夜, 在real time lab, 左手一大盒饼干, 右手一杯完全冷了的咖啡.

    好在我并没有选real time programming这门课(还没有完全丧失心智), 只是找个安静的地方看earth science的视频, 因为明天要测验.

    滑 铁卢的天啊, 前两个星期是晴朗的天, 第三个星期就开始没完没了的下雨, 下的花儿谢了树叶枯黄了人也萎靡了. 上个星期还可以穿天鹅绒袜套长靴和短裤蹦达, 这星期就完全瑟缩在大衣和牛仔裤里, 连毛线手套都出镜了. 屋里还没有暖气, 坐在窗前常常要批厚披肩, 手边最好还有一杯热气腾腾的apple cider, 冬天的感觉实在来得太快了.

    天气逐渐变冷, 学校的压力则持续升温. 找工作阶段开始了, 各门课也进入状态. 这学期终于选了觊觎已久的computer graphics, 是Waterloo CS最有名的三门课之一(另外两门是compiler和real time programming). 出名不在别的, 就在于作业多难度大, 属于选了课就不用奢望再有课余生活的性质.

    辛苦虽然是必然, 但是在Waterloo混上三年五载而不去尝试一下这些课岂不是很不值, 所以还是心甘情愿的选了. 第一个作业是做3D的俄罗斯方块游戏, 因为并不需要考虑各种viewport的转变所以还不算太难. 抛开游戏逻辑, 这个游戏需要支持种种鼠标键盘的操控, 包括在xyz轴手动和persistent自动旋转, 一定尺度的放大缩小, 转换wireframe, filled face和multicolor界面,  并可以切换double/single buffer.  另有一些游戏逻辑方面的细节就没有什么graphics的成分在里面了, 普通implementation而已. 虽然通过OpenGL这些都不难实现, 但是诸多细节还是要费心调试, 尤其是我这种第一次用OpenGL和Gtk的菜鸟. 做完了以后还是觉得很有意思.

    这门课有一点比较讨厌, 就是作业规矩很多. 提交的时候不仅各类文件一定要署名归类, 绝不能有debug用的cmd output, 还要写README, 并且附加至少一个截图. 然后, 把submit的checksum output打出来, 再加上title page, 写上manual解释在实现过程中做出的一切决策的原因(比如, 用了几个transformation matrices, 都为啥用), 把所有提交作业的checklist都交全了也得用上一个小时. 


       filled-face mode

     

        wired-frame mode

     


    multi-color mode

     


    you can also play like this

     


    or this way

     


    or this way

    这学期的其它课程似乎还好, 除了concurrency现在还没有显山露水但是未来一定是个killer以外. 希望在天完全冷下来之前我还没有彻底绝望>_________<

    晚安~

    Comments (2)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    LBwrote:
    有雪的冬天不会太难过,说不定能看见驯鹿呢。学习就是对未知的挑战,平平淡淡没对手多没劲。相信一切都在掌控之中,祝顺利!
    Oct. 5
    LINDAwrote:
    心态调整的很好,不会绝望的。
    Oct. 4

    Trackbacks

    The trackback URL for this entry is:
    http://1987mimixuxu.spaces.live.com/blog/cns!D6FC3AEEC9A51CAF!1845.trak
    Weblogs that reference this entry
    • None