Henrik Henrik - 1 year ago 161
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!

Answer Source

Subdivision of an octahredon works pretty well.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download