Jump to content
  • Advertisement

lildragon555

Member
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

100 Neutral

About lildragon555

  • Rank
    Newbie
  1. lildragon555

    Lesson 10 is all MODELVIEW. How can i change?

    Well I'm sorry for trying to help...it seems like this forum is dead so I thought it'd be okay to try and help with the little knowledge I have
  2. lildragon555

    Lesson 10 is all MODELVIEW. How can i change?

    Don't you have to do glPushMatrix() and glPopMatrix() whenever you do any rotations, translations, or scaling? So it'd be glPushMatrix(); GL11.glRotatef(lookupdown, 1.0f, 0, 0); GL11.glRotatef(sceneroty, 0, 1.0f, 0); glPopMatrix(); Also, after looking at lesson 10, it looks like you rotate everything to move around...that isn't going to be very good once you have a lot of things... I learned to use gluLookAt(), which sets up a camera pretty much..
  3. lildragon555

    Lesson 39+40 Help

    I understand the tutorial and can probably could implement stuff myself, but when I try to run the code, it doesn't seem to work. I just get a white background in my menu and nothing happens. Could it be because I'm using GLUT for most of the stuff?
  4. lildragon555

    Can't render quads

    Thanks man...didn't know the vertices had to be in order...
  5. lildragon555

    Can't render quads

    No it isn't in wireframe mode...it's in fill mode...
  6. lildragon555

    Can't render quads

    I attempted to create a simple box just placing points...but for some reason they come out as triangles instead of quads... Any idea? //Top glBegin(GL_QUADS); glVertex3f(0.0f, -4.0f, 0.0f); glVertex3f(5.0f, -4.0f, 0.0f); glVertex3f(0.0f, -4.0f, -5.0f); glVertex3f(5.0f, -4.0f, -5.0f); //Bottom glVertex3f(0.0f, -2.0f, 0.0f); glVertex3f(5.0f, -2.0f, 0.0f); glVertex3f(0.0f, -2.0f, -5.0f); glVertex3f(5.0f, -2.0f, -5.0f); //Left Side glVertex3f(0.0f, -4.0f, 0.0f); glVertex3f(0.0f, -4.0f, -5.0f); glVertex3f(0.0f, -2.0f, 0.0f); glVertex3f(0.0f, -2.0f, -5.0f); //Right Side glVertex3f(5.0f, -4.0f, 0.0f); glVertex3f(5.0f, -4.0f, -5.0f); glVertex3f(5.0f, -2.0f, 0.0f); glVertex3f(5.0f, -2.0f, -5.0f); //Front Side glVertex3f(0.0f, -4.0f, -5.0f); glVertex3f(5.0f, -4.0f, -5.0f); glVertex3f(0.0f, -2.0f, -5.0f); glVertex3f(5.0f, -2.0f, -5.0f); //Back Side glVertex3f(0.0f, -4.0f, 0.0f); glVertex3f(5.0f, -4.0f, 0.0f); glVertex3f(0.0f, -2.0f, 0.0f); glVertex3f(5.0f, -2.0f, 0.0f); glEnd();
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!