So after so long since a few of my best friend called me to set up a blog for myself,i decided 2 do so.
Why now u may ask.Well i dun knw e answer maybe just cos i feel like it now.Actually i have long set up dis blog but i mainly used it for more school stuff but now since it is no longer in use for i decided to use it for personal stuff.
The last few weeks was really like a hurricane,everything just come and go.Tired but really happy it is finally over but a bit sad rather as life has more or less return to normal.Humans is always like dis-失去了才懂得珍惜.Haha.
Because of dat as well i never see all my frens in a veri long time wonder when i will see dem again?Hope 2 see dem real soon.
How am i now?Now i am totally focusing on working and knowing new frens and have a new life experience.
Since is my first blog but i got nth much to say as i am still getting use to letting my fingers do e talking and speaking to an person that never replies my question.
Well till next time!
Sunday, March 29, 2009
Wednesday, November 26, 2008
Week7 Summary
First thing first as promised last week i finally able to make my very first own robot moves!Haha!Ya it was really cool.
For this week we touch on implementing light source to our robot and material.This not only makes our whole robot lights up it also gave it slightly reality look.
This week it is not really tough,for me it is a pretty straight forward practical.We just need to add on light to our previous week robot and it will be perfect.
I alter a bit with the ambient,specular,diffuse and position for different lighting look.
So by the end of 2 hr this is my final product!

So this is it again i make it with lighting.You can see it that ths colour stands out a bit more than the previous week.I make out 4 robots to make it look as if it is pedestrian walking!
For this week we touch on implementing light source to our robot and material.This not only makes our whole robot lights up it also gave it slightly reality look.
This week it is not really tough,for me it is a pretty straight forward practical.We just need to add on light to our previous week robot and it will be perfect.
I alter a bit with the ambient,specular,diffuse and position for different lighting look.
So by the end of 2 hr this is my final product!

So this is it again i make it with lighting.You can see it that ths colour stands out a bit more than the previous week.I make out 4 robots to make it look as if it is pedestrian walking!
Wednesday, November 19, 2008
Week 6 Summary
This week the most interesting part is when we finally starts on coding out our own robot.I should said it was really cool!This robot is actually just a small platform for us to start on our own assignment 1 for computer graphics.
I still have a bit of problem to make my robot moves but at least managed to make out the robot itself.
But i promise before i start on my assignment 1 i make sure i get a hang on making my robot moves!
Again here is the my own so called final product of this week practical!

This is then!My first Robot!!!!Yey!
I still have a bit of problem to make my robot moves but at least managed to make out the robot itself.
But i promise before i start on my assignment 1 i make sure i get a hang on making my robot moves!
Again here is the my own so called final product of this week practical!

This is then!My first Robot!!!!Yey!
Tuesday, November 18, 2008
Week 5 Summary
This week we touch viewport and transformation!I learn how to scale,shape and translate shapes using open glut for 2D and 3D.It seems to be very easy but it looks harder then it seems.
We also learn Matrix Stack using "push and pop"to add and remove element from the stack.It took me a while to fully understand to be exact 3 whole days.
Then during the practical Miss Tan wants us to try out doing a 3D cube first before trying out the solar system.It is really the toughest ever in ComG i totally have no idea on how to start but to start out with a sphere.
I just finally with some help from friends manage to make the solar system rotate.
This is the final product of week 5 practical:

And that's all for week 5!
We also learn Matrix Stack using "push and pop"to add and remove element from the stack.It took me a while to fully understand to be exact 3 whole days.
Then during the practical Miss Tan wants us to try out doing a 3D cube first before trying out the solar system.It is really the toughest ever in ComG i totally have no idea on how to start but to start out with a sphere.
I just finally with some help from friends manage to make the solar system rotate.
This is the final product of week 5 practical:

