View Full Version : Mapping texture to an sphere
02-23-2004, 07:50 AM
I want to map a texture to a sphere. i have made the sphere using the gluQuadric functions. But how do i map the texture? someone who has some code on this?
02-23-2004, 10:29 AM
Take a look at nehe.gamedev.net quadrics tut, there is one command to generate tex coords for quadrics.
02-23-2004, 12:10 PM
I have an example on my site. www.angelfire.com/linux/nexusone/ (http://www.angelfire.com/linux/nexusone/)
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.