I think that helps. I am, however, a bit fuzzy on how X11 programming should be integrated with OpenGL. The images rendered before, but now that I am trying to use X11 for user input, I am just...
Type: Posts; User: Darth_Malloc
I think that helps. I am, however, a bit fuzzy on how X11 programming should be integrated with OpenGL. The images rendered before, but now that I am trying to use X11 for user input, I am just...
I am sorry if this is a noob issue, but I really could use some help. I have no trouble with the mathematical aspect of OpenGL programming, but this is my first OpenGL project and I am unfamiliar...
Hi jamie_wizard,
I am new to OpenGL myself, but I will do my best.
I think that what you want to try to do first is establish two points on the lines of the plane, so that each point is on the...
Just an update.
Here is the main function, if that gives any indication of the problem.
/* A simple program to show how to set up an X window for OpenGL rendering.
* X86 compilation: gcc...
The input now works, but the program still gives me a blank window.
void double_cube(GLfloat firstNum, GLboolean buff, Display * visual, Window readout, XEvent * horizon)
{
......
No need to bother with my other question regarding input. On a related note, I am wondering if anyone knows whether an XEvent will still work properly if passed to a function as an argument. I am...
Hmmmm... I guess wxWidgets would work. The program already uses an X11 window for rendering, so it may be better to simply add GUI to the existing window. Does GLUT have any input options that might...
Thank you for clearing that up. On that note, I am wondering what method I might use to move the rendering to another thread or, alternatively, what asynchronous input mechanism is used on Linux.
The issue that I am facing in that the user input in my program prevents the graphics from displaying. The first part of my program draws a single line. When I comment out the first user input...
I am wondering if OpenGL allows you to get user input from the terminal in traditional sense (i.e. std::cin>>). My program requires user input on several occasions in its execution, and I would like...
A well-placed shot nonetheless, even though Han shot Greedo first. Thank you for your help. For those interested, I may post a video showing the final result of my work in action. It is a Pythagorean...
Thank you for that tip. The problem of the window taking a picture of the screen is fixed. Unfortunately, when I run the program, the window simply goes dark, and does not show any images. What must...
I could use a little bit of help. I am new to the principles of OpenGL. I have no trouble with the mathematical aspects of 3D geometry. My difficulty is in actually rendering the image. When I try to...