Hi,
I am relatively new to OpenGL programming...currently involved in a project that uses freeglut for opengl rendering...
I need to draw an envelop looking like a cone (2D) that has to be filled with some color and some transparency applied.
Is the freeglut toolkit equipped with such an inbuilt functionality to draw filled geometries...
I'm involved in a development project that is using freeglut (based on the long defunct glut) for it's client.
The client will eventually allow full interaction with a large-scale 3d environment. Should I let the development continue with freeglut (is it even possible) or should I advise they use another alternative such as libsdl, open...
I have a standard glut implementation. The display function redraws each object, but I need a constant update on certain values of each object. As it is, the only way I can think to do this is to spawn a thread to handle the updating. However, I can't use glutPostRedisplay() from a different thread to get glut to refresh the window. What...
Hi,
I am using the freeglut OpenGL api to create an opengl context.
The window that is created is through the glutCreateWindow() function..
I want that somehow the resulting window is made un-movable/un-draggable and un-resizable..
any way to achieve this?
Thanks.
...
Receiving alot of these messages when compiling which is making compiling a simple program very time consuming.
freeglut_static.lib(freeglut_callbacks.obj) : warning LNK4204: 'z:\CST328\Lab1\block\Release\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>freeglut_static.lib(freeglut_...
Dear developers,
I have written some effects in C++ (g++) using freeglut on Linux, and I compile them with
g++ -Wall -lglut part8.cpp -o part8
So I was wondering if it is possible to have g++ make static compiled Windows executables that contains everything needed?
I don't have Windows, so it would be really cool, if I could do that...
On lnux, using freeglut, I have MainLoopEvent();
Now, I'm programming on the Mac, and I don't see it. Is there anyway to get MainLoopEvent() on the Mac with Glut?
Thanks!
...
I want to send a keystroke to a GLUT program on X11, but I can't find there's an X11 client attached to the GLUT program.
I do this, using the most excellent demo program for the chipmunk 2d physics package:
xlsclients -a|sort >aa
chipmunk_demos (in another window)
xlsclients -a|sort >bb
diff aa bb
and there's no difference.
My eve...
I have a C++ console program which I can compile using glut or freeglut and get the same undesirable behavior. Specifically, if I "start with debugging" everything is fine, but if I start without debugging I have to manually switch to the window. Is there any way to force the GLUT window to the foreground on program start?
...
Hello! I'm trying to use GLUT (freeglut) in my OpenGL application, and I need to register some callbacks for mouse wheel events. I managed to dig out a fairly undocumented function:
api documentation
But the man page and the API entry for this function both state the same thing:
Note: Due to lack of information about
the mouse, i...
I'm trying to read some OpenGL tutorials on the net. the problem is that I found some old ones that use gluPerspective(). gluPerspective was deprecated in OpenGL 3.0 and removed in 3.1.
What function can I use instead?
I'm using C++ with latest FreeGlut installed.
...
I'm using Visual Studio 2008, Developing an OpenGL window. I've created several classes for creating a skeleton, one for joints, one for skin, one for a Body(which is a holder for several joints and skin) and one for reading a skel/skin file.
Within each of my classes, I'm using pointers for most of my data, most of which are declared u...
I'm using GLUT (freeglut3) (via the Haskell GLUT bindings).
import Graphics.UI.GLUT
handleKBMouse :: KeyboardMouseCallback
handleKBMouse key keyState mods mousePos = do
print (key, keyState, mods, mousePos)
main :: IO ()
main = do
getArgsAndInitialize
createWindow "testTitle"
keyboardMouseCallback $= Just handleKBMous...
I recently wrote a maze game in opengl (using freeglut) that works fine when built in Ubuntu or Cygwin, but when built on Fedora Core 12 with freeglut, the game falls apart, and my professor can't see a thing when he builds it on his machine (the OS of which he has failed to disclose).
Also, on previous assignments, I got flickering eve...
The FreeGLUT API has several functions for window management:
int glutCreateWindow(const char * title );
int glutCreateSubWindow(int window, int x, int y, int width, int height);
void glutDestroyWindow(int window);
void glutSetWindow(int window);
int glutGetWindow(void);
void glutSetWindowTitle(const char* title);
void glutSetIconTit...
I am trying to get OpenGL and Glut running on Eclipse Linux FC13.
After spending two days on it, I admit that help is needed. On FC13 Eclipse, I see
/usr/include/GL and /usr/include/SDL -- so the libs are there. I started Eclipse, and then tried to run a simple program on it, just like suggested here. However, two things were missing in...
I'm just trying to make a program that displays a window with a box in it, but when I run the program I only get the window display maybe once out of 5 runs. Every time I execute the command line gives appropriate responses and i see the window's title on the gnome panel at the bottom of the screen, but the window itself is invisible mos...
I want to use freeglut for my project.
In my configure.ac it looks like this, it worked like this for SDL so I just replaced some potions and hoped it works for freeglut as well but it does not. So what am I doing wrong?
# Check for freeglut
PKG_CHECK_MODULES([FREEGLUT], [freeglut >= 3.0])
AC_SUBST(FREEGLUT_CFLAGS)
AC_SUBST(FREEGLUT_LI...
Hi,
I am using off screen rendering using opengl FBO and glut on a MAC OS X 10.6. The program involves movement of multiple 3D objects.
The program seems to be working fine except that I am required to include an option where the off screen buffer contents are not swapped to the on screen buffer. Hence you do not see anything on the sc...
Hi, I'm trying to compile this example and play around with it a bit. I've already corrected the main error the people were having with this example where they would call sdl_gl_setattribute before SDL_Init was called but I'm still getting a segfault right after the first SDL_GL_SetAttribute call. I've ran sdl with opengl apps before on ...