red orange yellow green blue pink

Spheres Dissapeared

domingo, junio 5th, 2011
THe spheres are already fixed in their planes, now the problem, is when we rotate with glRotatef(), to the back of the sun, the spheres dissapeares (get out from the visible plane)... now we are looking what we have to do for this problem...  Read More

Meeting to begin to draw 3d spheres

domingo, junio 5th, 2011
In Friday June 3, we meet in a house, to begin with the project. We´ve found a very goo manual in Spanish that explains how to start your "First OpenGL figures".,.. form this we´ve learned so much, for example what is the purpose of the glPushMatrix() y glPopMatrix(), which are very important when you want to draw several spheres in the screen... Read More

gluPerspective() and glViewport()

domingo, junio 5th, 2011
We´ve searched in a OpenGL manual what gluPerspective() does, we also look something about glViewport(): Well, gluPerspective has 4 arguments:
fovy.- Specifies the field of view angle, in degrees, in the y direction.
aspect.- Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
zNear.- Specifies the distance from the viewer to the near clipping plane (always positive).
zFar.- Specifies the… Read More