Questions tagged [freeglut]

freeglut is an open-source alternative to the OpenGL Utility Toolkit (GLUT) library.

freeglut is an open-source alternative to the OpenGL Utility Toolkit (GLUT) library ().

Resources:

610 questions
0
votes
1 answer

Moving camera respectively to its location

I thought this will be simple and straightforward, but it is not. I have a camera in openGL application and I am transforming the displayed image respectively to camera "location". Location is changed by Up and Down. Camera may be rotated using Left…
Tomáš Zato
  • 50,171
  • 52
  • 268
  • 778
0
votes
1 answer

Fix LNK2019: unresolved external symbol with freeglut

Using this manual, I tried to get freeglut OpenGL application to compile on my computer. This means I: Copied files from freeglut archive to MS program files folder Specified freeglut.lib in additional dependencies Set explicitly the freeglut.lib…
Tomáš Zato
  • 50,171
  • 52
  • 268
  • 778
0
votes
1 answer

OpenGL Camera rotation weirdness

I've been working on a small project with FreeGlut and Glew. Now I'm coding a camera system, but there are some things that are simply weird: In fullscreen mode if the mouse moves in lower area of the screen, camera movements are faster than if…
Nyxeria
  • 363
  • 1
  • 4
  • 12
0
votes
0 answers

FREEGLUT debug and release lib in Visual C++ 2012

Freeglut 2.8.0 builds 4 libs: x86 Debug Release x64 Debug Release However, in the lib directory at C:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um there are only x86 and x64 subdirectories. Where should I put "freeglut.lib" and…
orlando2bjr
  • 193
  • 1
  • 2
  • 11
0
votes
1 answer

settingup with freeglut - glew - openGL

I've been trying to get freeGlut/openGL and glew working to visual studio 2012 but can't seem to get it working. These are my errors: http://pastebin.com/8YyVvxDb I've moved the headers, DLLs, libs and everything to all possible places, added stuff…
Marcus Ekström
  • 410
  • 6
  • 11
0
votes
0 answers

Passing additional parameters to glutKeyboardFunc

Can we pass additional parameter to glutKeyboardFunc? I have a class and I want to modify the data of the class when certain key is pressed. The class is in global scope but the object of the class is local to certain function. Further I don't want…
pranphy
  • 1,787
  • 4
  • 16
  • 22
0
votes
1 answer

implement Windows timer

how would one implement a C++ timer function which would act like: void glutTimerFunc(unsigned int msecs,void (*func)(int value), value); but was purely WinAPI (or STL) stuff? I need it to not busy wait, though. It needs to call a function after X…
user2068060
  • 159
  • 1
  • 7
0
votes
1 answer

OpenGL: Cannot perform rendering with freeGLUT? C++

I just started out with freeGLUT today, and I have gotten everything installed nicely. I am able to create a basic window but whenever I call almost every rendering method, the compiling fails. I am using the following code: #include…
CoderTheTyler
  • 839
  • 2
  • 11
  • 30
0
votes
1 answer

Cygwin: cannot run / error when in X11 xterm with OpenGL / GLEW libraries

I am working with X11 opengl on Cygwin and trying to run some tests on using the glew library. Trying to compile the "Chapter2.4.c" example from here It compiles without errors. But when trying to run from x11 (startxwin) at xterm, I get the…
0
votes
1 answer

How can I install freeGlut for windows on Codeblocks 12.11?

I have never installed new libraries in Codeblocks before and would like to know how to do it, Thank you!
Sal Rosa
  • 551
  • 2
  • 8
  • 12
0
votes
1 answer

freeglut/ glu 3d drawing

I'm trying to draw a blue quad across the bottom of a room. This is the the code I've been attempting to use, but there is no quad, just the green clear color. #include #include #include #include #include…
jtst
  • 312
  • 4
  • 16
0
votes
2 answers

GLUT: blank window

I successfully compiled this code using latest freeglut but I'm constantly getting a blank window filled with the color specified in glClearColor function. This simple program is from a Interactive Computer Graphics textbook provided by my college.…
Vlatko
  • 5
  • 3
0
votes
1 answer

C++ TinyThread and OpenGL with FreeGLUT

The problem I've encountered is generated by the probable misuse of threading within a simplistic FreeGLUT C++ application. Since exiting the glutMainLoop() cannot be done elegantly, I rely on glutLeaveMainLoop() to do some of the work, but this…
teodron
  • 1,410
  • 1
  • 20
  • 41
0
votes
1 answer

Cant load and save matrix Opengl

I have the following code: void setupCamera() { // Clear the screen buffer glClear(GL_COLOR_BUFFER_BIT); // reset the projection matrix // glMatrixMode(GL_PROJECTION); glLoadIdentity(); // and set the perspective with…
Itzik984
  • 15,968
  • 28
  • 69
  • 107
0
votes
2 answers

Fixing one part while other rotate with camera in OpenGL

Is it is possible to have a openGL window where one part is fixed and other rotate or traslate with the camera. To be more clear. I want a control bases screen. I want the control(may be buttons generated in square form) to be fixed while the rest…
duck
  • 2,483
  • 1
  • 24
  • 34