9
Computer Graphics OpenGL setup

Computer Graphics · Select “codeblocks-16.01mingw-setup.exe” For the windows Select “CodeBlocks-13.12-mac.zip” for the Mac uses. Installing codeblocks . ... Setting Paths

  • Upload
    others

  • View
    11

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Computer Graphics · Select “codeblocks-16.01mingw-setup.exe” For the windows Select “CodeBlocks-13.12-mac.zip” for the Mac uses. Installing codeblocks . ... Setting Paths

Computer Graphics

OpenGL setup

Page 2: Computer Graphics · Select “codeblocks-16.01mingw-setup.exe” For the windows Select “CodeBlocks-13.12-mac.zip” for the Mac uses. Installing codeblocks . ... Setting Paths

Installing codeblocks

Go to http://www.codeblocks.org/

Go to “Downloads”

Click on Download the binary release

Page 3: Computer Graphics · Select “codeblocks-16.01mingw-setup.exe” For the windows Select “CodeBlocks-13.12-mac.zip” for the Mac uses. Installing codeblocks . ... Setting Paths

Installing codeblocks

Select “codeblocks-16.01mingw-setup.exe” For the windows

Select “CodeBlocks-13.12-mac.zip” for the Mac uses

Page 4: Computer Graphics · Select “codeblocks-16.01mingw-setup.exe” For the windows Select “CodeBlocks-13.12-mac.zip” for the Mac uses. Installing codeblocks . ... Setting Paths

Installing codeblocks

Page 5: Computer Graphics · Select “codeblocks-16.01mingw-setup.exe” For the windows Select “CodeBlocks-13.12-mac.zip” for the Mac uses. Installing codeblocks . ... Setting Paths

Installing codeblocks

File new project GLUT project

Page 6: Computer Graphics · Select “codeblocks-16.01mingw-setup.exe” For the windows Select “CodeBlocks-13.12-mac.zip” for the Mac uses. Installing codeblocks . ... Setting Paths

Setting up First Project (Windows users)

Create Folder named “ cscixxx_Projects”

Create Folder named “ Common” inside the folder “cscixxx_projects”

Create two folders named “lib” and “include” inside the folder “Common”

Create folder named “GL” inside the folder “include”

Page 7: Computer Graphics · Select “codeblocks-16.01mingw-setup.exe” For the windows Select “CodeBlocks-13.12-mac.zip” for the Mac uses. Installing codeblocks . ... Setting Paths

Placing Glut files

Download Glut Library “glut32.lib” from here

and save it in the folder “lib”

Download Glut “glut.h” from here

and save itin the folder “GL”

Page 8: Computer Graphics · Select “codeblocks-16.01mingw-setup.exe” For the windows Select “CodeBlocks-13.12-mac.zip” for the Mac uses. Installing codeblocks . ... Setting Paths

Starting OpenGL Project File -> new ->project -> Glut Project

Page 9: Computer Graphics · Select “codeblocks-16.01mingw-setup.exe” For the windows Select “CodeBlocks-13.12-mac.zip” for the Mac uses. Installing codeblocks . ... Setting Paths

Setting Paths for GLUT