glfw Questions
2
Solved
I've been reading about the stencil buffer in OpenGL. The basic concept makes sense; a fragment is only drawn if it meets a certain condition after being bitwise ANDed with a value in the stencil b...
Gavel asked 14/1, 2018 at 2:54
1
I am trying to run an OpenGL code on WSL2 but am getting the following error on trying to run the executable:
GLFW error 65543: GLX: Failed to create context: GLXBadFBConfig
Unable to create GLFW w...
2
I'm trying to run a Python3 code found on GitHub on a remote machine that I don't have root access. The code requires to import glfw dependency .
While pip3 install --user glfw seems to work perf...
Syllabic asked 19/8, 2018 at 14:28
2
Solved
I am tring to open an OpenGL full screen window using GLFW on linux red-hat. I have a desktop that spans two monitors with total resolution of 3840*1080.
I have two problems:
1. The window is open...
1
I have a project from school I'm currently working on and I need to texture a non-rotating cube showing just 3 faces. I've tried doing it on my own but I only get one image on all the 3 faces. I do...
Philippine asked 13/12, 2020 at 13:41
6
Solved
I'm trying to create a game using C++ and I want to create limit for fps but I always get more or less fps than I want. When I look at games that have fps limit it's always precise framerate. Tried...
4
OpenGL and Windows Remote don't play along nicely.
Solutions for this are dependent on the use case and answers are fragmented across the vast depths of the net.
This is a write-up I wish exi...
Bartonbartosch asked 6/8, 2018 at 10:23
0
I am working on a graphical application that supports multiple operating systems and graphical back ends. The window is created with GLFW and the graphics API is chosen at runtime. When running the...
4
Solved
I have been following the tutorials at http://opengl-tutorials.org and they are brilliant so far (I'm on a Mac so I am having to use OpenGL 3.2 and GLSL 1.50 rather than OpenGL 3.3 and GLSL 3.30). ...
1
Solved
I simply want to draw a line to the screen. I'm using OpenGl 4.6. All tutorials I found used a glVertexPointer, which is deprecated as far as I can tell.
I know how you can draw triangles using buf...
4
Solved
I'm trying to use GLFW on a project, but when I compile it, I get a lot of undefined reference errors, while many of them is on the library file (libglfw.a).
I tried both, compile the library and d...
Jessee asked 17/2, 2012 at 22:20
3
Solved
Creating a window with GLFW3 is done using glfwCreateWindow:
GLFWwindow* glfwCreateWindow ( int width,
int height,
const char *title,
GLFWmonitor *monitor,
GLFWwindow *share
)
If the moni...
4
Solved
I am rather new to Linux (using Ubuntu 14.04 LTS 64bit), coming from Windows, and am attempting to port over an existing CUDA project of mine.
When linking via
/usr/local/cuda/bin/nvcc -arch=comp...
2
Solved
What does GLFW acronym stand for? http://www.glfw.org/ is the main website, but I cannot find any clue there. Evenhere on SO it has a tag but in the description the acronym is not explained.
Hugo asked 11/2, 2014 at 2:15
2
Solved
I am trying to draw a triangle on a GLFW window with OpenGL.
Here is my complete code:
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <iostream>
using namespace std;
stati...
Startle asked 1/10, 2018 at 13:31
1
Solved
I am learning Opengl by following the tutorial at https://learnopengl.com/
and I am having trouble setting up dependency with cmake(See Creating a window).
I based my CMakeLists.txt on the GL...
0
I tried to make the question as reproducible as possible. So here is the docker commands:
docker run --name headless_test -ti python:3.6-jessie /bin/bash
And inside the docker execute the follow...
3
Solved
I'm using PyOpenGL+glfw for rendering.
When trying to do the same on a headless machine (e.g a server) glfw.init() fails:
glfw.GLFWError: (65544) b'X11: The DISPLAY environment variable is missin...
1
Solved
I'm doing a little project of mine where I'm basically creating my own c++ game engine / framework for creating graphics and or simple games. I use OpenGL with GLFW. My goal is to have something si...
Immigration asked 8/4, 2019 at 12:13
1
Solved
When looking through the GLFW reference I came across the glfwGetWindowUserPointer function (and the glfwSetWindowUserPointer function). In the reference it says the following about the user-pointe...
Decal asked 13/3, 2019 at 15:46
1
I am using opengl as my window. I wanted to implement a camera class and found that the regular cursor (GLFW_CURSOR_NORMAL) was inadequate for a camera. Thus I ran the command glfwSetInputMode(wind...
1
Solved
When trying to compile GLSL shaders in C/C++ using GLFW/GLEW I get the following error:
0(12) : error C5052: gl_Position is not accessible in this profile
I followed a tutorial from learnopengl....
3
Solved
glfwSwapInterval(1) doesn't seem to be working for me. If I force VSync in CCC or setVerticalSyncEnabled(true) in SFML my fps drops to 60, but GLFW just keeps running at 9000 fps. Am I going about ...
2
I'm just trying to draw a line between the bottom left corner and the top right corner of the screen. The result is quite annoying since it renders a line that goes from the bottom left corner to t...
1
Solved
Currently, when holding down the desired key, the input registers multiple times. Is there a way to process only the first event after the key is pressed and ignore the following events until the k...
© 2022 - 2024 — McMap. All rights reserved.