2012年3月31日 星期六

hw2 - 技術為先,美感後現 (update 1)

主題介紹
Using opengl to implement building 1


程式設計與寫作方法、執行結果呈現
Homework requirement:
  building 1 - 3D model structure

Extra Finish part (Version alpha2,  basic on alpha 1.0, new main function):
   - C++ class & C struct (during gl is not O.O. )
  - Texturing
  - lighting
  -  special effect + depth of field effect
  - Multi-thread Highly Anti-aliasing
   - F1 full screen, Esc to leave
  - free move camera
  - Lock Frame-rate
   - swap cache
   - Multi-thread in CPU with Minimize CPU&GPU usage
  -  Error message
  - stable & less memory allocate




Demo Video of Version alpha2
 (Ram used < 20.7 MB CPU usage< 25 % GPU used 0 % @ Core 160-500Mhz & Ram 250Mhz )
useage including "camera recording"
Code line: 1209 Finished in 20, March
  OpenGL 3.2, Intel Q9450, Vapor-X HD 4850, 4GB RAM
blogger decrease my video quailty


Version alpha 2.5 (using module of alpha 2.0, including new library, new main function)
 - 3D cloud and sky (cloud position and height are random)
 - live time sky system (if you set different time, sky will be not the same)
  - allow manual window resize



Demo Video of Version alpha2.5
 (Ram used < 71.6 MB CPU usage< 25 % GPU used 0 % @ Core 160Mhz & Ram 250Mhz )
useage including "camera recording"
Code line: 3,497(including library header) - Finished in 22, April
OpenGL 3.2, Intel Q9450, Vapor-X HD 4850, 4GB RAM
blogger decrease my video quailty

Alpha 2.5 sky system



To 助教:  如果缺少library, 至版本2.5沒法compile,  請看我在portal 上載的檔案
(共有3個, 最後一個為上面影片的原始畫質檔)

心得與討論 
This homework free move camera is available, by unknown reason it didn't work on my previous main function. In order to express my sincerity, write a new main function...

There are library allow us to run the program in multi-GPU, but only support Nvidia, SGI those factory standard graphic card. Also there is no multi-GPU VGA card on my hard...

My next idea is using VGA graph Acceleration, which mean run it in graphic card

8 則留言:

  1. Nice and beautiful, I feel like I have no word to convey my appreciation to your work...
    I study in college of computer science, not in fine art school, I think so.
    we should not pay too much attention to 3D models, colors, textures, and the architecture of a graphic.

    bless...

    回覆刪除
  2. for me as you know when years ago i have my first experience
    which change wt i think in my life
    my teacher in secondary school he is extremely good in art
    so he teach student Flash, 3d max, VB, photoshop, dreamwaver.....
    i saw his project and example
    which is impossible to defeat him in art
    beside he is not a CS student in college he was study EE
    that really make me think again, a person not in CS can be a artist

    homework is 40% in this class, student should try their best
    for those student only using basic glxxxxx function
    they should try to make the model improve coding, look nicer or include some hard coding like me
    otherwise homework will be the same
    the reason is i have been Taiwan for 3 years
    Taiwan student good in test, exam but not in homework
    some of them don't even know how to write a good program or copy someone homework
    which programming is most basic stuff in CS

    until today i didn't use anything from 3D max
    i saw some student they already using 3dmax
    which is not fair for other student
    because 3D max got nothing in gl
    which is didn't do the requirement

    回覆刪除
  3. However, the mid and final test weigh 60%. So, one test == 3 programs.
    The dream is nice, but the reality is cruel. You fail one test , getting the grade about 70 to 80, so what about your programs?

    If you pay more time seeing Teacher's ppt and superbible , you may write out good programs and get more grade simultaneously? It is a bargain, why do you pay so much time in beautifying the outlook of your program?

    xxx student good in test, exam but not in homework.
    So do I. GPA is my fate, I have no way to choose.

    回覆刪除
  4. In the score and GPA system?
    ys exam and test is important
    you also have better chance in interview
    but after it depend on skill
    if they found out they hire someone who got bad skill
    that person will hard to be hire in other company
    and the first choice to being fire
    as you know company share information
    It will be too late if you upgrade yourself after you got a job
    how will you call that? I call it too late

    i call homework 'heal pack'
    if you got 60% from exam got nothing from homework = 60
    and exam you only got 1 shot
    you miss it you lose that is


    main problem of taiwan student is without a good skill both in programming and language
    everyone can study program
    some country student study program from primary school...
    java is require to some department which have nothing to do with computer science in western country...
    we can also compare programmer in Mainland China
    which already have a very good skill and lower payment


    be honest of programming skill
    there is only one way call 'try it yourself'
    there is not bible in advance programming
    during advance programming should 'understand' hardware
    and each step from script to hardware
    a fast program is without a good outlook

    i guess you are from mainland china
    which only care about score
    during there are too many student

    last thing
    plz forget what happen to you last year
    in your religion they call it "let go and let god"

    回覆刪除
  5. 作者已經移除這則留言。

    回覆刪除
  6. tell u one thing
    don't only think you come from a hard place
    all school in my place where i was study
    got the top rate of failing student in the world

    we all know study is not for score but no one try to break it
    that's why all my teacher knows me i don't care much

    my classmate 2 of them has been invite to 中国清華大
    no need exam and interview
    during they won Olympic math award in mainland

    my classmate 1 of them he went to 交大資工
    but his program level and computer level is far away from me
    only because his chinese, phy got higher score
    my skill can kill one of my teacher when i was secondary school


    always want to ask how come chinese study hard
    but the research in western is still better than China
    which their student is lazy in primary and secondary school??
    western people come China and get better job than chinese
    Even chinese themselves fake food, milk to kill their country mate
    without a good knowledge of chemistry it's impossible to do their fake food
    and drive their car back to make sure someone who they hit is completely dead???
    if people study get high score but do shit
    wt the use of it??

    i understand you want to get in a better school
    bad school their prof may copying someone research and wrote their own name
    also people spend 100 thousands or more can buy a college certificate

    dude, flash and sony vegas pro both i used for long time
    i learn myself and got a job for using it
    i sacrifice my score to learn those stuff and i earn money
    my client like me....that it
    some of my client including famous people and world famous media group

    plz if you like wrote simply chinese i read book from mainland since primary school

    回覆刪除
  7. 作者已經移除這則留言。

    回覆刪除
  8. 啊嘞,你悲剧了。不是李O元改程式碼,你這些話,蘇xp看了,情何以堪啊。
    說的就是他啊

    回覆刪除