10 questions from the last 30 days
0
votes
1
answer
112
views
Segfault when calling OpenGL functions from other file
I am creating a small abstraction layer for an engine, but when I call any OpenGL API functions from a class, the code segfaults. I'm using glad and glfw and there aren't any errors from either, and ...
1
vote
1
answer
76
views
Black screen when using GL3 (OpenGL) with Maven and JOGL
I am trying to begin working with OpenGL by drawing a quad with the simplest of shaders, but when using GL3 capabilities, I just get a black screen. I wasn't able to really debug this because (a) I ...
-3
votes
2
answers
100
views
cannot determine which instance of overloaded function "Init::Init" is intended [closed]
currently working in c++ trying to create an Init class to initialize some of the behavior in GLFW and GLEW. Basically I'm moving the whole setup portion to a new class called Init. Init will have ...
2
votes
1
answer
72
views
Transformations Involved in Gribb & Hartmann Frustum Construction
I'm currently working on implementing a Gribb & Hartmann Frustum Construction algorithm into my 3D game engine for frustum culling, but I find I need more clarification on the transformations ...
-3
votes
0
answers
72
views
OpenGL depth testing results in flash, the black window [closed]
I'm stuck working with the depth testing.
My working theory is that the depth buffer is not being cleared, as executing my code, I have a flash of my triangles, and then nothing.
Here are my shaders:
...
-3
votes
0
answers
54
views
ImGui Image() function doesnt work, opengl [closed]
I'm rendering to a 2D texture using a compute shader, and then trying to display that texture inside an ImGui window using ImGui::Image(). The GUI window shows up, and I added ImGui::Text("test&...
-1
votes
0
answers
68
views
How do I use python-mpv with PySide6 using GL Rendering for Wayland?
I'm in the process of updating a media browser application so that it will work with both X11 and Wayland. It currently uses the python-mpv library, and uses the X Window ID which obviously doesn't ...
-4
votes
0
answers
45
views
Why can I not create a vertex array with ModernGL? [closed]
I'm trying to make a game with pygame, and I'm using moderngl to use shaders. However, I'm getting constant issues trying to create moderngl objects. Currently, I cannot create multiple moderngl ...
0
votes
0
answers
49
views
OpenGL 4.6 and context sharing with GLFW3 [duplicate]
I have recently moved on newer hardware (laptop with rtx 5070) and so with new nvdia driver (version 575). I am now using OpenGL 4.6 rather than 3.3 I used before and now I am struggling ...
-3
votes
1
answer
60
views
Avalonia OpenGLControlBase Rendering Issue [closed]
I'm coding a OpenGL canvas using OpenGLControlBase in Avalonia, it works well when I add objects inside the viewport.
When I move some parts of one quad outside the viewport, the part of the quad ...