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

1 answer

How to load and fill cubes with texture image in openGL

I have a grid with cubes and i want to fill the cubes with two different colors and with 3 different images(.bmp). So every cube is filled with colours or images. I wrote a code and when i press the ...

3 answers

How can Opengl Es be use for gpgpu implementation

I want to use Opengl Es for gpgpu implementation of an image processing code. I want to know can I use Opengl Es for this purpose. If I can than which version of Opengl Es will be more appropriate for ...

0 answers

How can i make a shadow volume change in OpenGL when applying a transormations to a shadowing object?

I am trying to make a volume shadow change when applying transformations to a shadowing object. I was told that if transformations are applied on the shadowing object, i should obtain the inverse ...

1 answer

How to draw polygons in glut with input vertices from console window?

I am implementing 2D and 3D transformations in Glut project on codeblocks. But i am taking input vertices from the keyboard in console window. I want to pass these vertices to the glVertex2f(a,b) ...

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

OpenGL Shaders Ignored

I have been following this tutorial to try and start learning OpenGL. However, upon compiling my code, my triangle turns out to be black. At first I thought that there was something wrong with the ...

2 answers

crtbegin_so.o missing for android toolchain (custom build)

I have compiled gdc together with gcc using the android build-gcc.sh script, and have included a new stub in build/core/definitions.mk to deal with D language files as a part of the build process. I ...

2 answers | 3 hours ago by dwerner on Stack Overflow stackoverflow.com
0 answers

IOS Open GL ES 2.0 inverted(BGRA) texture on device but RGBA on simulator

I create default "ios game" project on Xcode and try to bind texture. All works correct on Ipad Simulator, But when I connect real device the texture colors has inverted. Here is OK for simulator: ...

0 answers

How does 3D plotting works in OCaml

I'm currently following a course of advanced functional programming using OCaml. For the programming project I have the task of implementing a 3D plotter that will be used for graphing functions. I'm ...

0 answers

Link libmpich to android NDK

I have generated Uclib using buildroot and used it to compile mpich for ARM devices.Then I created Android project and copied libmpich.a and the Include folder to the project here is the Android.mk: ...

0 answers

pyOpenGL and multiple VBO

First, a bit of context... I am currently designing a software to display a series of objects using pyOpenGL and PyQT. I decided to use VBOs to create my objects in memory because their shape/colors ...

1 answer

Android initialise openGL2.0 context with EGL

I want to do off-screen image processing on Android in native code, so I need create the openGL context in native code by EGL. By EGL, we can create EGLSurface, I can see there are three choices ...

1 answers | 5 hours ago by John on Stack Overflow stackoverflow.com
1 answer

Draw plane surface in openGL

I'm trying to draw a cube in openGL with parameters read from Parasolid x_t file. Can anyone guide me in drawing a plane surface in openGL with the following inputs, point on the plane normal to the ...

1 answers | 5 hours ago by Ria on Stack Overflow stackoverflow.com
1 answer

Specify toolchainVersion and productFlavors in Gradle

I am trying to setup Android Studio and Gradle to build our android app with native code. Due to our dependencies we are using GCC 4.8 to compile for armeabi, armeabi-v7a and x86. I tried specifying ...

0 answers

Adding a class to NativeActivity project (Android, VisualStudio 2015)

guys. I'm stuck in very beginning of my project, because I just can't add a class to my NativeActivity application. VisualStudio just won't let me do this. So, when I created NativeActivity ...

2 answers

xcode 5 deprecation warning about glut functions

I just upgrade my mac os x 10.6.8 to 10.9 this morning. Everything goes fine except the Xcode 5 with OpenGL Glut APIs. Whenever I run my program involving glut functions, I got 30 deprecation warns, ...

0 answers

Hierachical Z-Buffering for occlusion culling

I'm reading the Occlusion Culling section in Real-Time Rendering 3rd Edition and I couldn't understand how it works. Some questions: How does having a "Z-pyramid" contribute? Why do we need multiple ...

1 answer

Comparing the images

I have a drawable, which I want to compare to. I created a drawable object with it, and when I log it with toString, I get: android.graphics.drawable.BitmapDrawable@41f95548 I am randomly selecting ...

1 answer

Highest D3D_FEATURE_LEVEL is 9.3 on a 11 capable machine

I am currently reading Frank Luna's Introduction to 3D Game Programming with DirectX 11 and have just reached the portion where I am loading my first shader. After linking to the proper libraries to ...

1 answer

#define in 'user-defined' section of target build settings, is not defined when xcode compiles code

I have a project, using the current version of Xcode and llvm. I am doing a free and paid version of a game, so I have set up a preprocessor flag to do it. For the paid version target I define ...

0 answers

ID3D10Blob return NULL

I have this weird error and can't find how to fix it. I'm trying to make a vertex and pixel shader but when I'm calling them with CreateVertexShader and CreatePixelShader it return NULL. I have set my ...

2 answers

Any glPolygonMode alternative on iPhone (OpenGL ES)?

I'm new to OpenGL, and I found out that OpenGL ES doesn't support APIs such as glPolygonMode( GL_BACK, GL_FILL); Any ideas how to implement it?

2 answers | 8 hours ago by Kordan Ou on Stack Overflow stackoverflow.com
1 answer

glPolygonMode in OpenGLES

Is there an equivalent to glPolygonMode in OpenGL ES? How do you render wireframe in OpenGL ES?

1 answers | 8 hours ago by clamp on Stack Overflow stackoverflow.com
2 answers

Android NDK #define Problems

When I add #define to either main.cpp or one of my headers called from main.cpp, it does not seem to be defined in other files. For example, in main.cpp I might do something like: #define TEST_FOO ...

1 answer

Switch beetween Screen on LibGdx application

i have set main class like this: public class MyClass extends Game { MenuClass menuClass; ActionGame actionGame; @Override public void create() { menuClass = new MenuClass(this); ...

5 answers

How to draw basic circle in OpenGL ES 2.0 Android

I'm new in OpenGL ES 2, and I have read many topics about how to draw a circle in OpenGL ES 2 on Android. Based on Drawing Shapes and this code found on gamedev.net, I can draw triangles and quares, ...

1 answer

Call DLL WndProc from C# application

I have a C++ dll that performs some rendering tasks using directx 11 and I have a wrapper to interface the dll with a C# application. The C# application has a panel and I use the panel as an output ...

1 answers | 10 hours ago by Dom W on Stack Overflow stackoverflow.com
0 answers

Visual Studio .Net OpenTK generate multiple points

First of all i let you know that my english isn't that good, because i'm from Romania :D, anyway.. In the last 3 days i've been trying to make a (points generator), me and some of my class mates have ...

0 answers

LLVM bytecode analyzer issue

I am wondering why there are so many mis-matches between the llvm-bcanalyzer help page on LLVM_website and the current v3.8 that I am using. I have checked them with v3.0 and v3.4 and none of them are ...

3 answers

Gradle: change NDK build target independent from the SDK build target

In the past I used eclipse for NDK projects, the Android.mk file was perfectly suited for compiling the NDK with API level 9 while letting the app (SDK) compile on API level 22. But it seems that this ...

2 answers

Smooth shader in OpenGL for OBJ import?

I'm using the OpenGL OBJ loader, which can be downloaded here! I exported an OBJ model from Blender. The problem is that I want to achieve a smooth shading. As you can see, it is not smooth here. ...

2 answers | 11 hours ago by Bachey on Stack Overflow stackoverflow.com
15 30 50 per page
1 2 3