How to map a texture onto a sphere in openGL using glutSolidSphere

Posted on 2006-05-16
Last Modified: 2013-12-06

The question is as stated in the title. Please correct or guide me if my perspective on this is wrong.

Question by:thrawn80
    1 Comment
    LVL 22

    Accepted Solution

    by: says:
    The routines generate normals appropriate for lighting but do not generate texture coordinates (except for the teapot).

    If you want a texture-mapped sphere then you need to generate it yourself with appropriate texture coordinates.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    RTS  UDP byte[] size for big games? 5 545
    Game Center error 5 622
    Python RTS must use TKinter? 5 444
    scores100 challenge 3 68
    What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
    Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now