Questions tagged [opengl]
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 applications like CAD software and computer games. It is also cross-platform. The OpenGL standard is controlled by the Khronos group, which also controls OpenGL ES.
4,076
questions
1
vote
1answer
944 views
OpenGL FBO Rendering
I'm getting some artifacts when I try to use a colour attachment on an FBO. I'm saving my first pass as a texture, then passing it as an input to an anti-aliasing shader. The result is, as below, some ...
6
votes
7answers
6k views
Can I develop Linux + Windows games using C#, .NET and OpenGL?
I want to learn to develop 3D and 2D graphics with either OpenGL or DirectX. I chose OpenGL as it's being used in webGL and works cross-platform.
I already know .NET well, and the C# language just ...
2
votes
2answers
2k views
How to tell if a glut window has focus from c#
How can I tell if a glut window has focus? Im using c#/tao, Ill use p/invokes if necessary.
Basically I want to ignore input if it doesn't have focus.
6
votes
1answer
1k views
GLSL shader without a vertex array
Ok so I have a idea for a neat GPU driven curve renderer, and I realised that the vertex shader can be hardwired to generate points of the curve segment (to be rendered as a line strip) without ...
5
votes
2answers
1k views
Atmospheric Scattering
I want to add some nice atmospheric scattering to my 3D game engine but I am very concerned with conserving resources. I am not very familiar with how its done but can someone please give me some ...
18
votes
3answers
8k views
Upgrade OpenGL version on Windows?
How do I update the version of OpenGL on Windows so that I can use anything newer than the Version 1.1 header file that is included in the Platform SDK? Even version 7.0A of the SDK for Windows 7 ...
8
votes
2answers
3k views
Frustum Culling with VBOs
I have terrain being rendered in my project using VBOs in OpenGL. I would like to apply some Frustum Culling but have no idea how to access each polygon as its drawn to check if it is in view. I think ...
3
votes
2answers
1k views
Expected OpenGL performance
I'm benchmarking some simple code for drawing using OpenGL.
In the following code, the number of indices being drawn is 4,644 (or 1,548 triangles per frame = @60fps 92,880 Triangles per second).
<...
12
votes
8answers
23k views
Getting Started with 2d Game Dev (C++): DirectX or OpenGL? [closed]
So, i'm a student looking to get my foot in the door of game development and im looking to do something 2D, maybe a tetris/space invaders/something-with-a-little-mouse-interaction clone.
I pointed ...
19
votes
12answers
3k views
3D theory before graphics APIs? [closed]
I'm a software engineer and I'm hoping to move my career towards game development. I'm reading a book right now on 2D using C++/DirectX. When I get into 3D I know I want to do it correctly. For ...
8
votes
5answers
2k views
Is there a way to blur objects in a 2d game with OpenGL without using shaders?
Is there a nice way in OpenGL to blur objects without using shaders?
Currently, I'm accomplishing blur by rendering the object slightly up, down, left, right, and the four diagonals from its original ...
23
votes
3answers
1k views
12
votes
7answers
5k views
Fastest way to create a simple particle effect
I am looking to the fastest way to create really simple particle effect that will be spammed like hell on the game...
Basically, my game looks like a vectrex game, made mostly of lines... I want to ...
44
votes
10answers
21k views
Is learning OpenGL 2.1 useless today?
I'm new to 3D OpenGL/DirectX world and I found out that OpenGL 4.1 and GLSL specifications were just released today.
A friend of mine gave me the Red Book for OGL v2.1 but, as far as I've read, 3.x ...
5
votes
5answers
835 views
What are some low-level performance tweaks for iPhone games written in c?
I'm interested in some performance tweaks for a relatively simple OpenGL ES based 2D iPhone game. What performance tweaks have you found? The performance of the game is pretty good on most devices (...
24
votes
7answers
3k views
How to get PS3/Xbox 360 experience without having access to Dev kits?
I am a budding game programmer trying to get into the industry programming for PS3, Xbox 360. The main problem I see is the need to demonstrate my skills to a potential employer, but without access ...
3
votes
2answers
657 views
OpenGL: Precompute a texture rotation
I'm trying to speed up particles, and one way to do that is by precomputing the texture rotations. What I want to do is load the texture, rotate it and save it to a handle.
How would I go about doing ...
89
votes
15answers
52k views
What are some good learning resources for OpenGL? [closed]
I have been using the OpenGL ES on the iPhone for a while now and basically I feel pretty lost outside to the small set of commands I've seen in examples and adopted as my own. I would love to use ...
26
votes
9answers
18k views
OpenGL optimization tips [closed]
What tips or tricks do you have when it comes to making the OpenGL more efficient?
7
votes
3answers
1k views
How can I get into opensource game development? [closed]
The short and sweet question
I'm new to game programming in general, so how do I go about making GOOD QUALITY opensource games?
What I have come across
There are a multitude of games that I have ...
20
votes
7answers
5k views
For 2D games, is there any reason NOT to use a 3D API like Direct3D or OpenGL?
I've been out of hobby Game Development for quite a while now. Back when I did it, most people used Direct Draw to create 2D games. By the time I stopped people were saying OpenGL or Direct3D with ...
5
votes
2answers
2k views
OpenGL equivalent of .fx files in GLSL or Cg?
There's a lot of learning material in the DirectX world that uses .fx files to manage shaders, and .fx seems to be well integrated with 3D packages such as Maya and 3D Studio Max
What do larger ...
12
votes
5answers
1k views
API agnostic bridges (ie. OpenGL/D3D/Whatever). Do you use them, how you make them. Pro's and Con's [closed]
You are making a 3d engine. You want best of multiplatform worlds. Suddenly you realize that if you want to use Direct3D on Windows machines and OpenGL on OSX/Linux, you'll have to sacrifice supported ...
10
votes
1answer
4k views
Which c/c++ model animation library for OpenGL [closed]
I'm fairly new to game development, played around with xna before and just learning OpenGL & c now and I'm interested to know which c/c++ based model animation libraries are out there and which ...
31
votes
3answers
32k views
What is the difference between OpenGL ES and OpenGL?
Android uses OpenGL ES, what is the difference between it and OpenGL?
28
votes
2answers
11k views
How many threads should an Android game use?
At minimum, an OpenGL Android game has a UI thread and a Renderer thread created by GLSurfaceView. Renderer.onDrawFrame() ...