View Full Version : Mapping texture to an sphere
02-23-2004, 06: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, 09:29 AM
Take a look at nehe.gamedev.net quadrics tut, there is one command to generate tex coords for quadrics.
02-23-2004, 11:10 AM
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 © 2016 vBulletin Solutions, Inc. All rights reserved.