Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: JayNort

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    3,413

    I'm not using any scaling transformations, but I...

    I'm not using any scaling transformations, but I guess I found the cause (number 4 in your reasons :p). I was issuing glLightfv(GL_LIGHT0, GL_POSITION, lumPos) and I believe the coordinates in lumPos...
  2. Replies
    6
    Views
    3,413

    Thanks for explaining, I moved the glLightfv call...

    Thanks for explaining, I moved the glLightfv call and it's now issued directly after gluLookAt() but the problem doesn't seem to be related. I'm still stuck on it, here's an example of my cylinder...
  3. Replies
    6
    Views
    3,413

    Yes, I gave each of them their own normal...

    Yes, I gave each of them their own normal (probably not the best way to do it, but it's the best I know for now) in glNormalPointer, but it is indeed the same for all (0,1,0). But I'll check them...
  4. Yes, draw it on paper first (remember the axis...

    Yes, draw it on paper first (remember the axis representation). Use triangles and then use glVertex (MAN) to draw the points!
  5. Replies
    6
    Views
    3,413

    Lighting problem after drawing a cylinder

    Hi there!

    I've just started learning openGL and have a doubt that is intriguing me (I searched and read but couldn't find an answer).

    So, I created a cylinder (out of triangles), uploaded the...
Results 1 to 5 of 5