DHBW-FN / tim21-computer-graphics

Project exam - Computer graphics - TIM21
MIT License
1 stars 0 forks source link
3d threejs webgl

Banner

Project Exam

Description

This project utilizes the three.js library to create a 3D scene of the Eiffel Tower and its surroundings. The user can explore the scene using various cameras

Key Features

Installation

To run the application locally on your device, follow these steps:

  1. Clone the repository/Download the code.
  2. Install dependencies using npm install.
  3. Start the application with the command npm start.

Afterward, a URL will be output in the console, where the application is accessible. This URL can be opened in any browser.

Usage

Fair warning: The application is quite resource-intensive and might not run smoothly on older devices. It has been tested on a 2021 Macbook Pro (M1 Max, 32GB RAM) and a Windows Desktop PC (i9 9900K, RTX 2080Ti, 64 GB RAM), where it ran decently smooth.

Controls

Steuerungspanel

You can control the player using one of two methods

  1. Using the UI in the bottom left corner
  2. Using the mouse and keyboard see Keybinds

Keybinds

UI

Buttons

As previously mentioned, you can control the player using the UI in the bottom left corner. The UI can also be used to trigger the following things:

  1. Set the time to day
  2. Set the time to night
  3. Change the current camera (Drone, Overview, Eiffel Tower)
  4. Reset the drone camera to the starting position