Advertisement

Draw sphere?

Started by November 26, 2001 10:32 AM
5 comments, last by Melhisedek 23 years, 3 months ago
I work with a project for a school ( TIE Fighter and I need to draw a sphere... There my problems start I can only use "auxSolidSphere(0.5f);" and then my sphere looks like a circle You can''t tell it is a sphere What can I do ??? Is there a way to draw it like a metall object or something ??? Please help! Any help would be appreciated! Thanks in advance!
Check Nehes tutorial on quadractics.

specifically look for gluSphere(...) as it draws realistic spheres
Advertisement
Either apply a texture to it or apply lighting. Or both.
I''ll try with lightning !!!
Thanks a lot !!!
Sorry guys, I can''t apply lightning
I have some book on the OpenGL topic but I can''t get code to work =(
Can someone send me some code for lightning or something... Link would help too...
Just to get it to work!
Thanks in advance!!!
Just go to NeHe''s main page and look for the Quadratics tutorial. Everything you need is right there.

_________
"Maybe this world is another planet''''s hell." -- Aldous Huxley
_________"Maybe this world is another planet''s hell." -- Aldous Huxley
Advertisement
quote:
Original post by Melhisedek
Sorry guys, I can''t apply lightning
I have some book on the OpenGL topic but I can''t get code to work =(
Can someone send me some code for lightning or something... Link would help too...
Just to get it to work!
Thanks in advance!!!


Maybe if you stopped trying to apply lightning (the stormy electric thing) and applied lighting (the bright anti-dark thing) you''ll have an easier time.

Read the book again, and make sure you typed it exactly. punctuation and spelling count.

If that fails, download the source attached to Nehe''s quadratics tutorial. The code''s there, so we don''t need to send it to you.

This topic is closed to new replies.

Advertisement