Questions tagged [glut]
The glut tag has no usage guidance.
5
questions
2
votes
1
answer
134
views
OpenGL and GLUT in x64 on Windows (Visual C++ 2019)
I'm just starting to self-learn OpenGL. I have OpenGL A Primer (2nd edition) by Edward Angel and I found this useful site for setting up OpenGL with Visual Studio 2019 on Windows:
https://www....
0
votes
1
answer
79
views
How to give C++ GLUT project an Editor/UI?
I want to render my OpenGL GLUT project to a window/control in C# WPF. I have read articles online from Microsoft on how to do it but I am very confused.
Does anyone have any experience with this? ...
1
vote
2
answers
113
views
Why is there a straight line between my bezier paths?
I have created a bezier curve tool and each time I draw a bezier curve segment I get a straight line between each mouse click. I don't understand why this is happening and was wondering if someone ...
0
votes
1
answer
348
views
How to detect when left mouse button is released in GLUT after being held in motion?
I am trying to detect when my left mouse button is released to store the result in a boolean variable in OpenGL GLUT. Currently, I am using the motion() function in ...
0
votes
1
answer
56
views
Lines not disappearing after being drawn in OpenGL
I am creating a Bezier curve tool in OpenGL and every time my program draws something in motion with cursor coordinates I see the previously drawn lines on the screen for a second or two before they ...