Cocoa Design Patterns
Learning OpenGL ES for iOS
Presentations
Buy at Amazon Now
  • Cocoa Design Patterns
    Cocoa Design Patterns
    by Erik M. Buck, Donald A. Yacktman
  • Learning OpenGL ES for iOS: A Hands-on Guide to Modern 3D Graphics Programming
    Learning OpenGL ES for iOS: A Hands-on Guide to Modern 3D Graphics Programming
    by Erik M. Buck

Errata > Order of images in Skybox

The GLKTextureLoader Class Reference says the following about the order of the skybox image: ". . . the images should be arranged in the following order from top to bottom: north, south, east, west, top, bottom."

The top and bottom skybox images in Chapters 8 and 12 appear to be in the middle of the overall image.
The results appear ok to me so are you making adjustments in the app to allow for the different order of the images? If so, where?
November 13, 2013 | Unregistered CommenterArt
I am confused by Apple's GLKTextureLoader Class Reference. Assuming a coordinate system with the positive Y axis UP (common in OpenGL), I expect the cube-map order to be East, West, Top, Bottom, North, South assuming {East, West} is the X axis, {Top, Bottom} is the Y axis, and {North, South} is the Z axis. Apple's documentation may be assuming the positive Z axis represents UP (common in 3D modeling tools).

If your scene uses positive Y values representing UP, the the correct order is East, West, Top, Bottom, North, South.
November 15, 2013 | Registered CommenterErik Buck