OpenGL is a graphics standard and API which targets the desktop and workstation markets. It is designed to be easy to accelerate with dedicated computer hardware, and hence most implementations give greatly improved performance over traditional software rendering. Currently, OpenGL is used for ...
7
votes
0answers
57 views
My game seems to be incompatible with recording software. What could be causing this?
I've just finished a little Game-Dev project for university and I need to record a video to accompany my submission (just in case they can't get my source to work). Basically my game doesn't work at ...
-3
votes
0answers
20 views
How to animate the Tilemap object in Libgdx? [closed]
I am facing problem to animate or move the object(Cell) of Tilemap??? Is there any solution for this???
2
votes
1answer
56 views
Picking 3D with OpenGL ES 2
I'm trying to implement picking in my framework but I don't understand how I can do this.
I'm working with:
OpenGL ES 2.
GLM mathematic library.
What I have understand, picking can be made with ...
2
votes
2answers
64 views
Realtime fisheye to cubic or spherical panorama transformations with OpenGL or pixelshaders
I'd like to transform a sequence of circular fisheye-images to cubic or spherical panorama images to be used in a panorama-viewer based on OpenGL. The viewer-part is nemas problemas but the transform ...
2
votes
0answers
82 views
2D water shader similar to Limbo's effect
I'm wondering how I would go about creating a 2D water shader that is seen in this video http://www.youtube.com/watch?v=phChFfi4GOs
The water effect that limbo uses is pretty awesome. I'm not so ...
0
votes
1answer
47 views
How to seamlessly texture a cube in OpenGL
I have been following this site as an intro to OpenGL.
After going through the model obj loading tutorial, I wanted to create my own .obj (a cube) as well as my own texture. Following this blender ...
0
votes
0answers
19 views
Size of an image imported with FreeImage
I'm having abit of a brainfart and I can't quite grasp what I'm doing wrong.
It's quite simple, I am importing an image with FreeImage (http://freeimage.sourceforge.net/) which has a method ...
0
votes
1answer
40 views
Calling glGetError() in release builds?
Currently, I'm calling glGetError() after each OpenGL function call in order to be able to detect and report bugs.
I've been reading that glGetError() calls should be reduced to once per frame in ...
-4
votes
1answer
81 views
What's the complexity, given current technology, of writing a decent scene renderer in OpenGL? [closed]
What's the complexity, given current technology, of writing a scene renderer that produces reasonably high-quality output in OpenGL?
I'm definitely not asking about writing a full games engine - ...
-2
votes
0answers
38 views
Setting up Assimp Library for C++/OpenGl [closed]
I am trying to load 3d objects in C++/OpenGl using ASSIMP library. I am trying to figure out how to install ASSIMP. I tried to follow the instructions on ...
1
vote
0answers
46 views
Reconstructing Position from Linear Depth
In gBuffer (RGBA32F) I store a linear depth (camera space z position). Next I draw a full screen quad (two triangles) and I want
to reconstruct the position.
Vertex shader:
#version 420
...
-1
votes
0answers
39 views
Texture / shader template program [closed]
I would like to use OpenGL to downsize images, using shaders. I would be very grateful, if somebody can give me a sample program in C++, which loads bitmap texture, draws it to the entire screen and ...
2
votes
0answers
38 views
uniform z slices in clip-space
1) Context
I'm using a regular OpenGL perspective projection matrix created with GLM (glm::perspective) and taking the inverse (glm::inverse) to transform clip-space back into view space (and world ...
1
vote
0answers
37 views
Posible to export f-curves in blender?
I work with some friends on a rail shooter game in openGL. For creating our world we are using Blender. Since we want our Tank to follow a path I have started to work with creating bezier curves and ...
-3
votes
0answers
31 views
Using an OpenGL wrapper in Swing? [closed]
I'm building a custom OpenGL wrapper in Java. But I was wondering how do I link OpenGL commands to a Swing window? Thanks in advanced!
1
vote
2answers
57 views
Calling opengl32.DLL from java?
I don't like LWJGL in some cases, so I prefer to use Swing. The thing is that Swing doesn't have OpenGL. I have tried JOGL and it's a mess to install, needs external jars, and I have yet to get it ...
-2
votes
0answers
31 views
rendering or calling textures on the wall of the cube [closed]
what am i doing wrong im trying to call or render textures for my cube but when i put this code in the main program and run it all im getting is a black screen the cube vanishes am i calling ...
-1
votes
0answers
44 views
LWJGL - Switching from 3D to 2D to render text with NO external librarys [closed]
I want to render 2D quads on my screen by switching to a 2D scene then switching back to 3D.
I dont want to use any external librarys besides LWJGL.
This is what I got so far:
private static void ...
0
votes
0answers
39 views
textures and bouncing balls inside a cube [closed]
i have a cube with texture but when i add 3 balls so that they bounce on the walls of the cubes everything seemed to be wrong,the balls are not bouncing in the right directions, i want them to bounce ...
1
vote
0answers
41 views
How to put OpenGL in a state for drawing blended, colored, nontextured polys?
Using OpenGL1.1 (sadly) I'm trying to draw a cube, which is colored and alpha blended. It is instead showing up as opaque black. Even without including alpha in the color it still shows up as opaque ...
0
votes
0answers
33 views
trying to add texture to my code [closed]
I have been working on making a cube and I have some balls inside it though I am having problems on how I can put or add texture to my code. I am trying to learn but it seems whatever material I'm ...
-1
votes
1answer
104 views
Why does OpenGL doesn't draw anything to the screen? [closed]
So, I was following the tutorial by Swiftless for openGL 4.x. The program that I created by following his tutorials doesn't output anything. I've tried checking shaders for errors - I don't seen any ...
1
vote
0answers
80 views
Help with perspective in OpenGL [closed]
Disclaimer: this is a trick-question. It's not about transforms or projections it's about 'gaining perspective'.
Example: I want to create a smoking camp-fire in my game but all the tutorials on ...
0
votes
1answer
60 views
gluLookAt strange behavior implementing camera
I'm having a super tough time trying to implement what I thought would be a very straightforward problem. I'm trying to demonstrate a free camera that can move forward/back, strafe left/right, fly ...
1
vote
1answer
45 views
FBX Importer - Texture Name
I have a problem with the FBX SDK. I read in the data for the vertex position and the uv coordinates. It works fine, but now I want to read for each polygon to which texture it belongs, so that I can ...
-1
votes
0answers
48 views
Camera frame yuv to rgb conversion using GL shader language [closed]
I am getting the camera frame from the android camera Preview Callback in Byte array and pass it to jni code. As we can't use byte in c++ so i am converting it to the integer array as follows:
...
-1
votes
1answer
94 views
OpenGL/SDL2 window stopped rendering [closed]
I have been working on a game engine for a couple of days now and I've had it rendering a colourful cube and playing sounds in OGG format, but, after refactoring my code-base to make things easier; it ...
2
votes
1answer
52 views
Translating Viewmatrix is inverted, why?
So I've defined a Projectionmatrix, Viewmatrix and a Modelmatrix using OpenGL (LWJGL).
But when I translate my Viewmatrix to +X it moves my object to the right (hence my camera is moving to the ...
2
votes
1answer
85 views
Manage VBO/VAO in a graphic engine
I'm trying to make a 2D Graphic engine for training me. I've actually made it with immediate draw and I've made the renderer outside (so I can switch between OpenGL and DirectX).
How can I manage ...
-1
votes
0answers
46 views
Mouse controlled camera bisbehaving. [closed]
I wish to implement a free roam camera that I can control with a mouse in OpenGL. Unfortunately, moving the mouse seems to rotate the camera incorrectly (along weird axes) when my camera is facing a ...