Skip to content

victorveiga/house-pyopengl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

house-pyopengl

Created a house using PyOpenGL resources

This project was created with the objective of composing the evaluation note of the UNIFESO university's computer science image processing course.

2D simulation:

Press the "d" key for Daytime period and press "n" for Nighttime period.

3D simulation:

- Press the "f" key to show the house´s front

- Press the "t" key to show the house´s back

- Press the "e" key to show the house´s left side

- Press the "r" key to show the house´s right side

- Press the "c" key to show the house´s top side

Installation

1 - Create and activate your virtual environment

  • python -m venv venv
  • cd venv\Scripts
  • activate

2 - Update pip

  • python -m pip install --upgrade pip

3 - Install PyOpenGL on Windows

4 - Install dependencies from requirements.txt

  • pip install -r requirements.txt

Starting simulation

  • Simply run the "run" command for 2D simulation and "run2" for 3D simulation. (Warning: The virtual environment activate is required).