Skip to content

trungle1101/csc322

Repository files navigation

CSC 322 - Computer graphic

Requirements and Installation

  • Python 3.8.2.
  • OpenGL.

The newest PyOpenGL no longer includes GLUT so that it'll be a import error when you install a normal version using 'pip install PyOpenGL'. The solution for GLUT is using a python extension package of PyOpenGL (install the unofficial pyopengl here NOT the accelerate version) . Choose the package match your system (python version, 32 or 64-bit). Remember to uninstall all of the package ralevant to OpenGL before install.

Homework 1

  • Get familier with OpenGL.
  • Create a polygon.
  • Vietnam national flag.
  • Night ky with hundred of colorful star.

Star

Calculate vertex star coordinate

Result

example_output

example_output

example_output

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages