Hello,
I believe I am experiencing some sort of iOS simulator or Xcode bug/glitch. I am attempting to draw a cube in OpenGL ES 2. My cube, however keeps coming out as a rectangular prism despite transformations from it to the modelViewProjectionMatrix. After checking through the OpenGL ES docs I find there is nothing wrong with what I'm doing. To test my theory that Xcode is messed up I take a project off the internet of drawing a Cube and run it -- a perfect cube appears on the simulator. I create a new project in Xcode with the EXACT same configuration and fill it with the EXACT same code as the internet example and run it -- a rectangular prism appears on the screen!
Should I reinstall Xcode or the iOS simulator. Could that even be the problem? I don't understand why two projects with the same setup run differently.
If anyone would like to see my project compared to the other project I'd be happy to post the two projects.
Thanks!
I believe I am experiencing some sort of iOS simulator or Xcode bug/glitch. I am attempting to draw a cube in OpenGL ES 2. My cube, however keeps coming out as a rectangular prism despite transformations from it to the modelViewProjectionMatrix. After checking through the OpenGL ES docs I find there is nothing wrong with what I'm doing. To test my theory that Xcode is messed up I take a project off the internet of drawing a Cube and run it -- a perfect cube appears on the simulator. I create a new project in Xcode with the EXACT same configuration and fill it with the EXACT same code as the internet example and run it -- a rectangular prism appears on the screen!
Should I reinstall Xcode or the iOS simulator. Could that even be the problem? I don't understand why two projects with the same setup run differently.
If anyone would like to see my project compared to the other project I'd be happy to post the two projects.
Thanks!