2017年10月12日 星期四

Hello World_OpenGL_note_Week05

This week, we want to get advance into operation

Step 1, download files from jsyeh.org/3dcg10 , and organize files into windows file.
 notice: data file has 2 levels, we have to pull 2nd file out

 Step 2, run to ensure the operator we did last week.
notice: these data sources can be run in Mac system.


Step 3,.viewing in projection.exe
this is the source of projection mode:


Step 4,  there are three types of perspective, difference lies on factors, 1st, perspective

Step 5, 2nd, frustum: the right figure is perspective, we can make comparison.


Step 6, 3rd, orthogonal
notice: factors are changed_

Step 7, glu--->up  than GL/ look at ---gluLookAt---special
            this is for look at eye's Y-axis viewing changing

Step 8, there are some bugs in using source from web site, since C file and C++ file are not in coherence.

Step 9,take mouse motion into using.........unfinished.

Step 10, glRotate first or glTranslate first has different meaning, the tip is based on reading order: from bottom to top.

Step 11, we had tried to project with teacher's files, but I faced some problems, I am trying again in this week.

沒有留言:

張貼留言