2016年2月28日 星期日

Week01,葉川麟

1. WebGL Water
網址:http://madebyevan.com/webgl-water/

                                                           2. CodeBlocks : 認識OpenGL


3.學習打GL程式碼
#include<GL/glut.h>
void display()
{
    glutSolidTeapot(0.3);
    glutSwapBuffers();
}
int main(int argc,char**argv)
{
    glutInit(&argc, argv);  
    glutInitDisplayMode(GLUT_DOUBLE | GLUT_DEPTH);  
    glutCreateWindow("hello 3D");  
    glutDisplayFunc(display);  
    glutMainLoop();
}

2016年2月27日 星期六

Week01, 蔡鼎濬


2.file>new>project
GL>project
打上資料夾名稱然後看要放在哪裡
打開main

點選bulid and run
3.file>new>project
點選GLUT
打上你要的名稱點選你要放置的地方
解壓縮並複製位址
將位址貼上
點選bulid and run









2016年2月23日 星期二

03160853_何英顥_week01

課堂作業1:WebLG




課堂作業2:code blocks



開啟code blocks選擇New => Project


下拉選擇OpenGLproject


打上專案名稱與建檔地


點選build and run


展示成果


課堂作業3:GLUT程式


new => project => GLUTproject


填入freeglut資料夾位置


C:\Users\USER\Desktop\2016電腦圖學


解壓縮


複製位置


貼上位置


展示成果


回家作業_10行程式:


#include<GL/glut.h>  //標頭檔
void display()
{
    glutSolidTeapot(0.3);
    glutSwapBuffers();
}
int main(int argc,char**argv)
{
    glutInit(&argc, argv);  //引入程式
    glutInitDisplayMode(GLUT_DOUBLE | GLUT_DEPTH);  //雙視窗
    glutCreateWindow("hello 3D");  //視窗名稱
    glutDisplayFunc(display);  //展示
    glutMainLoop();
}





week01張烝譯

WEEK 1 
作業 1 :

1.OPEN GL



作業 2 :
(一)開啟code blocks 並點選new 選擇project


(二)點選Open GL project 並點go


(三)next


(四)打檔名並選擇目的地


(五)最後點finish 就完成啦


(六)點build and run 執行


(七)就會看到成果囉


作業 3 :
(一)開啟code blocks 並點選new 選擇project


(二)選擇GLUT


(三)next


(四)打檔名選擇目的地


(五)複製位置


(六)Finish


(七)Build and run


(八)完成








 

Week01 陳旻宏

作業1  WebGL Water



作業2  CodeBlocks : OpenGL專案

1.開啟CodeBlocks 新增 Project



2.點選OpenGL

3.Next


4.輸入03163084_hw1


5.尋找檔案位置


6.點選main執行程式




作業3  CodeBlocks : GLUT專案