And that's all for week 5!
Friday, November 7, 2008
Summary of Week 4
This week in lecture we finally touch on the very interesting of 3D design.At first when inside the lecture the topic was very complicated to understand.I had a very hard time concentrating on the lecture.
But when i finally do and try what she taught us in the lecture during practical,everything came alive.It was not really that hard to understand it is almost like last weeks practical lesson just that it takes more thinking and drawing on paper.Last week we touch on 2 different coordinates to design our 2D shapes but this week is 3 coordinates.
With an extra Z it does really make a difference in the whole thing.I have to estimate more where the rectangle is going to end up on the program screen.
Then later we have to code more then 6 time for each side of the rectangle to let it to look 3D.It was a really tedious job.But still managed to done it after much effort.Although it does not look nice.The following screen shots is the product of week 4 practical.

This is it then!
But when i finally do and try what she taught us in the lecture during practical,everything came alive.It was not really that hard to understand it is almost like last weeks practical lesson just that it takes more thinking and drawing on paper.Last week we touch on 2 different coordinates to design our 2D shapes but this week is 3 coordinates.
With an extra Z it does really make a difference in the whole thing.I have to estimate more where the rectangle is going to end up on the program screen.
Then later we have to code more then 6 time for each side of the rectangle to let it to look 3D.It was a really tedious job.But still managed to done it after much effort.Although it does not look nice.The following screen shots is the product of week 4 practical.

This is it then!
Wednesday, October 29, 2008
My First Squares And Triangles!
Summary of Week 3
This week Computer Graphics lecture and lab we actually look on 2D Rendering.During the lab we got a hand on on how to create shape in OpenGL,it was really cool.Depending on the coordinates vertex that we enter we can design the shapes into wonderful patterns.Maybe because i am rather weak in vectors i have a bit of hard time doing the squares but over all it was still fine i am still able to print out the teacher requirements.
In my next post i will be putting up my screen shot of the squares and triangles.
In my next post i will be putting up my screen shot of the squares and triangles.
Wednesday, October 22, 2008
Summary of Week 2
This week lab we learn how to use openGL to do coding and create image and window on computer.In the lecture we also got on 2D image and colouring.We also learn how every screen regardless of TV or Computer how they much pixel they needed to produce image.
Computer Graphics Practical 2
Question 1 – Define a Callback function?
Ans:It is a function for us able to add it to any main() function and to be able to be used.Thus,we can use any function just by calling it.
Question 2 - When exactly is myDisplay()called? How do you get to your findings?
Ans:I got to it when i am going to enter this line of code "glutPostRedisplay();".It is actual name is called glutPostRedisplay(myDisplay).
Question 3 – List the process to access the VRAM.
Ans:1)We must first declare a struct type that we can used to represent a pixel on a screen.
2)Then we manipulate and allocate the memory space
3)Then we copy the content to the double buffer and openGL will handle the rest for us.
Question 4 - What color format are we using here i.e. 8 bits, 16 bits, 24 bits or 32 bits?
Ans:8 bits
Question 5 - How much memory have we allocated?
Ans:480,000 bytes
Question 6 – Describe what has glDrawPixel() done.
Ans:It can defined the size of the area that the pixel can draw on.
Ans:It is a function for us able to add it to any main() function and to be able to be used.Thus,we can use any function just by calling it.
Question 2 - When exactly is myDisplay()called? How do you get to your findings?
Ans:I got to it when i am going to enter this line of code "glutPostRedisplay();".It is actual name is called glutPostRedisplay(myDisplay).
Question 3 – List the process to access the VRAM.
Ans:1)We must first declare a struct type that we can used to represent a pixel on a screen.
2)Then we manipulate and allocate the memory space
3)Then we copy the content to the double buffer and openGL will handle the rest for us.
Question 4 - What color format are we using here i.e. 8 bits, 16 bits, 24 bits or 32 bits?
Ans:8 bits
Question 5 - How much memory have we allocated?
Ans:480,000 bytes
Question 6 – Describe what has glDrawPixel() done.
Ans:It can defined the size of the area that the pixel can draw on.
Subscribe to:
Comments (Atom)

