[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2006-05-16
3
Medium Priority
?
5,944 Views
Last Modified: 2013-12-06
Hi,

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

Thanks
0
Comment
Question by:thrawn80
1 Comment
 
LVL 22

Accepted Solution

by:
NovaDenizen earned 500 total points
ID: 16694441
http://www.opengl.org/documentation/specs/glut/spec3/node80.html 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.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Loops Section Overview
Suggested Courses

830 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