Favorite Tags
View questions based on your favorite tags across the Stack Exchange network

1 answer

How to load a mesh from the .X-format in DirectX10 via SlimDX?

As of DirectX10, the usual functions to load a mesh in the .X-format are marked as deprecated and they are DX9 functions anyway. How can I load a mesh from the .X-format into an ID3DX10Mesh object ...

0 answers

CyanogenMod and OpenGL ES texture loading

My friend tested my application on his Motorola Defy (with CyanogenMod v4.x, I don't remember exact version number, and she is not reachable now). My app uses OpenGL ES (v1.1, and in another ...

1 answer

Opengl: How can i translate only one object in the scene

I am working on an opengl game. I have a wall pattern and an airplane. I want to translate only wall in the scene. The airplane should not be translate (Fixed). How can i change my code to fix it? I …

41 mins ago
1 answer

Fullscreen with opengl

I need my window to be set to fullscreen and i mean like in any fullscreen (fs) game or whatever we put in fs. No border, no interaction with anything behind this window, no start bar,etc. Just the …

42 mins ago
1 answer

Usage of glBindBufferRange with transform feedback

I have a buffer that I would like to fill over successive transform feedbacks, and I am wondering how exactly to do this. glBindBufferRange has five arguments, I understand that the first three are …

2 answers

Using Renderscript for game development on android

Does any one know anything about using Renderscript for game development in Android 3.0. If you know, can you provide some good examples or demo links?

1 hour ago
2 answers

Ignore certain colour alpha blending

I load two textures using a function like below: GLuint LoadImage(std::string ImageTitle, GLenum Target) { Image Img(ImageTitle.c_str()); std::vector<std::uint8_t> Buffer, ...

2 hours ago
0 answers

How to display a dialog before openGL Renderer starts…?

I have a dialogue which I'm displaying over my OpenGL renderer as a splashscreen. The odd thing is that if I put some code after the loader_dialog.show(); line, it seems to run before the dialogue is …

2 answers

Object created inside scope deallocated even when used outside of scope

Update: This was fixed in iOS 6.1 DP3 SDK. I've tracked down a use-after-deallocated crash when building with ARC using the default release build configuration (debug seems to work fine). The problem …

2 answers

C++ Raytracer with opengl display skew in specific resolution

I have a ray tracer (from www.scratchapixel.com) that I use to write a image to memory that I then display at once using Opengl (glut). I use the width and height and divide the screen to get a ...

4 hours ago
1 answer

Where is GL_UNSIGNED_INT_8_8_8_8_REV defined?

I can't seem to find where GL_UNSIGNED_INT_8_8_8_8_REV is defined. Googling around, I only seem to find places where it had been defined manually: #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 It ...

5 hours ago
1 answer

Android NDK R8E missing stdlib.h

I'm testing some native library code with the Android NDK (android-ndk-r8e). The native library is being built from its makefile rather than Android's modified build system. Using the makefile rather …

5 hours ago
2 answers

Debugging an exception, source information missing

My program seems to run for a short time before crashing with the following error: Unhandled exception at 0x001FFF23 in Program.exe: 0xC0000005: Access violation reading location 0x040FA010. The …

1 answer

main vs. wWinMain

Summary: I'm trying to compile a NVIDIA SDK app in Visual Studio 2012 on Windows 8 and I get the error message: FXC : error X3501: 'main': entrypoint not found. I'm new to Windows programming and ...

0 answers

GLKBaseEffect projectionMatrix won't project

I'm using GLKit on OS X 10.8 and finding some issues with projection matrices. According to the documentation, creating a GLKBaseEffect and setting the projectionMatrix on it will project the scene …

6 hours ago
0 answers

OpenGL - Artifacts when rendering lots of tiles

I am trying to render lots of 2D tiles with OpenGL and strange things happen. I have lots of white lines all over my rendering => http://i.imgur.com/iOMQH59.png When I zoom, this lines disappear ...

6 hours ago
1 answer

How to set a specific eye point using perspective view with shaders

In these days I am reading the Learning Modern 3D Graphics Programming book by Jason L. McKesson. Basically it is a book about the OpenGL 3.3 and I am now at the chapter 4, that is about orthographic …

1 answer

UAV counter indices used across multiple shaders?

I've been trying to implement a Compute Shader based particle system. I have a compute shader which builds a structured buffer of particles, using a UAV with the D3D11_BUFFER_UAV_FLAG_COUNTER flag. …

1 answer

OpenGL ES 2.0 - memory management in drawing lines (graphing)

I finally got some functioning code to draw lines (in Xamarin/monotouch) //init calls Context = new EAGLContext (EAGLRenderingAPI.OpenGLES2); DrawableDepthFormat = ...

0 answers

OpenGLES 2.0 mod function returning incorrect values on iphone

I am compositing many video frames into a single draw call, on iphone5 with a 352x288 video frame, I can store 154 video frames into a single GL texture. I store the video frames into a 11x14 grid ...

1 answer

android ndk - ANativeWindow_lock inconsistent?

I'm coding for android 2.3. I wrote this program; it draws a white, 100-pixel long diagonal line from (0,0) to (99,99). There is a bug: The code draws the screen properly only the first time it ...

8 hours ago
0 answers

iOS: OpenGL ES2 incorrect vertex rendering order

I'm rendering a 3D object in OpenGL ES2 on iPhone, the model is loaded from a .obj file. Previously the render engine was implemented in ES1 and I was using the same structure, same element buffer, …

1 answer

Images not found in textureregion

Previously I was using simple Texture for sprite based animations, but that did not provide support for images which were not in the power of 2. TexturePacker provides with the ability to load all the …

1 answer

Linking cross-platform library to native android application

The problem: I have a native Android application that is compiled for x86 and arm, armv7a. The app also links to a pre-shared library. That pre-shared library is also compiled for x86, arm, and ...

2 answers

Updates from C thread leads to Choreographer skipping frames

I have a C thread that is making requests and receiving updates from a server. The updates are sent to Java through JNI calls. My problem happens when I'm receiving a player's inventory which can ...

0 answers

How to get Datatable soap response in Android

I am working with Android applicaion want to get the Data from SOAP Web Service having service definination in datatable DataTable xmlns="http://egictestnew.gulfins.com.kw/gicmobileapi2k/"> - - - - - …

11 hours ago
2 answers

NDK: How to include Prebuilt Shared Library Regardless of Architecture

I am working on porting Box2D to learn a little more about android porting. I can get the project compiling and I see the following.... ls libs/ armeabi armeabi-v7a Now I want to do …

12 hours ago
0 answers

Two almost similar Android projects having same project structure in eclipse not installing in my phone

I am trying to make a game using Libgdx. I am new to Android and LibGDX. I made a simple game skeleton that contains the Player with abilities to move and jump and an enemy. I did all using Scene2D …

12 hours ago
1 answer

LWJGL glOrtho and drawing axies

This is on a 2d canvas. Ok i want to make glOrtho add to x when going right and minus when going left and i want to add when going up and minus when going down. But when i draw it draws the objects …

12 hours ago
15 30 50 per page
1 2 3