Wierd OpenGL Coloring
Wierd OpenGL Coloring
- Subject: Wierd OpenGL Coloring
- From: email@hidden
- Date: Mon, 15 Apr 2002 11:38:31 -0700
Hi,
I've been working on the NeHe OpenGL tutorials, 'porting' it to
Cocoa as I went along, and so far, everything's worked really well,
until I got to the drawing solids part. I'm drawing a cube, each with
different color faces, and having it rotate. However, when I run it, the
cube draws, but the colors are all messed up. It seems like some of the
faces are transparent and like the colors 'mix' when they are rotated at
a certain angle. All the code for drawing the cube is correct, I even
copied/pasted from the tutorial and it still does it. However, I found
the 'GLCubes' example from Apple, and it doesn't have this problem, but
I don't see where the code would make a major difference... Anyone know
what's up?
Thanks,
Kevin
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.