hello sir
i m trying to write character (eg “C”) on sphere using glutBitmapCharacter … its writing perfectly…
i want to write character so that …if we rotate the sphere (using keyboard) the character should appear on top ie it should visible to viewer inspite of it’s rotation
Draw the sphere first, then the characters. If the characters are not showing on the backside of the sphere, it’s because depth testing is being done. All you have to do is disable it. It’s one line of code. In the images below, F17 and F18 are on the backside of the earth. The only difference in the code that generated these images is whether or not depth testing is enabled.