전체 글

전체 글

    openGL | openGL 2강-화면(2)

    openGL | openGL 2강-화면(2)

    환경 : ubuntu 13.10 64bit http://yooninsung.blog.me/30090383243위 블로그의 코드를 수정하였습니다.위 블로그는 window 운영체제, 저는 우분투 운영체제에서 코드를 수정해서 동작했습니다.(Ubuntu 13.10) 기존의 소스를 그대로 사용$ cp lecture2.cpp lecture3.cpp 컴파일g++ lecture3.cpp -lGL -lGLU -lglut -o lecture3 소스#include #include void cosmosDisplay() { glClear(GL_COLOR_BUFFER_BIT); glutSolidTeapot(0.5); glFlush();} int main(int argc, char** argv) { glutInit(&argc, a..

    openGL | 1강-화면(1)

    openGL | 1강-화면(1)

    환경 : ubuntu 13.10 64bit http://yooninsung.blog.me/30090148703위 블로그의 코드를 수정하였습니다.위 블로그는 window 운영체제, 저는 우분투 운영체제에서 코드를 수정해서 동작했습니다.(Ubuntu 13.10) ex1.소스 #include #include void cosmosDisplay() { } int main(int argc, char** argv) { glutInit(&argc, argv); glutCreateWindow("Dev Kyu openGL chapter1 from RintlanTta"); glutDisplayFunc(cosmosDisplay); glutMainLoop(); return 0;} 컴파일 g++ lecture2.cpp -lGL ..

    openGL | openGL 0강-설치

    openGL | openGL 0강-설치

    환경 : ubuntu 13.10 64bit http://yooninsung.blog.me/30085784024위 블로그의 코드를 수정하였습니다.위 블로그는 window 운영체제, 저는 우분투 운영체제에서 코드를 수정해서 동작했습니다. 코드 #include #include void RenderScene() { glClear(GL_COLOR_BUFFER_BIT); glFlush();} void SetupRC() { glClearColor( 0.0f, 0.0f, 1.0f, 1.0f);} int main(int argc, char** argv) { glutInit(&argc, argv); glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB); glutInitWindowSize(500, ..

    openGL | 어느 블로그

    http://blog.naver.com/PostView.nhn?blogId=tlsdlf5&logNo=120116742475&parentCategoryNo=&cateagoryNo=&viewDate=&isShowPopularPosts=false&from=postView

    openGL | install opengl & sample example

    openGL | install opengl & sample example

    환경 : ubuntu 13.10 64bit install $ sudo apt-get install mesa-common-dev$ sudo apt-get install freeglut3-dev compileg++ .cpp -lGL -lGLU -lglut -o a sample code#include #include void renderfunction() { glclearcolor(0.0, 0.0, 0.0, 0.0); glclear(gl_color_buffer_bit); glcolor3f(1.0, 1.0, 1.0); glortho(-1.0, 1.0, -1.0, 1.0, -1.0, 1.0); glbegin(gl_polygon); glvertex2f(-0.5, -0.5); glvertex2f(-0.5, 0.5);..

    [ubuntu] eclipse 설치

    환경 : ubuntu 13.10 64bit http://thinkubuntu.tistory.com/6 1. java homepage에 들어간다.2. download->java for developers3. JDK Download 클릭4. 버전에 맞게 다운로드5. 압축을 푼다.$ cd ~/Downloads/$ tar zxvf jdk-7u25-linux-x64.tar.gz

    [ubuntu] T440P NVIDIA 드라이버 잡는 방법(bumblebee)

    환경 : ubuntu 13.10 64bit 무엇이든 설치하거나 동작을 한 후에는 sudo apt-get update && sudo apt-get upgrade를 하는게 좋다.(16. 09. 19 : 만약 개발자이고 프로젝트를 진행중인 pc라면 upgrade를 함부로 하지 않는게 좋다. 하더라도 일일이 다 읽어보고 걸러야한다.) 1.터미널에서 범블비를 설치한다. https://wiki.ubuntu.com/Bumblebee 2. 홈페이지에서 nvidia 드라이버를 다운받는다. http://www.nvidia.co.kr/download/driverResults.aspx/69526/kr 3. 응급화면(ctrl + alt + F1)에서 serverX를 종료시킨 후 nvidia를 설치한다. 다운받은 실행파일에 권한..

    [ubuntu] bumblebee 3차시도

    환경 : ubuntu 13.10 64bit bumblebee 730m ubuntu 13.10 라고 검색 $ sudo apt-get update$ sudp apt-get upgrade $ sudo add-apt-repository ppa:bumblebee/stable$ sudo apt-get update $ sudo apt-get install bumblebee bumblebee-nvidia primus linux-header-generic 다 하다가 힌트를 얻은 부분에서 다시 시작. glxgears를 얻은 블로그http://edoli.tistory.com/120 0. 범블비를 설치한다.1. nvidia 드라이버를 홈페이지에서 다운받는다.2. 응급화면에서 window x 를 stop시킨 후에 nvidia를..