Texture Mapping

Started by
1 comment, last by clrscr 22 years, 1 month ago
I have a sphere declared like this: auxSolidSphere(1.0); How would I texture it? I''ve been at this for a while and am lost. "The most likely way for the world to be destroyed, most experts agree, is by accident. That''s where we come in; we''re computer professionals. We cause accidents." -Nathaniel Borenstein
-----------------------------When men speak of the future, the Gods laugh.An apology for the devil: it must be remembered that we have heard one side of the case. God has written all the books.Samuel Butler (1835 - 1902)
Advertisement
Use texture coordinate generation with sphere mapping. That should work...

Death of one is a tragedy, death of a million is just a statistic.
If at first you don't succeed, redefine success.
You shouldn''t be using GLaux. Make your own function to render a sphere or fill a vertex array for drawing spheres. You can find information about this online.

This topic is closed to new replies.

Advertisement