|
-
Jun 15th, 2002, 12:36 PM
#1
Question about auxSolidCube
In OGL, auxSolidCube. Is this a good one to use for a tetris clone? I need to track corner coordinates and stuff, can I get that from auxSolidCube.
I tried making my cubes from 6 rectangles but theres gotta be an easier way.
Also, can you color the cube like you color vertices with glBegin (GL_WHATEVERS);?
Thanks!
NOMAD
-
Jun 15th, 2002, 06:38 PM
#2
Monday Morning Lunatic
I think the aux library is being phased out in favour of GLUT, there might still be a use for it though.
You could probably just use:
Code:
glColor3f(red, green, blue);
auxSolidCube(...); /* or glutSolidCube(...) */

I doubt you'll be able to track the corners easily with that, but cubes aren't that hard to draw by yourself
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jun 16th, 2002, 11:09 AM
#3
GLUT?
Thanks Parksie.
You're right, and for now that's how I have it. I havn't heard of GLUT, my book is kinda old. You know know where I can get some info on that?
Thanks!
NOMAD
-
Jun 16th, 2002, 11:11 AM
#4
Monday Morning Lunatic
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jun 16th, 2002, 12:13 PM
#5
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|