Giter VIP home page Giter VIP logo

cg's Introduction

Computer graphics Mini project on OPENGL tool kit

#Requirements codeblocks software pre installed with glut.h,glu.h files

#How to use project?

1.Download the zip file or exract using command in command promt or in terminal as - git clone https://github.com/PRAJWAL7HS/cg.git

2.Extract the zip file or open the folder path containing in the system

3.Open project in codeblocks software

  1. run project with the editor codebocks

#Designed and maintained by Prajwal H S

for more details contact me @prajwal_h_s Steps to run Computer Graphics Programs under Codeblocks in Windows OS Platform.

  1. Install Given Codeblocks Software "codeblocks-16.01mingw-setup".
  2. Copy glut32.dll in "C:\Windows\system" and "C:\Windows\system32"
  3. Copy glut32.lib in "C:\Program Files\CodeBlocks\MinGW\lib"
  4. Copy glut.h in "C:\Program Files\CodeBlocks\MinGW\include\GL"

After completing these Steps, Start codeblocks.

  • First run needs to set the compiler, Set GCC Compiler which is first in the option, Set it as default.
  • After Entering Codeblocks goto file -> new -> project
  • select glut project -> Go
  • In the Next window give a project title then set the folder location click on next,
  • In the next page give glut location as "C:\Program Files\CodeBlocks\MinGW" then click on next.
  • Here remove check button for release configuration then click on finish.
  • A new project is created with given filename.
  • Click on file inside the project an include "#include<windows.h>" in the main.cpp
  • Build and run the file, the code is executed successfully.

NOTE: Always include <windows.h> in all the glut files you will be creating.

Next open codeblocks

  1. open existing project select file cgpy\cgpy.cbp then remaining as it is.

cg's People

Contributors

prajwal7hs avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.