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: joatmon

Search: Search took 0.00 seconds.

  1. Thank you so much! I didn't realize that I...

    Thank you so much! I didn't realize that I misunderstood that parameter.
  2. Object Getting Stretched with glViewport / glScissor

    I'm writing an iPad app where I have the screen split into four quadrants (just working on the upper left quadrant at the moment). For now, I'm drawing a simple cube. When I drew this prior to using...
  3. Difference between GLKMatrix4Translate and GLKMatrix4MakeTranslation

    I understand the idea behind a translation, including the math. What I don't understand is how these two functions differ from one another. I think that GLKMatrix4Translate is the same as a...
  4. Replies
    4
    Views
    1,157

    Aaaagh! In all my obsession over the code in...

    Aaaagh! In all my obsession over the code in drawCube and my data structure, I overlooked the obvious fact that somewhere along the way I had commented out half that line of code. Now it renders in...
  5. Replies
    4
    Views
    1,157

    The cube displays on the screen, but it is all...

    The cube displays on the screen, but it is all one single color, with no shading so you cannot see any depth. I can rotate it, etc., but without any shading it looks like a flat image.

    Here's a...
  6. Replies
    4
    Views
    1,157

    Passing Normals to Shader

    I'm trying to draw a cube. I have a data structure that keeps all of the relevant vertex data on the cube (position, texture mapping, normals, color) that looks like this:


    typedef struct {
    ...
  7. I'm a moron. The instant I hit submit, I noticed...

    I'm a moron. The instant I hit submit, I noticed that my sizeof argument was wrong. Sorry to trouble anyone. It's fixed.
  8. Creating a rectangle with a specific color

    Very simple objective: create a rectangle with a single color (no textures). I'm using OpenGL ES 2.0 in iOS 6 (which I'm very new at). I can draw the rectangle easily enough, but the color isn't...
Results 1 to 8 of 8