View Full Version : how to make glutSolidCube sixfaces different color
09-16-2008, 10:48 PM
how to make glutSolidCube sixfaces have different color
09-17-2008, 02:44 AM
Do the cube yourself.
6 quads can be done in code very easily. So you have control of the colors.
09-17-2008, 03:43 AM
Thank you You mean glutsolidcube's face can't have different color
09-17-2008, 06:35 AM
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.