What's the deal with Deno? We talk with a major contributor to find out. Listen now.

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.

Filter by
Sorted by
Tagged with
-3
votes
1answer
2k views

Licensing and commercial game development [closed]

I am thinking about developing my game and have a few questions. I am going to use these softwares and libraries : OpenGL, Visual Studio Express, GLFW. I have publishing and selling my game in plans. ...
-3
votes
1answer
4k views

What is the best engine for my first serious 2d game? [closed]

What game engine/graphics engine should I use for my first indie game? I'd like to add that this is not my first game, I've previously used Allegro for 2d development (pong, chess and stuff). I am ...
-3
votes
1answer
982 views

Is Microsoft killing OpenGL? [closed]

In an article I've read that Microsoft signed GDI/GDI+ as deprecated. I was a bit frightened, I won't be able to use OpenGL in future versions of Windows. Since you need GDI ( more likely the Device ...
-3
votes
2answers
421 views

What are some good combinations of libraries? [closed]

Lately I have been working on a game that i plan to make online. I have used different libraries to make this game as far as i could, but I feel that I should rethink on how Im sertting this game up, ...
-3
votes
1answer
1k views

OS X OpenGL 3.2 Core (Black Screen)

I want to render a Quad via VAO, IBO and VBO but nothing is drawn. I'm using glDrawRangeElements in OS X OpenGL 3.2 Core context. The screen is completely black without any error. GLFW3 is used to ...
-3
votes
1answer
357 views

GLSL does weird things to my view matrix [closed]

...
-3
votes
1answer
690 views

How do graphics libraries work? [closed]

I have made many different game engines with OpenGL, but still struggle to understand how they work and the process in which the library tells the computer what to do. How do graphics libraries such ...
-3
votes
1answer
190 views

C++ Loading DLL Error [closed]

So I'm attempting to fix a OpenGL in Java problem by making a DLL in C++ and then call it from Java but I've ran into an issue. So I'm testing a basic DLL in C++ and I got this error: "error: '...
-3
votes
1answer
863 views

Getting the normals of a hemisphere?

I'm trying to calculate the normal for a hemisphere. I draw the hemi-sphere by this code: ...
-3
votes
1answer
669 views

Why is this .obj loader not drawing anything but the included .obj?

I've been adapting a tutorial on .obj file loading on the windows system to glut. The thing's not drawing a thing except the "Foot.obj" file that the tutorial included and I'm going kinda nuts trying ...
-3
votes
1answer
169 views

How are certain objects named in OpenGL?

I am a beginner in OpenGL, and I would like to know how to distinguish specific objects in an OpenGL game. For instance, the game world contains 3 gems of different colors, how can I know which one ...
-3
votes
2answers
502 views

Random points spread like old TV static in a polygon OpenGL

OpenGL version 3.1 Have to draw around 10000 randomly placed and colored points inside a rectangle to appear like old TV static but colored as shown in the image below. Right now the code draws a ...
-3
votes
1answer
333 views

How to Run a Wad file like doom with OpenGl [closed]

Hey I need A code example that allows me to run a wad file in OpenGL support. ...
-3
votes
0answers
388 views

Why OpenGL provided with latest GeForce drivers is so extremely slow?

I'm writting a code in OpenGL and using two computers - an old and a new one. On the old computer (which I use for debugging/creating implementation for the old GL) I have GeForce 5500 FX. Before ...
-3
votes
2answers
11k views

How do you define and draw rectangles in OpenGL?

I am very new to OpenGL and I am not sure one the basis of how to create and draw objects. So how would I draw simple rectangles in a window using OpenGL? My understanding is that I need to define an ...
-4
votes
4answers
5k views

LWJGL vs Slick2D vs OpenGL. What is the difference?

I was wondering what the difference was between LWJGL, Slick2D, and OpenGL. If I'm not mistaken LWJGL is a library and it has the methods and such, but what are the other two for and how do they use ...
-4
votes
1answer
712 views

Is OpenGL 1.1 really slow? [closed]

If anyone ever played minecraft and realized no matter what computer you have it normally doesn't give over 100 FPS? While looking at decompiled code from it I noticed it renders with OpenGL 1.1 calls....
-4
votes
1answer
39 views

m_Entries is undefined [closed]

I am following this tutorial and this guy puts in his code m_Entries and doesn't explain it at all at least I think. So any one who has done skeletal animation show me what he is talking about by ...
-4
votes
2answers
283 views

Safe zone implementation in Asteroids [closed]

I would like to implement a safe zone for asteroids so that when the ship gets destroyed, it shouldn't be there unless it is safe from other asteroids. I tried to check the distance between each ...
-4
votes
2answers
155 views

Is OpenGL just for graphics when it come to game design? [closed]

I am a computer science major interested in learning how to create games. I know c++ very well and I am familiar with opengl. I want to know if opengl is just for graphics or can it be used for things ...
-4
votes
1answer
348 views

how can i make GUI that used to be in the old dos games but without the old look in openGL

I want to build simple OpenGL application that mustily are GUI based to collect from user input and to the user can push buttons . now i saw allot of GUI frameworks that offer GUI to openGL . but ...
-4
votes
1answer
78 views

Why isn't this glsl program working? [closed]

Why isn't this glsl program working ? ...
-4
votes
1answer
754 views

Opentk: Move Bones model 3d [closed]

I have a model in 3ds max and have exported to obj file using tutorials and I managed to load my model and apply a texture. My problem is that I have to move a part of this model and to move while ...
-5
votes
3answers
2k views

Is it possible to use OpenGL purely with C instead of C++?

Is it possible to use OpenGL purely with C instead of C++? I am wanting to make sure there won't be any problems with my using C and not C++. OpenGL does not depend on any C++ libraries right?
-5
votes
2answers
1k views

How to Make A Fast Graphics Engine? [closed]

Assuming I were to develop a graphics engine for a modern PC game that used only DirectX or OpenGL, which techniques could I use to make sure it ran quickly? Edit: I'm looking for any approaches ...
-5
votes
1answer
119 views

How can I set gl_Position's w component to 1?

In my vertex shader, I'd like to set the w component to 1. How can this be done, after gl_Position = MVP * vec4(vertexPosition_modelspace, 1);
-5
votes
3answers
791 views

in the shadow of a sphere [duplicate]

(Related, but somewhat different, to my previous question) How can I determine in a fragment shader if a fragment is in the shadow of a sphere? That is, if it is occluded by the sphere and is past ...
-5
votes
2answers
246 views

Advice on OpenGL 2.1 [closed]

I'm looking to finally get into OpenGL to bring some game ideas of mine to life! As I want to aim for lower class systems I'm probably looking at OpenGL 2.0/2.1 using JOGL (as I know Java the best). ...
-5
votes
1answer
626 views

Writing a Massive Multiplayer Onlinegame by Own [closed]

I wonder how long it will take a single person to write a complete MMO engine. Is this possible? This question is only about the engine development. There will not be a lot of models or level design ...
-6
votes
1answer
957 views

multiplayer game in openGL [closed]

what is the easiest way how to make network communication in openGL/glut? Does anybody know any good tutorial for beginners? thanks (or is there any simpler way then openGL?)
-7
votes
1answer
1k views

Should I use OpenGL or DX11 for my game? [closed]

I'm planning to write a game from scratch (a BIG Game, for commercial purpose). I'm aware that there are certain compute libraries like OpenCL, AMD APP SDK, C++ AMP as well as DirectCompute - both ...
-7
votes
2answers
2k views

How can I convert the 3D Object designed in MAYA or 3D Max to OpenGL Object? [closed]

I'm try to convert the 3D Objects created in the Maya or 3D Max to Simple OpenGl object anyone please guide me how can I do so???
-9
votes
2answers
2k views

Creating a Game Engine with a C++ Compiler?

I'm thinking of creating a Game Engine with a C++ Compiler using OpenGL but I don't know how to create a compiler in an application. Do I have to write the compiler? or could I use (for example) the ...

1
77 78 79 80
81