Fall 2011 CS 4465 Class - Sumamry of Activities by date

Mon Oct 3
Draw Square with Mouse Control
Display List Example
Draw square using Mouse and Menu
A Simple Paint Program


Hint for the game program
//This method allows you to write a text of some length
//on the screen, you need to include string.h at the top of your
//program. it won't hurt to have stdio.h as well.
//You need to define your font too. I have used:
void *font = GLUT_BITMAP_TIMES_ROMAN_24; // output font type
void text_out(float xText,float yText, char *string, int len) // pass coords. and string
int i;
glRasterPos2f(xText,yText);
len = (int) strlen(string);
for (i=0; i <= len-1 ; i++) //you can use < len
{
glutBitmapCharacter(font, string[i]);
}
}


//A call to this function can be:
text_out(2,0.93*(maxY),"Score",6);

This is a very simple example of a write score function:
void writeScore()
{
char newScoreString[255] = {0};
sprintf(newScoreString, "SCORE: %d", hitCount);
text_out(2,(maxY-10),"Hits",6);//maxY is height of screen
text_out(10,(maxY-10),newScoreString,6);
}

Wed Oct 12
Quick review of the Exam
MyNotes (4)

Fri Sep 30 Bitmap Font Display
We also played with the Display List where we reset the color of the font back to the original.

Wed Sep 28
Lab (4).

Mon Sep 26
More on the recursive program that draw one side of snow flakes. Mathematics behind it.
A program for hidden Surface Removal

Fri Sep 23
A program for hidden Surface Removal
Preparation for the Snow Flakes Program

Wed Sep 21
Lecture Notes, myNotes (2)
Sierpinski Gasket with Lines

Mon Sep 19
Sierpinski Gasket with Points

Fri Sep 16
Quiz (4)

Wed Sep 14
Lab(3)

Mon Sep 12
Lecture Notes 2, 3

Wed Sep 7
Lab (2)

Mon Sep 5
Lecture Notes 2

Fri Sep 2
Quiz (2)
Lab (1)

Wed Aug 31
Chapter (1)
Summary

Mon Aug 29
Introduction to Linear Algebra
DOT Product, CROSS Product, calculating determinant, finding inverse, transpose, finding normal, normalizing a vector
Started Chapter (1)

Fri Aug 26
Introduction to Linear Algebra
DOT Product, CROSS Product, calculating determinant, finding inverse, transpose, finding normal, normalizing a vector

Wed Aug 24
Syllabus, Graduate Meeting set for Wed 2:00 pm
Introduction to Linear Algebra