You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to view the textured sphere from the outside, the first step is to translate the sphere, right now the camera is set to the origin (0,0,0) same as the sphere.
If you add a glTranslatef(x, y, z) let me know if that begins to create the effect.
You want to animate the translation. And if you are dealing with viewing the textured sphere from the outside, do you want to see the inside texture or the outside texture?
glEnable(GL_CULL_FACE);
then
glCullFace(GL_BACK);
or
glCullFace(GL_FRONT_AND_BACK);
or
glCullFace(GL_FRONT);
hi, please add a function that can make the image into a little planet effect, thanks
The text was updated successfully, but these errors were encountered: