Eight ball

so i am rendering an eight ball as a sphere, but i do not know how to put the white cirlce and the number 8 on it. Any advice?

Best way would be to make a texture map.
Then use a paint program to put a white circle with a 8 on a black background.
Then just map the texture to your sphere.

Originally posted by Eclipix:
so i am rendering an eight ball as a sphere, but i do not know how to put the white cirlce and the number 8 on it. Any advice?

Yes, that I have already tried, but when i texture the sphere, it textures each quad on the sphere, so i end up with a sphere with a hundred little textures.

Have you computed the texture coordinates?? OpenGL does that for you on this simple object, look into the API-docs to find the right funcs. I don’t use them, but I know they exist!

Greets,

Martin

Are you using TexParameter?
And the settings TEXTURE_WRAP_S, TEXTURE_WRAP_T and the setting CLAMP

TexParameter( texture , TEXTURE_WRAP_S
, CLAMP)
TexParameter( texture , TEXTURE_WRAP_T
, CLAMP)

Originally posted by Eclipix:
Yes, that I have already tried, but when i texture the sphere, it textures each quad on the sphere, so i end up with a sphere with a hundred little textures.

The texture mapping tutorial at Nate Robins web site might help clear up some of your problems.
http://www.xmission.com/~nate/tutors.html

Good luck.