PDA

View Full Version : GluSphere - Quads coming off of surface



jimwalks
11-30-2010, 05:21 PM
Hi all,

I'm trying to make a spherical histogram plot using a GluSphere. I have a sphere drawn as a mesh using glusphere and would like to have boxes coming off of the sphere where the lines are.

The problem i'm having is getting the coordinates of the slices and stacks, so i can then create quads to come off of these areas. Can anyone point me in the right direction please, im not looking for code however any hints will be greatly appreciated.

Many thanks,

Jim

mobeen
12-01-2010, 05:46 AM
Check this
http://local.wasp.uwa.edu.au/~pbourke/texture_colour/texturemap/