-
Stack Overflow android-ndk opengl-es opengl-es-2.0 directx-11 neon opengl openal opensl llvm
-
Game Development android opengl-es opengl-es2 directx11 sharpdx slimdx ndk shaders
Simulate Screen Size in OpenGL and Display Scaled Image
Based on what I had read when I started working on the game that I am currently developing I came to the conclusion that openGL on android was only good if I was doing stuff in 3D. I also came to the …
Convolving an image with OpenGL ES on iPhone: possible?
I've googled around a few times, but I have not gotten a straight answer. I have a matrix that I would like to convolve with a discrete filter (e.g. the Sobel operator for edge detection). Is it ...
Faster alternative to glReadPixels in iPhone OpenGL ES 2.0
Is there any faster way to access the frame buffer than using glReadPixels? I would need read-only access to a small rectangular rendering area in the frame buffer to process the data further in CPU. …
OpenGL ES crash on move background, iOS 5.1
I have a little issue about my application iOS. When i'm using the iOS simulator 5.1 ipad/iphone the application is working, but when i use a real iOS device (iPad and iPhone 5.1 too) the application …
Android app: adding background, styles, custom buttons
I am still fairly new to programming in general and android specifically. I am working on an app that currently runs fine and does everything its supposed to do, but its only a skeleton of the app I …
Executing HTTP requests from native code
I have to make HTTP calls from native code (GET and POST requests). Can some one shed some light on this ? I'm not looking for generic JNI solution, I'm looking more like reference implementation ...
OpenGL ES 1.x programmable pipeline
Is it possible to have programmable shaders in OpenGL ES 1.x ? My guess is no from looking at the API, however I would like to know for sure.
QML, Qt 4.8: How to enable openGl and Chromeless at the same time?
So here is my main #include <QtGui/QApplication> #include <QtOpenGL> #include <QDeclarativeView> #include <QDeclarativeEngine> #include "mainwindow.h" int main(int argc, char …
OpenGL context selection in wxPython application on linux
I have a wxpython program which uses two separate OpenGL windows (or more specifically two separate tabs in a notebook). Each window has it's own instance of wx.glcanvas.GLCanvas. On MS Windows, the …
OpenGL flickering/damaged with window resize and DWM active
I have a wxWidgets application that has a number of child opengl windows. I'm using my own GL canvas class, not the wx one. The windows share their OpenGL context. I don't think the fact it is ...
Show VideoView above GLSurfaceView
I have an OpenGL ES based application, and I'm trying to add a VideoView to the display to play a video over top of the 3D display. The video loads and plays, I can hear the sound, but the the video …
Ti.opengl module installation in titanium
i am trying to install the ti.opengl titanium module: the error that i receive is couldn't find module ti.opengl, my steps: Step1:donwload titanium module, the download gives me a folder named modules …
How to use 3d texture in opengl and cg shaders?
I've got a problem with 3d texture mapping. If I have several 2d textures, and I want to build a 3d texture with these 2d textures. What can I do to put all these data together? The function ...
Nested Functions on Android NDK
Is there a way to use nested functions on the the Android NDK? It should be possible, since the NDK uses gcc right? Well I tried defining a function inside main, and the compiler simply doesn't ...
is it possible to control frame rate on iOS
I was animating a ball bouncing on the screen moving an UIView by setting its origin property but I found that the movement of the ball was not smooth. I checked the frequency at which drawInRect was …
How to write a file in Raw folder in android
In my task i need to read and write the file in Raw folder. I did the first one to read the file from my project, Now i want to Write the same file. So it easy for me to make any update in that file. …
environment mapping using OpenGL and Cg
I write a program to implement environment mapping using OpenGL and Cg shader language.But the result is not very right.When calculate the color of the model,we will blend the reflection with a decal …
Texture Mapping - Cocos2d/OpenGL ES 1.0
This lightning is really affecting my game's performance because I am constantly adding and removing the lightning, but also each lighting strike is composed of 3 anti aliased lines using: void ...
Loading PNG textures for use in Android OpenGL ES1
I'm very new to Android and OpenGL coding (I have previously used ogre3d). I am trying to find an efficient way to load PNG textures. It is currently taking around 8 secs to load 3 512x512 textures …
ANR with NativeActivity on device, but not in the emulator
Here's code for NativeActivity I use: EventLoop::EventLoop(android_app* pApplication) : mApplication(pApplication) {} void EventLoop::run() { int32_t result; int32_t events; ...
Why would it be beneficial to have a separate projection matrix, yet combine model and view matrix?
When you are learning 3D programming, you are taught that it's easiest think in terms of 3 transformation matrices: The Model Matrix. This matrix is individual to every single model and it rotates …
Zooming and swiping with OpenGL ES
I am making a 2D puzzle for iOS and currently I`m trying to implement zooming and scrolling with UIPinchGestureRecognizer. Zooming is done this way: I have a target 2D vector which is a "zooming ...
Why we need to maintain our own matrices to transform Game objects?
First, I think that I don't have complete understanding about 3D/Game maths. But I know C++ and OpenGL basics. Recently i have intergrated NVidia PhysX with OpenGL and worked well. So i can tranform …
Tile map/terrain implementation with differing heights of neighbouring tiles
Ahoy! I'm looking for some information about tile maps, or rather, what a specific type of tile map is called. I'm interested in the kind of implementation used in rollercoaster tycoon, or the ...
Compiling Assembly for android
I found an article by Vikram Aggarwal that talks about linking Assembly code into Android's NDK, which even has some example code which shows how to connect the C++ code with Assembly. ( see ...
/system/bin/app_process stack corruption detected: aborted ? What is this?
I'm running some native code, and there are many JNI calls Application crashes without a clue on why its crashing except for the message /system/bin/app_process stack corruption detected: aborted in …
Android NDK linking
I am trying to build an android application that calls into a C++ backend. This backend uses ZeroMQ for messaging. Per the android build page on the ZeroMQ guide, I have built a native toolchain of …
difference between gl_position and varying variable?
Hi all I am new to OpenGL ES 2.0 . I am confused with gl_position and varying variable both will be the output from vertex shader. varying variable will be passed to fragment shader, what about ...
Android, performance degrading if multiple activities
I have an OpenGL based app, all is working fine so far. The app consists out ouf 2 activities, the main activity containing the OpenGL view and an additional activity that contains a movie player for …
Buffers getting corrupted?
I'm trying to write a UI in OpenGL and have run into a problem when I resize a control. As I shrink the panel, the text texture seems to shrink or get corrupted and eventually the buttons do the …