Results 1 to 5 of 5

Thread: how to add textmap on glutSolidCube

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2008
    Posts
    4

    how to add textmap on glutSolidCube

    who can help me how to add textmap on glutSolidCube

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Apr 2004
    Posts
    990

    Re: how to add textmap on glutSolidCube

    The geometric primitives from glut do not generate texture coordinates (except for the teapot). It's best you write your own cube rendering code with appropriate texture coordinates

  3. #3
    Junior Member Newbie
    Join Date
    May 2008
    Posts
    7

    Re: how to add textmap on glutSolidCube

    Can i get source of these geometric primitives from glut ?

  4. #4
    Senior Member Frequent Contributor
    Join Date
    Apr 2004
    Posts
    990

    Re: how to add textmap on glutSolidCube

    Download the source code here. Extract it and look for glut_shapes.c in the "/lib/glut" directory.

  5. #5
    Junior Member Newbie
    Join Date
    May 2008
    Posts
    7

    Re: how to add textmap on glutSolidCube

    Thank For share. God bless u.

Similar Threads

  1. Problem rendering glutSolidCube
    By akiross in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-07-2005, 01:33 PM
  2. Transparent glutSolidCube ???
    By watever21 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-11-2002, 06:05 AM
  3. ? about glutSolidCube( )
    By Eclipix in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 04-18-2002, 08:51 AM
  4. I need help texturing a glutSolidCube
    By sneak in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 11-14-2001, 06:10 AM
  5. glutSolidCube has anyone used this
    By buddylee in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 09-24-2000, 10:18 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