Henrik Henrik - 8 months ago 97
Java Question

3D Sphere OpenGL

I've just gotten into this whole OpenGL thing because i would like to play around with 3D. (Since I'm trying to develop a game for android). However, after days of learning the basic and how to create rotating pyramids and cubes etc. I would like to create a Sphere, acctually a globe. But i can't seem to find any helpful information about how to handle the vertices and indices to a sphere, how to set them up. So if any of you could lead me on too the right track, maybe give me some example code or link to a tutorial (iv'e googled alot) or just anything, i would i appreciate it very much!


Subdivision of an octahredon works pretty well.