Skip to content

Avocadrew/MazeVisibility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MazeVisibility

Jun-Yu (Andrew) Chen

Introduction

Implementation of a maze rendering program, which is not too far removed from those used in computer games of the first-person variety. Clipping, Projecting and Recursive Visility are implemented without using calculation functions provided by OpenGL.

Building and Running

Can be built directly with CMake with the given CMakeLists text file, preferred building/running platform would be Visual Studio 2019 on Windows 10.

Tasks Done

  1. Projecting a wall onto the screen with perspective projection and drawing it.
  2. Correctly clipping walls to the view for a single cell maze.
  3. Visibility calculated recursively.
All calculation functions mentioned above are implemented single-handedly without using OpenGL calls.

Implementation

Done as coursework for CS3026 Introduction to Computer Graphics in NTUST, Fall 2021. More details about the course project could be seen in this link.

© 2022 Andrew (Jun-Yu) Chen

About

Code calculating visibility of objects while strolling through a maze with OpenGL in C++

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages