c - OpenGL - glusphere not smooth -


i have been experimenting arguments glusphere(). problem sphere not smooth, , looks more blot. right now, call looks this:

       glpushmatrix();         gltranslatef(0.1, 0.1, 0.0);         gluquadricobj *quadric;        quadric = glunewquadric();         glusphere(quadric, .02 , 32 , 16);        glpopmatrix(); 

any suggestions looks not right code snippet appreciated. understanding higher value of 3rd , 4th argument, slices , stacks, respectively, smoother edges of sphere be.

edit:

changing translation coordinates (0.08, 0.08, 0) results in smoother sphere.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -