Skip to content

donaldnguyen99/engine3d

Repository files navigation

Engine 3D

cube

A simple 3D engine written in Python using Pygame (for learning purposes). This is a work in progress.

Installation

git clone https://github.com/donaldnguyen99/engine3d.git
cd engine3d

It is recommended to use a virtual environment to install the dependencies. Example using venv:

python -m venv env
source env/bin/activate

Example using conda:

conda create --name engine3d --file environment.yml
conda activate engine3d

Then run the following command to install the package in development mode or just install the package with -e flag:

pip install -e .

Demo

To run the cube animation demo:

cd examples
python cube.py

To run the refraction demo, use the following command, then use A and D keys to move the incident ray.

cd examples
python refraction.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages