Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,57 +5,57 @@
>## 1. Download and setup


1.Download and install ` codeblocks-17.12mingw-setup.exe ` From
**[Here](https://sourceforge.net/projects/codeblocks/files/Binaries/17.12/Windows/codeblocks-17.12mingw-setup.exe/download)**
.Unless Codeblocks not install in your computer.
1. Download and install ` codeblocks-17.12mingw-setup.exe ` From
**[Here](https://sourceforge.net/projects/codeblocks/files/Binaries/17.12/Windows/codeblocks-17.12mingw-setup.exe/download)** or below
. If Codeblocks is not installed in your computer.

2.Download ` glut-3.7.6-bin.zip` from **[Here](https://sourceforge.net/projects/colladaloader/files/colladaloader/colladaloader%201.1/glut-3.7.6-bin.zip/download)** and Unzip this file.There, your will get at least 3 files.`glut.h, glut32.dll, glut32.lib `
2. Download ` glut-3.7.6-bin.zip` from **[Here](https://sourceforge.net/projects/colladaloader/files/colladaloader/colladaloader%201.1/glut-3.7.6-bin.zip/download)** and Unzip the file. There, your will get at least 3 files.`glut.h, glut32.dll, glut32.lib `

3.Copy `glut.h` file and Go to `C:\Program Files (x86)\CodeBlocks\MinGW\include\GL `this Location in your computer and **paste** `glut.h`
3. Copy `glut.h` file and Go to `C:\Program Files (x86)\CodeBlocks\MinGW\include\GL `this Location in your computer and **paste** `glut.h`


4.Copy `glut32.lib` file and Go to `C:\Program Files (x86)\CodeBlocks\MinGW\lib` this Location in your computer and **paste** `glut32.lib`
4. Copy `glut32.lib` file and Go to `C:\Program Files (x86)\CodeBlocks\MinGW\lib` this Location in your computer and **paste** `glut32.lib`

5.Copy `glut32.dll` file and Go to `C:\Windows\SysWOW64` this Location in your computer and **paste** `glut32.dll`
5. Copy `glut32.dll` file and Go to `C:\Windows\SysWOW64` this Location in your computer and **paste** `glut32.dll`

* **Note:** If your Operating System is 32 bit, folder name might be `C:\Windows\System32`
* **Note:** If your Operating System is 32 bit paste it in `C:\Windows\System32`

```sh
N.B: When you go to noted path and paste the file.

you will insure that don't modify ,replace or delete file.just you paste your desire file.
you will ensure that don't modify, replace or delete files. just paste the mentioned files.
```

>## 2.Linker settings for codeblocks
>## 2. Linker settings for codeblocks

1.Open `Codebocks` and then go `settings -> compiler -> linker settings`.
1. Open `Codebocks` and then go `settings -> compiler -> linker settings`.

2.Click `add` button and go to `C:\Program Files (x86)\CodeBlocks\MinGW\lib` and add this file (`glut32.lib, libglu32.a, libopengl32.a`) one by one
2. Click `add` button and go to `C:\Program Files (x86)\CodeBlocks\MinGW\lib` and add this file (`glut32.lib, libglu32.a, libopengl32.a`) one by one.

3.Press ok
3. Press ok

>>### Test the settings

1.Open `Codeblocks` go to `File->New -> Project -> GLUT Project -> Go -> Next `
1. Open `Codeblocks` go to `File->New -> Project -> GLUT Project -> Go -> Next `

2.Provide the ***project name*** and Choose the path where you want to save your project.
2. Provide the ***project name*** and Choose the path where you want to save your project.

3.When you create new project.you will already get a ready made project default.
3. When you create new project, you will already get a ready made project by default.

4.Add `#include<windows.h>` Line in your project .
4. Add `#include<windows.h>` line on the top of your project.

5.Press `F9` or go to `Built` -> `Run` to run your project.
5. Press `F9` or go to `Built` -> `Run` to run your project.

```
if you follow above instruction properly . you will successfully run the programe
If you follow above instruction properly, you will successfully run the program.
```
>### Happy Computer Graphics

-------
>># My project
# Computer Graphics Laboratory
* computer graphics assignment file contain the MVC to VCS and VCS to NDCS conversion .
* Computer graphics assignment file contain the MVC to VCS and VCS to NDCS conversion .

## 1. Boat Racing folder contain the project that is developed in computer graphics laboratory
## 2. Lighting and class room desing repo contain the lab works
>* This lab works are designed and developed an attractive class room using c++ ,openGl glu,glut library
>* This lab works are designed and developed an attractive class room using c++ ,openGl glu, glut library.