Textured Sphere

Anyone have an example of a textured sphere?

Thanks

Zak

Zak,

I strongly encourage you to get a copy of “The Red Book.” No OpenGL programmer should be without it. It’s formal name is:

OpenGL Programming Guide: The Official Guide to Learning Opengl, Version 1.2 by Mason Woo, Jackie Neider, Tom Davis, OpenGL Architecture Review board, Paula Womack - Paperback - 800 pages 3rd edition (August 6, 1999) Addison-Wesley Pub Co; ISBN: 0201604582

gamedev.net hosts a free pdf copy of an older version at http://www.gamedev.net/download/redbook.pdf.

In there you will find enough information to give yourself a solid foundation in OpenGL. Converting the C examples into jogl is trivial, so don’t let that bother you. From there, you should be able to look at any OpenGL example and adapt it to your needs.

A few sites I’d recommend are:
http://nehe.gamedev.net
www.gametutorials.com
www.lighthouse3d.com

Thank you for your help pointing me in the right direction, but I own all the OpenGL,Java3D books published.

But unfourtunately, each book does not tell the mathematical formulas to achieve this. It always tells theory, not practice.

I am rusty on my math, therefore making it difficult to match spherical coordinates to the (s,t) values for my texture.

You would think that some guru out there would post a simple solution to this, but I guess not.

But thanks for your help.

Zak

Google handed me this page:
http://astronomy.swin.edu.au/~pbourke/opengl/sphere/
Hope it helps.