I want to draw the Earth and the Moon using my rotation algorithm (i.e., without Rotate or a similar function). Need a sphere in which you can put the texture. I dug up the Internet in two ways: using gl.Sphere () and building a sphere through cycles. In the first case, the sphere is each time built at the origin without a choice of center, in the second case it is impossible to put a texture (not a fact that it is possible in the first). There is an option to move the coordinate system to another location and build a circle there, but I don’t understand how.

enter image description here

  • one
    The question is too general. Look for the best lessons on OpenGL, everything is arranged in steps, and to create spheres, and for texturing, and to move. If you use SharpGL, then there is still in the lessons there. - Kromster

0