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.
- Introduction
- Features
- Installation
- Usage
- Key bindings for interactions
- Overview
- Night mode
- Rain mode
- Day mode
- Contributing
- License
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.
- 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.
To run this project locally, follow these steps:
-
Clone the Repository:
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.
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 | 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 |
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.
Caution
This project is licensed under the MIT License. Feel free to use and modify the code as per the terms of the license.