Results 1 to 4 of 4

Thread: how to make glutSolidCube sixfaces different color

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

    how to make glutSolidCube sixfaces different color

    how to make glutSolidCube sixfaces have different color

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: how to make glutSolidCube sixfaces different color

    Do the cube yourself.
    6 quads can be done in code very easily. So you have control of the colors.

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

    Re: how to make glutSolidCube sixfaces different color

    Thank you You mean glutsolidcube's face can't have different color

  4. #4
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: how to make glutSolidCube sixfaces different color

    You have to understand that glut/glu is only for basic helper things. Look up the source code to see how it is done, and modify or recode it to your needs.

Similar Threads

  1. color make me confused
    By aQ in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 05-20-2005, 01:07 AM
  2. Make color transparent
    By Hylke Donker in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 03-23-2005, 06:44 AM
  3. How to make yellow with RGBA color?
    By earth_walker in forum OpenGL: Basic Coding
    Replies: 8
    Last Post: 07-26-2003, 02:42 PM
  4. How do I make the screen color transparent?
    By songeb in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 12-18-2001, 06:14 AM
  5. How to make pink color..?
    By MONA in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 01-18-2001, 07:20 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