new graphics card-now cylinders are bad
check link below:
http://myweb.tiscali.co.uk/3drocknroll/badcylinder.jpg
The cylinders have sort of like spots or white ringson them, they were smooth colored before. Before I had a intel exteme graphics, now I have a new Radeon 9600se card.
I've checked for opengl errors and there are none.
Here's the code to draw the cylinders:
#define TURRET_WIDTH 4
#define TURRET_LENGTH 20
for each cylinder:
=====================
gluQuadricDrawstyle(turret, GLU_FILL);
gluQuadricNormals(turret, GLU_SMOOTH);
//do translation+rotation
//draw each cylinder like this:
gluCylinder(turret, 4, 20, 20, 10, 10);
=======================
Any ideas how to get rid of the blotches...
I have several other graphics type problems now I have a new card as well...
cheers
Ade
The first thing that springs to mind is that maybe textures are still on.
Try adding glDisable(GL_TEXTURE_2D); before the drawing code.
Try adding glDisable(GL_TEXTURE_2D); before the drawing code.
They look like bad normals to me - it's the right colour and the right shape, it just has the wrong amount of lighting on pairs of vertices. You could try drawing the normals?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement