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

0 answers

How to remove git dependency in compilation of a project

Here is a bash sh file This bash file and it needs the project to be inside Git-repo then only I can compile. I am sure we don't need the project to be inside git.It's this way because of human ...

1 answer

Any other method than copying bits to an ANativeWindow buffer?

I'm using native window in android to show a video in a surface view. Here's the part of my code. ANativeWindow_lock(window, &windowBuffer, NULL); memcpy(windowBuffer.bits, buffer, size); ...

1 answer

ApplicationStatus class E/SysUtils﹕ ApplicationContext is null in ApplicationStatus

From time to time I am receiving this error in LogCat: E/SysUtils﹕ ApplicationContext is null in ApplicationStatus Does anyone knows about ApplicationStatus class? I am not having it in my project ...

1 answers | 3 hours ago by Eu Vid on Stack Overflow stackoverflow.com
1 answer

In Android, how to force the native code to use my version of a shared library, instead of the system's?

Android already has the PCRE shared library ("/system/lib/libpcre.so"), but it's compiled without Unicode support, so I've built my own version of PCRE for Android. My native code is linked to the ...

1 answer

Pass-through pixel shader not displaying properly

I'm new to shaders, HLSL and XNA in general. I'm trying to write a pass-through pixel shader but I'm experiencing some odd behaviour. I created a simple texture, shown below: Here's what I see when ...

0 answers

OpenGL create cylinder help in towers of hanoi

Hi I am trying to create a Towers of Hanoi OpenGL application. I am using the glut extension to make the window and glu to create the cylinder. The problem I am having is that the cylinder is drawn ...

3 answers

Is “std::cout” usable in Android-ndk

In Android-ndk, we could use "__android_log_write", "__android_log_print", ... etc to output messages to the "LogCat" window. How about if I use "std::cout" to output some strings ? E.g. std::cout ...

3 answers | 6 hours ago by user1129812 on Stack Overflow stackoverflow.com
0 answers

How to use Canvas.translate to make a camera scrolling effect in android?

I'm making a game in android, and I'd like the "camera" to be always drawing the character in the center, I've been searching and I found out that I should use this method, but I don´t know how to use ...

0 answers

is there a formula to know how many enemies i can place before jumping character?

My game is very similar to the hidden game in chromes web browser. I have a character that needs to jump over incoming enemies. Is there any way i can know when to send an incoming enemy? Some of the ...

1 answer

Interpolating Skinning Weights

I am subdividing the triangles of mesh, and as you can guess, I need weight values for these new vertices. Currently I am using linear interpolation (Vnew.weight[i] = (V1.weight[i] + V2.weight[i]) * ...

1 answers | 8 hours ago by ciyo on Stack Overflow stackoverflow.com
1 answer

addressing an unsigned 16bit vector with an unsigned 32bit offset vector

I have a pointer to an unsigned 16 bit vector uint16x8_t *_h; I need to add some calculated unsigned 32 bit vector offset to this pointer - the offset looks like this: uint32x4_t _o32x4; the question ...

1 answers | 9 hours ago by PhonoDots on Stack Overflow stackoverflow.com
2 answers

Querying number of screen buffers in OpenGL

I'm working on an OpenGL app where the screen image is often static. I can think of 3 ways to handle this situation: Simply keep rendering the entire screen over and over anyways Ask OpenGL to call ...

2 answers

Semantic errors with overload resolution for init-list-as-function-argument and templates

I've configured Eclipse CDT (Eclipse v4.5.0, build id 20150621-1200; CDT v8.7.0.201506070905) for C++11 use in its continual build process, but certain expressions are still causing semantic errors ...

2 answers

Incrementally updating screen buffer for OpenGL ES

When the render function of an OpenGL app is called, can I rely on the fact that the screen-buffer still contains whatever I drew into it during the last call to my render function that was working ...

2 answers | 12 hours ago by Markus A. on Stack Overflow stackoverflow.com
1 answer

Pygame + OpenGL - how to draw text after glBegin()?

I found somewhere on StackOverflow this cross-platform way to draw text: def drawText(x, y, text): position = (x, y, 0) ...

1 answers | 13 hours ago by d33tah on Stack Overflow stackoverflow.com
2 answers

Get element ID in vertex shader in OpenGL

I'm rendering a line that is composed of triangles in OpenGL. Right now I have it working where: Vertex buffer: {v0, v1, v2, v3} Index buffer (triangle strip): {0, 1, 2, 3} The top image is the ...

2 answers | 15 hours ago by Petwoip on Stack Overflow stackoverflow.com
1 answer

Boost 1.58.0 build with ndk-build for arm64-v8a

I'm trying to build Boost 1.58.0 with ndk-build for arm64-v8a but I encountered a problem with it. When I run bjam, it finishes with error "unrecognized command line option '-m64'" and I found out ...

1 answers | 16 hours ago by Sangho Cha on Stack Overflow stackoverflow.com
3 answers

Using latest OpenGL functions across classes in Qt 5.4

I posted a question earlier on how to get OpenGL working on Qt, but now I want to be able to use the latest functions OpenGL has for use. Before Qt, I was using glew; but Qt is saying that glew is ...

3 answers | 17 hours ago by Poriferous on Stack Overflow stackoverflow.com
0 answers

Compiler error when building for Android after exporting Oculus assets

I have a Unity project which I'm planning to build both for PC and Android. The project is a VR game. For PC I'm using the Oculus SDK and for mobile I'm using ALPSVR SDK. I was working solely with ...

3 answers

Input and Output in OpenGL application C++

I'm developing a OpenGL application in C++ however I require the user to input an int and the project to output a double plus some text. What would be the best way to go about this?

3 answers | 19 hours ago by Alex L on Stack Overflow stackoverflow.com
1 answer

How to bind multiple textures to primitives drawn using `glDrawRangeElements()`?

I am using glDrawRangeElements() to draw textured quads (as triangles). My problem is that I can only bind one texture before that function call, and so all quads are drawn using the same texture. ...

1 answers | 20 hours ago by Log on Stack Overflow stackoverflow.com
0 answers

How to make a model react to click event in OpenGL ES?

I created a 3D button and I want to click it in different angles. So how to detect 3d model touch in OpenGL ES?

1 answer

How to make TMXTiledMap responsive?

I've been struggling with Cocos2d-x (C++) and finally I got to the point I feel more or less comfortable with that. My game is a 2D car-based one, with a straight infinite map where I've finally been ...

2 answers

Building Gold linker in FreeBSD

I followed the steps on http://llvm.org/docs/GoldPlugin.html#lto-how-to-build to build the gold plugin on FreeBSD but ! Heres a link to the screenshot of the error:http://postimg.org/image/anlpuufbl/ ...

1 answer

How can I determine why OpenGL entry points are missing after updating my graphics driver

I recently updated my graphics drivers and I now find that many procedures are not found in the opengl library. I'm using gl3w which generates the following code for loading and binding to the OpenGl ...

1 answers | yesterday by Noobwhisperer on Stack Overflow stackoverflow.com
3 answers

Calculating gluLookAt, glOrtho and glFrustum

I am working on an assignment to draw wire frame GLUT standard objects. This seems simple but we are told we cannot use gluAtLook(), glOrtho(), glFrustrum but we must use glTranslate(), glScale() and ...

3 answers | yesterday by user2303699 on Stack Overflow stackoverflow.com
1 answer

Cordova build error, exit code 65 - Eddy Verbruggen Calendar Plugin

I am trying to use the Eddy Verbruggen Calendar Plugin I created a new starter app (myApp), and ran the following instructions from the documentation: $ cordova plugin add ...

0 answers

EXC_BAD_ACCESS after glDrawArrays() call only on 32-bit iPads and only under Xcode 6.4

I have a rather difficult to trace problem with memory management that is related to OpenGL code. I am 99% certain the problem is a memory leak, but am finding the exact problem difficult to trace. ...

0 answers

Fill color in OpenGL

I'm trying to render a circle in OpenGL, but I don't know how to fill the color for it. I expected results like this: and my code is as follows. I draw the circle by dividing it into 100 small ...

0 answers

Neon and arm assembly optimization

I'm implementing in Neon and arm assembly a computer vision convolution algorithm where each pixel is replaced by the sum-product of the nine self and adjacent pixels. The main loop looks like this: ...

15 30 50 per page
1 2 3