PDA

View Full Version : Drawing a transparent glass sphere



jenny_wui
09-08-2010, 05:37 AM
I want to draw a glass sphere. How to draw that. I have not much deep knowledge in OpenGL. How can that be one. Any help will be highly appreciated.

ugluk
09-08-2010, 10:37 PM
Much in graphics is up to you. You can simply draw a transparent sphere with some glassy texture and be done with it. Or you can do some nice refraction and lighting... It is up to you to google for the info and then implement it.

HannesH
09-09-2010, 01:59 PM
Take a shader tutorial.

http://www.lighthouse3d.com/opengl/glsl/

After that you can do just about anything that you can dream up.