Results 1 to 3 of 3

Thread: Mapping texture to an sphere

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2004
    Posts
    10

    Mapping texture to an sphere

    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?

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Nov 2002
    Location
    Latvia
    Posts
    626

    Re: Mapping texture to an sphere

    Take a look at nehe.gamedev.net quadrics tut, there is one command to generate tex coords for quadrics.

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: Mapping texture to an sphere

    I have an example on my site. www.angelfire.com/linux/nexusone/

Similar Threads

  1. Sphere texture mapping
    By pedr0 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-22-2010, 05:04 AM
  2. Sphere Texture Mapping
    By girish3110 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-07-2008, 11:21 AM
  3. Texture Mapping a Sphere
    By OGL_PGR in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 12-10-2006, 08:16 AM
  4. Texture mapping a sphere?
    By UnderWear in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 12-18-2002, 07:43 PM
  5. Texture mapping on sphere
    By abhiboy007 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 07-19-2001, 02:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean