2022 Developer Survey is open! Take survey.

Questions tagged [glew]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

Why does object not show?

I would like to tell about my home made exercising step to step with LWJGL and Java. But I don't understand why does matrix shut up? Transformation.java: ackage Example; ...
user avatar
1 vote
1 answer
658 views

Why is my OpenGL triangle not drawing on the screen?

I am currently following this tutorial to create a simple game engine, but I am doing it using SDL and C++. I am stumped, however, because I can't get a triangle to draw on the screen, and I'm getting ...
user avatar
  • 31
1 vote
0 answers
58 views

Subtract a circle on a rectangle - OpenGL

I am writing a game using GLFW, GLEW, GLM and Bullet3 in C++. Its a Maze with holes. I am doing the floor with rectangles (wich is 2 GL_TRIANGLES). I want to make some woles (circles), to the ball ...
user avatar
2 votes
2 answers
243 views

OpenGL c++ cube render back issue

I'm testing on OpenGL and I've created a cube that rotates, but everytime I launch it some weird bugs happens and sometimes opengl gives priority to the back faces and other times it just break and ...
user avatar
  • 53
0 votes
1 answer
446 views

C++ glGenBuffers does not return proper VBOID when called in thread [closed]

I'm currently learning to properly use multithreading in C++ in combination with OpenGL and GLFW, and I encounter a strange bug in my application. I'm generating a procedurally generated terrain in a ...
user avatar
  • 138
1 vote
1 answer
507 views

Transform existing C++ OpenGL project from glut/glew to GLFW

Is it possible to easly transform existing glut/glew to GLFW API?
user avatar
  • 163
-1 votes
2 answers
342 views

C++/GLEW strange artefacts when drawing a 3D cube

I'm working on a bad 3D game engine in C++ with the help of GLEW, GLM and GLFW. I made the engine halfway through in 2D, but I wanted to rewrite it for 3D. I skipped the part with the per-vertex color,...
user avatar
  • 138
0 votes
1 answer
718 views

OpenGL: Better Approach to Repeating Sprites (e.g. terrain)?

Preface: Linux (Ubuntu 16.04 Gnome), C++11, SDL2, GLEW 2.0, OpenGL 4.5 Hello ladies/gents, My conundrum is this: How do I handle draw a repeated texture (sprite) as a single object, at various ...
user avatar
  • 139
2 votes
1 answer
223 views

Rotating a Row of Textures

Preface: In Linux, using C++11, SDL2, GLEW, and OpenGL. Hello Ladies/Gents, I am reaching out as I'm stuck on a fairly simple problem that a decade out of school has further hindered. Specifically, ...
user avatar
  • 139
1 vote
2 answers
2k views

What is the difference between OpenGL, SDL, DirectX, GLFW, GLUE?

I'm aware that OpenGL and DirectX are somehow programmed into my graphics card drivers initially, and I can use GLFW, SDL etc. to get access to those and manipulate them, by creating kind of different ...
user avatar
  • 195
0 votes
3 answers
6k views

Glew isn't initializing

I making a game on visual studio, I am still learning though. SO I create the window the context and then initialize glew. Glew doesn't initialize I just get a self-created error(cout written by me) ...
user avatar
1 vote
2 answers
1k views

Should I link GLFW and GLEW into my engine directly?

I want to write my own (simple) game engine with OpenGL. I use GLEW and GLFW and so far linked it successfully. Should the engine or the respective game (which depends on the engine) include GLFW ...
user avatar
  • 13
0 votes
1 answer
675 views

Some OpenGL code not working, but some is

I'm just starting out using GLEW and GLFW in a C++ project for my rendering code, but I'm having trouble actually getting anything to render. I know OpenGL is working in some capacity, because I am ...
user avatar
2 votes
1 answer
64 views

Normals showing unexpected results

I am making a game in c++ with opengl and glm and was working on my terrain when this happend : as it appears it is renderering just the way i planned it, but my question was, how do i make it appear ...
user avatar
0 votes
1 answer
85 views

Terrain not rendering like it should be

i was following this tutorial here: https://www.youtube.com/watch?v=yNYwZMmgTJk, in which i was translating from Java to C++ to generate a terrain, and stumbled across this issue: As it appears, it ...
user avatar
15 votes
1 answer
9k views

What is GLEW and how does it work?

I am looking for a beginner-friendly explanation. The official website's explanation is too short and lead me to more questions than answers: What is GLEW? GLEW developer's page says: The OpenGL ...
user avatar
  • 253
4 votes
1 answer
621 views

What is causing my default libraries to conflict with OpenGL extensions?

So I'm currently following the tutorial for creating OpenGL programs on learnopengl.com,so I'm using GLFW, GLEW and the base library for OpenGL. However, when I go to build my code, I get a warning ...
user avatar
  • 161
0 votes
0 answers
36 views

Having trouble running OpenGL on MSVC

I'm using the OpenGL Programming Guide, 8th Edition with MSVC 2013 but I can't get the triangles.cpp file to run. These are the errors popping up: http://puu.sh/jAokn/c07420cf46.png
user avatar
  • 181
2 votes
1 answer
13k views

Porting SDL OpenGL Game to Android and IOS

I am currently learning OpenGL (3.0+) with C++. I am using SDL for input handling, window creation, etc., GLEW to use OpenGL and call OpenGL Functions, and GLM for OpenGL Math stuff. If I fully ...
user avatar
4 votes
1 answer
674 views

Nvidia Nsight 4.6 VS Edition. The Graphics debugger can't find glew32.dll

I'm trying to debug some textures and FBO's with Nvidia Nsight 4.6 VS Edition. But when I select either "Start CUDA debugging" or "Start graphics debugging" I get an error. "The program can't start ...
user avatar
  • 161
4 votes
1 answer
4k views

How do I get GLEW to use my Nvidia GPU instead of an integrated Intel card?

I'm new to graphics programming, though not to coding generally. I've been learning opengl from the OpenGL Superbible, 6th Edition. I was trying out the shader examples from the book but couldn't get ...
user avatar
1 vote
0 answers
633 views

OpenGL - Texture disappears

I'm making a simple program with C++, SDL and GLEW. So far it is going great but I ran into a weird problem. One of my four textures would not show up on screen even though it used the same code as ...
user avatar
  • 11
3 votes
2 answers
6k views

glGenVertexArrays causes crash

My code keeps crashing at runtime, I have done some creative debugging and determined that it was the glGenVertexArrays that was causing the crash, I've looked around and come across some answers that ...
user avatar
5 votes
3 answers
3k views

How can I use ARB_debug_output with SDL on Windows?

I'm trying to port a small GL program that I've been working on from Linux to Windows. I have the following: ...
user avatar
1 vote
1 answer
620 views

glGenBuffers fails with 0x0, win7, glew [closed]

I try to run a simple renderer on my win7 machine but it dies at the first glGenBuffers call. The computer has an Intel HD3000 card, with the latest driver (OpenGL 3.0 support). I use glew 1.10 (self ...
user avatar
  • 121
0 votes
1 answer
899 views

How to enable geometry shader in OpenGL 4.2?

I'm porting my Direct3D-based engine to OpenGL and I'm using geometry shaders for rendering text characters (basically, textured billboards). D3D version works fine, but in OpenGL mode it gives only ...
user avatar