An open API service indexing awesome lists of open source software.

https://github.com/ifte-13/metro-mosaic

Alluring scenario skyscraper, made via GLUT. A magnificent elite world of towering buildings, visualized in the endless power of C++ programming using the graphics capability of GLUT.
https://github.com/ifte-13/metro-mosaic

cordinates cplusplus glut

Last synced: 14 days ago
JSON representation

Alluring scenario skyscraper, made via GLUT. A magnificent elite world of towering buildings, visualized in the endless power of C++ programming using the graphics capability of GLUT.

Awesome Lists containing this project

README

          

# $${\color{purple} Metro-Mosaic}$$
Welcome to the City View project! This project is a visual representation of a cityscape built using C++ and GLUT (OpenGL Utility Toolkit). It showcases a basic city view with buildings, and other elements.

## ${\color{gray} Table\ of\ Contents}$
* [Introduction](#introduction)
* [Features](#features)
* [Installation](#installation)
* [Usage](#usage)
- Key bindings for interactions
* [Overview](#overview)
- Night mode
- Rain mode
- Day mode
* [Contributing](#contributing)
* [License](#license)

## ${\color{gray} Introduction}$
This project aims to create a simple representation of a city using C++ and GLUT. It leverages the power of OpenGL to render a 3D city view environment, displaying buildings, and other objects.

## ${\color{gray} Features}$
* Cityscape Rendering: Generates a visual representation of a city.
* Music: Integrated music for day, night, and rain mode.
* Basic Interactivity: Allows basic user interaction through the keyboard.
* C++ and GLUT: Developed using C++ programming language and GLUT library for OpenGL.

## ${\color{gray} Installation}$
To run this project locally, follow these steps:

* Clone the Repository:

```bash
git clone https://github.com/your-username/city-view.git
```
* Build the Project: Use your preferred C++ compiler and ensure GLUT is properly linked.
* Run the Executable: Execute the generated executable file.
> [!IMPORTANT]
> Make sure you have the necessary dependencies and GLUT installed on your system before running the project.

## ${\color{gray} Usage}$
After installation, execute the program to view the cityscape. If there are any interactive elements, follow on-screen prompts or controls (if available) to interact with the city view.

#### Key bindings for interactions

| Key | Action |
|-----|----------------------------------------|
| d | **Day** Mode |
| n | **Night** Mode |
| 1 | Enable **Ghost Eating Doughnut** signboard |
| 2 | Disable **Ghost Eating Doughnut** signboard|
| 3 | Enable **Laser Light** |
| 4 | Disable **Laser Light** |
| 5 | **Activate** Rain Mode |
| 6 | **Deactivate** Rain Mode |

## ${\color{gray} Overview}$
#### Night Mode
![image](https://github.com/IFTE-13/Metro-Mosaic/assets/75083426/2964c67d-ea06-4c97-a45c-02cfe48e79d6)

#### Rain Mode
![image](https://github.com/IFTE-13/Metro-Mosaic/assets/75083426/71e7ed36-af30-4e13-b771-fd0f14ebd68a)

#### Day Mode
![image](https://github.com/IFTE-13/Metro-Mosaic/assets/75083426/8f77fb49-c54a-4402-ab71-491e3e43b14a)

## ${\color{gray} Contributing}$
> [!Tip]
> Contributions are welcome! If you'd like to improve this project, feel free to fork the repository and submit a pull request with your changes. Ensure that your code follows the project's coding standards and practices.

## ${\color{gray} License}$
> [!CAUTION]
> This project is licensed under the MIT License. Feel free to use and modify the code as per the terms of the license.