Skip to content

Here is some code i did in Computer Graphics lab in opengl. Some mixture of Triangle , Star , Circle , Rectangle coded in Opengl. Star in Opengl

Notifications You must be signed in to change notification settings

Rafatlne/Computer-Graphics-Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer-Graphics-Lab

Instruction

Instruction on How to install GLUT and use the library is attached in the extra folder.

Instruction for Windows

1.Run Codeblocks.

2.Open any of the exiting project.

Instruction for Linux

Linux comes with opengl out of the box. But for these projects you will also need a library GLUT in ubuntu install free glut

sudo apt-get install freeglut3-dev

To run the code use the following command

c++ $input.cpp -lGL -lGLU -lglut -o $output

Screenshot

  1. Moonlit-night

Moonlit-night

2.Star

Star

3.Star Inside Circle

Star-Inside-Circle

About

Here is some code i did in Computer Graphics lab in opengl. Some mixture of Triangle , Star , Circle , Rectangle coded in Opengl. Star in Opengl

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published