Results 1 to 5 of 5

Thread: Question about auxSolidCube

  1. #1
    NOMADMAN
    Guest

    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

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  3. #3
    NOMADMAN
    Guest

    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

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  5. #5
    NOMADMAN
    Guest
    Thanks Parksie!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width