Skip to content

yogeeshsm/Computer_Graphics-CG-Projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📄 README.md

# 🎨 Computer Graphics Mini Project Collection

This repository contains multiple mini-projects developed as part of the Computer Graphics course. Each project demonstrates different aspects of 2D and 3D graphics programming using C/C++ and OpenGL/GLUT.

## 📁 Project List

- 🚗 **Moving Train**`moving_train.cpp.cpp`
- 🌪️ **Wind Mill Simulation**`wind_mill.cpp.cpp`
- 🐉 **Dragon Animation**`dragonmain.cpp.cpp`
- 🕹️ **Paddle Smash Game**`paddle_smash.cpp.cpp`
- 🚂 **Train Game**`train_game.cpp.cpp`
- 🌊 **Sea Scene**`vs_sea.c`
-**Rotating Star**`rotating_star.cpp.txt`
- 🏰 **3D Room Scene**`3D_ROOM_SCENE_SOURCE_CODE.txt`
- 🏛️ **3D Ambari Scene**`3D_ambari main.cpp.cpp`
- 🛍️ **3D Vending Machine**`code_3D_vending_machine.docx`
- 🧊 **2D to 3D Object Conversion**`2D to 3D obj.*`

## 🛠️ How to Compile & Run

### Requirements

- GCC or any C++ compiler
- OpenGL and GLUT libraries installed

### Compilation (example for Linux/macOS)

```bash
g++ moving_train.cpp.cpp -lGL -lGLU -lglut -o moving_train
./moving_train

For Windows: Use Code::Blocks, Dev C++, or Visual Studio with OpenGL configured.

📄 File Descriptions

  • .cpp / .c – Source code files
  • .exe – Windows executable
  • .cbp / .layout – Code::Blocks project files
  • .docx / .doc – Documentation and explanations
  • .txt – Additional source code or notes

🔖 Notes

This collection serves as a showcase of various CG concepts such as:

  • 2D Transformations
  • 3D Rendering
  • Animations
  • Object Interactions
  • Scene Composition

📚 References

  • OpenGL & GLUT Documentation
  • College Course Materials
  • TutorialsPoint, GeeksforGeeks, etc.

📜 License

For educational purposes only.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors