Skip to content

Simulate particles on a grid with different behaviors and colors. Additionally, the app implements Look-At, Turn-To, and Mouse-Look algorithms from my lectures.

Notifications You must be signed in to change notification settings

EthanStanks/END-Class

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

END-Class

This repository contains the implementation of an interactive 3D graphics application. The implementation uses the provided renderer as a base and allows users to simulate particles on a grid with different colors and behaviors. The implementation also includes the implementation of Look-At, Turn-To, and Mouse-Look algorithms from the lecture.

Installation

To use the implementation, you will need to have a C++ compiler and Visual Studio installed on your computer.

Camera Controls

  • To move the camera, hold down the right mouse button to unlock the mouse cursor. Then, move the mouse to rotate the camera.
  • To move the camera forward, press the 'W' key. To move the camera backward, press the 'S' key.
  • To move the camera to the right, press the 'D' key. To move the camera to the left, press the 'A' key.
  • To move the camera up, press the 'Space' key. To move the camera down, press the 'Shift' key.

Player Controls

  • To move the player forward, press the 'Up' arrow key. To move the player backward, press the 'Down' arrow key.
  • To turn the player to the right, press the 'Right' arrow key. To turn the player to the left, press the 'Left' arrow key.
Note: The speed of camera and player movement is affected by the dt variable.

The simulation also supports the following behaviors:

  • Update functionality: Updates the velocity of the particles, spawns particles, moves the camera, collects input, color update changes, etc.
  • Debug Renderer: Renders a grid (simulating a floor), changes the colors of the grid based on time, and allows users to cycle through the colors of the grid.
  • Pools: Allows users to spawn simple particles, create a sorted pool and a free pool, and use them to spawn particles. Users can also use multiple emitters that share the pool to spawn particles.
  • Simple Particle behavior: Allows users to spawn particles a little at a time, to have a constant spray, not fire them all at once.

Credits

This implementation was created by Ethan Stanks. It is based on the provided renderer and the Look-At, Turn-To, and Mouse-Look algorithms from the lecture.

About

Simulate particles on a grid with different behaviors and colors. Additionally, the app implements Look-At, Turn-To, and Mouse-Look algorithms from my lectures.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published