http://www.mediafire.com/?adgjwvoz2on
this is the download link. please copy and paste it. ty.
Monday, July 30, 2007
Thursday, July 19, 2007
Week 14
Activity 1a : The GL maintains a 3D position in window coordinates. This position, called the raster position, is used to position pixel and bitmap write operations. It is maintained with subpixel accuracy.
Activity 1b : glRasterPos2d( GLdouble x,GLdouble y ) modifies the location of the raster position
Activity 2 : The GL maintains a 3D position in window coordinates. This position,
called the raster position, is used to position pixel and bitmap write
operations. It is maintained with subpixel accuracy. Basically, both glRasterPos2d() and glWindowPos() are doing the same thing but glWindowPos() is more supported.
Activity 3 : first, I created a global variables the raster positions sx,sy and a vector uInput to store user input.
Then, i edited the keyboard() to catch the user input and store them in uInput. Also,
I made the backspace key to popback the last character inputted. Before the popback is executed, i place an if statement to check if the uInput is empty so as to not go out of bounds.
as for the render, the code are as follows :
::sx = 1;
::sy = 50;
glRasterPos2d(::sx,::sy);
for (int a = 0;a < ::uInput.size();a++)
{
struct bmp_letter mletter = alphabet[::uInput[a]]; //Selects charater to render
glDrawPixels(mletter.w, mletter.h, GL_RGBA, GL_UNSIGNED_BYTE,mletter.ttexture); //renders the selected character
::sx+=mletter.w;
//shifts the raster position so that the next letter would not be overlapped
glRasterPos2d(::sx,::sy);
}
Activity 1b : glRasterPos2d( GLdouble x,GLdouble y ) modifies the location of the raster position
Activity 2 : The GL maintains a 3D position in window coordinates. This position,
called the raster position, is used to position pixel and bitmap write
operations. It is maintained with subpixel accuracy. Basically, both glRasterPos2d() and glWindowPos() are doing the same thing but glWindowPos() is more supported.
Activity 3 : first, I created a global variables the raster positions sx,sy and a vector
Then, i edited the keyboard() to catch the user input and store them in uInput. Also,
I made the backspace key to popback the last character inputted. Before the popback is executed, i place an if statement to check if the uInput is empty so as to not go out of bounds.
as for the render, the code are as follows :
::sx = 1;
::sy = 50;
glRasterPos2d(::sx,::sy);
for (int a = 0;a < ::uInput.size();a++)
{
struct bmp_letter mletter = alphabet[::uInput[a]]; //Selects charater to render
glDrawPixels(mletter.w, mletter.h, GL_RGBA, GL_UNSIGNED_BYTE,mletter.ttexture); //renders the selected character
::sx+=mletter.w;
//shifts the raster position so that the next letter would not be overlapped
glRasterPos2d(::sx,::sy);
}
Thursday, July 12, 2007
Week 13
Question 2 download link:
http://www.geocities.com/darklord_tcs/spacesimulator.net_UberSoft.zip
Question 3 Download link:
http://www.geocities.com/darklord_tcs/spacesimulator.net_q3.zip
http://www.geocities.com/darklord_tcs/spacesimulator.net_q3.zip
http://www.geocities.com/darklord_tcs/spacesimulator.net_UberSoft.zip
Question 3 Download link:
http://www.geocities.com/darklord_tcs/spacesimulator.net_q3.zip
http://www.geocities.com/darklord_tcs/spacesimulator.net_q3.zip
Monday, June 4, 2007
BugZilla E-Learning : Tan Cher Shen


I sent a bug to zhi feng, my team member. I read through some of the bugs and couldn't understand most of them, thus i decided to submit a bogus report for a bogus bug that I found(mine). If I had my own Bugzilla database, I would register the AI and the interface as components for DM2231 Towers of Hanoi project. I can't figure out how to create the classified reports so i didn't do that part.
Saturday, June 2, 2007
Bugzilla E-Learning




5) I will register Component 1 for the product.
6) I went to register for Bugzilla account and sent in my email address. I went to create a bug report to my friend. And my friend sent a bug report to me. Then i fixed his bug and he fixed my bug. When he created a bug for me, i got a new email saying someone assigned a bug to me.
I create 2 bugs. Both products are _test product , component: component 1.
Subscribe to:
Posts (Atom)


