Code Monkey home page Code Monkey logo

cg_project's Introduction

CG Project Instructions

This document is used to show how to run the source code.

first version: surrounding environment is only the coordinate system

The following technics are included in this project:

  1. Texture
    1. skybox
  2. Light
  3. Multiple ModelViews Handling
  4. Animation
  5. Keyboard control

Requirments

Python needs to be installed. The latest version is recommended. The version I tested on my machine is Python 3.9.7. More information on how to install Python can be found here (https://www.python.org/)
The following packages are also needed:

  1. PyOpenGL
  2. pygame
  3. Pillow
  4. numpy

pip is the package installer for Python. You can use pip to install packages from the Python Package Index and other indexes. The following command can be used to check if pip is already available in your machine.

python3 -m pip --version

If you installed Python from source, with an installer from python.org, or via Homebrew you should already have pip. If you’re on Linux and installed using your OS package manager, you may have to install pip separately, see Installing pip/setuptools/wheel with Linux Package Managers.

After making sure pip is available, following can install the packages:

pip install PyOpenGL
pip install pygame
pip install Pillow
pip install numpy

How to run the code

Go to the directory of the main file: skeleton.py
Run the following command:

python3 skeleton.py

Demo video

Here is link for demo video of this project.

cg_project's People

Contributors

dhao24 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.