https://github.com/tamim-saad/cse-102-l1t1-project
contains 1-1 project folder
https://github.com/tamim-saad/cse-102-l1t1-project
buet-cse cse-102 igraphics
Last synced: 3 months ago
JSON representation
contains 1-1 project folder
- Host: GitHub
- URL: https://github.com/tamim-saad/cse-102-l1t1-project
- Owner: Tamim-saad
- Created: 2024-01-08T07:29:50.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-06-29T19:44:05.000Z (11 months ago)
- Last Synced: 2024-12-28T08:11:56.789Z (5 months ago)
- Topics: buet-cse, cse-102, igraphics
- Language: C++
- Homepage:
- Size: 43.5 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iMain is the main code for the project , rest files are need to be included in same folder to run the iMain correctly
# Overview:
"Mission Antarctica Impossible" is a fun and challenging mini-game set in the icy landscapes of Antarctica. Developed as part of our Level-1, Term-1 coursework at BUET, this project was a collaborative effort with a fellow student.# Project Details:
Development Time: 4 weeks
Collaboration: Team project
Technologies Used: C language, iGraphics# Key Features:
Exciting Gameplay: Navigate through icy terrains and overcome obstacles to complete missions.
Visual Appeal: Created stunning graphics and animations using iGraphics.
Challenging Levels: Enjoy an engaging storyline with progressively harder levels.# IGraphics
This is the repository for IGraphics library. IGraphics is a thin wrapper on top of OpenGL. This can be used for simple 2D graphics demonstrations, project work for C programming language courseCommand line compiling:
-----------------------
g++ -IOpenGL\include -w -c BallDemo.cpp -o BallDemo.oCommand line linking:
---------------------
g++ -LOpenGL\lib BallDemo.o -o BallDemo.exe -lGlaux -lGLU32 -lglui32 -lglut32 -lOPENGL32 -lgdi32Command line running:
---------------------
Make sure glut32.dll is present in the same folder
Run BallDemo.exeAnimation Related API:
----------------------
int iSetTimer(int msec, void (*f)(void))
void iPauseTimer(int index)
void iResumeTimer(int index)Shape drawing:
--------------
void iSetColor(double r, double g, double b)
void iPoint(double x, double y, int size=0)
void iLine(double x1, double y1, double x2, double y2)
void iFilledPolygon(double x[], double y[], int n)
void iPolygon(double x[], double y[], int n)
void iRectangle(double left, double bottom, double dx, double dy)
void iFilledRectangle(double left, double bottom, double dx, double dy)
void iFilledCircle(double x, double y, double r, int slices=100)
void iCircle(double x, double y, double r, int slices=100)
void iEllipse(double x, double y, double a, double b, int slices=100)
void iFilledEllipse(double x, double y, double a, double b, int slices=100)Text output:
------------
void iText(double x, double y, char *str, void* font=GLUT_BITMAP_8_BY_13)Rendering:
----------
void iDraw();
void iClear();
void iShowBMP(int x, int y, char filename[])Initialization:
---------------
void iInitialize(int width=500, int height=500, char *title="iGraphics")I/O event handling:
-------------------
void iKeyboard(unsigned char);
void iSpecialKeyboard(unsigned char);
void iMouseMove(int, int);
void iMouse(int button, int state, int x, int y);