Hello!
I am working on a 2D iPhone game using OpenGL ES and I keep hitting the 24 MB memory limit – my application keeps crashing with the error code 101. I tried real hard to find where the memory goes, but the numbers in Instruments are still much bigger than what I would expect.
I ran the application with the Memory Monitor, Object ...
I am looking the fastest way to draw thousands of individually calculated pixels directly to the screen in an iPhone application that preforms extremely well.
...
Hello,
I am trying to create a generic list box in OpenGl ES (for the iPhone/iTouch) and I am running into a bit of a conundrum with clipping the ListBoxItems. Each ListBoxItem object will know how to draw itself. The ListBox I am making will just draw each one after another. But what if the number of items is larger than the ListBox? ...
I want to display and rotate a single 3D model, preferably textured, on the iPhone. Doesn't have to zoom in and out, or have a background, or anything.
I have the following:
an iPhone
a MacBook
the iPhone SDK
Blender
My knowledge base:
I can make 3D models in various 3D programs (I'm most comfortable with 3D Studio Max, which I o...
My question starts from a problem :
I started a project in XCode : a Navigation Bar based one (with a TableView).
Then I added a few views, through IB or programmatically... which works perfectly fine.
Then, I decided to write my Own ViewClass, inherited from UIView, called OpenGlView (based on the view provided by Basic OpenGlES projec...
I'm developing a 2D game for the iPhone using OpenGL ES and I'd like to use a 320x480 bitmapped image as a persistent background.
My first thought was to create a 320x480 quad and then map a texture onto it that represents the background. So... I created a 512x512 texture with a 320x480 image on it. Then I mapped that to the 320x480 qu...
Hello! Can I get paletted textures with RGB palette and 8-bit alpha channel in OpenGL ES? (I am targetting the iPhone OpenGL ES implementation.) After peeking into the OpenGL documentation it seems to me that there is support for paletted textures with alpha in the palette, ie. the texture contains 8-bit indexes into a palette with 256 R...
Can someone show me how I have to setup my bigboss toolchain installed on iphone to support openglES & what i need to put in the makefile?
...
What is the preferred method for implementing such geometric distortions as pinch/fisheye/etc. using the iPhone SDK? I know that the Core Image library for OSX has all these types of filters built in, but not for the iPhone SDK.
I can create a displacement map at a specific location and radius given the original source bitmap data, but...
I'm very new to OpenGL and I'm using managed OpenGLES wrapper written for Windows Mobile phones (OpenGLES Windows Mobile). I have a simple task of drawing a square (got that) and texturing it with an image from the disk, so I basically just want to display a jpg file on the screen. However every time I try to do it, I get a white square ...
I'm stuck at not being able to map texture to a square in openGLES. I'm trying to display a jpg image on the screen, and in order for me to do that, I draw a square that I want to then map image onto. However all I get as an output is a white square. I don't know what am I doing wrong. And this problem is preventing me from moving forwar...
I forget, but does EAGL stand for anything specific? Or is it just part of the Core Animation OpenGL naming convention (CAEAGLLayer, etc.)?
...
Is it possible to use an image captured with the iPhone's camera as a texture that is then manipulated in OpenGL ES (flag wave effect, etc.)? The main problem being the size of the iPhone screen being 320x480 (no status bar) and thus the image won't have dimensions that are power-of-2. Is the main option copying it into a 512x512 textu...
I'm developing a 2D application for the iPhone that renders lots of textures. Most of them are loaded from PNG files with alpha transparency at the moment. As a test I've been playing around with PVR-testures as well to see if there is any performance difference.
The PNG-textures are loaded with the Texture2D class that came with the cr...
I have a game that is more or less 2D, but rendered in 3D. The camera hovers above the 2D game field tilted about 20 degrees from perfectly perpendicular to give a little 3D perspective to it.
I have some sprites that need to be rendered perfectly square, because they represent spherical objects. My first approach rendered quads flat ...
I have a 320x480 PNG that I would like to texture map/manipulate on the iPhone but these dimensions are obviously not power of 2. I already tested my texture map manipulation algorithm on a 512x512 PNG that is a black background with a 320x480 image superimposed on it, centered at the origin (lower left corner (0,0)) where the 320x480 a...
I'm in the process of converting/migrating a Visual Studio OpenGL project to an Xcode (iPhone) OpenGL project.
Do you have any experience or suggestions?
...
There are number of functions that exist in OpenGL but not in OpenGLES 1.1 (for iPhone).
Is there a list or resource that lists some alternative functions that can be used in OpenGLES 1.1?
For example:
gluOrtho2D
glPolygonMode
glVertex3f
etc?
Thanks
...
Any suggestions on how one could go about setting up a build system that would compile one or two libraries against a couple of different platforms/targets.
The main project is in Visual Studio.
For example, I have a library:
nav.lib
It compiles on Windows and Linux with a few tweaks.
The executable that uses the library, win_nav...
Hello,
I am trying to find examples of how to implement a simple shader for OpenGL ES 1.x (specifically for the iPhone). I have never worked with shaders before, but I do understand what they are used for. I think that once I am able to load a simple shader in the simulator I will be able to take it from there and do what I need to do....