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
7
votes
2 answers

compiled program cannot find freeglut.dll

I'm new to this site, and relatively new to programming. I've been doing some C++ programming for a while using Visual Studio 2010, and I wanted to get into OpenGL, so I bought the OpenGL Superbible to get started. I've gotten stuck on the second…
DJDragon430
  • 73
  • 1
  • 1
  • 3
6
votes
1 answer

Transform existing C++ openGL project from glut/freeglut to glfw

I want to upgrade my scientific 3D application from Freeglut to GLFW, but I worried about hidden conflicts or loss of data, Actually my application works like a charm with Freeglut and I don't have any problem, but GLFW is recommended for modern…
xxx
  • 554
  • 8
  • 17
6
votes
1 answer

OpenGL, how to set up GLSL version?

My system's default version for OpenGL and GLSL using freeglut is 4.1, also using glew there is no problem with its initialization, shader compilation and linking, and execution. This default version happens when I don't specify…
notNullGothik
  • 432
  • 5
  • 20
6
votes
1 answer

opengl flickering while rendering multiple objects

I'm pretty new to opengl and I don't really understand what's going on here. I'm trying to use two VAOs to create multiple objects and am using a custom matrix to rotate/translate them. The image is fine when I load up one, but when I load up two…
user2755996
  • 115
  • 2
  • 8
6
votes
2 answers

FreeGLUT linking Issues in Linux

I am running Linux Mint 14.1 64-bit I have installed the following libs: mesa-common-dev, freeglut3-dev, libglew-dev through the apt-get tool. Here are my includes, located in my Main.h file: #include #include #include…
FinalFortune
  • 635
  • 10
  • 25
6
votes
1 answer

Win8/VS2012: Cannot open include file 'GL/glew.h': No such file or directory

I'm trying to migrate from Windows 7 to 8, but glew and freeglut are giving me problems. The instructions I used were basically as follows: 1) Copy the contents of Lib and Include\GL folders of libraries to Program Files\Microsoft…
blomkaal
  • 101
  • 1
  • 2
  • 5
6
votes
1 answer

FreeGLUT compiled dll + lib?

I'm trying to get FreeGLUT working. For a reason I don't get, no binaries are distributed. Where can I download the .lib and the .dll files?
bytecode77
  • 14,163
  • 30
  • 110
  • 141
6
votes
3 answers

OpenGL antialiasing with freeglut

I am using freeglut. I'm trying to get FSAA working, but nothing seems to work. Sample buffers is 1 and Samples is 4. But I'm not seeing any anti-aliasing. Am I missing something? Currently, I am running Ubuntu 12.04; not sure if that changes…
Azmisov
  • 6,493
  • 7
  • 53
  • 70
5
votes
3 answers

Is it possible to build FreeGLUT on Mac OS X?

I'm doing some tutorials on OpenGL that use FreeGLUT. Apparently this is how you build and install it on the mac: CPPFLAGS="-I/usr/X11R6/include" ./configure --prefix="${PWD}/../" make make install Unfortunately this on its own gives me an error…
brendanzab
  • 950
  • 1
  • 11
  • 29
5
votes
2 answers

Add OpenGL libraries to software package

I have developed a scientific code package (for collisional/gravitational N-body simulations). It does not require any libraries to run. People can download it and simply type make to compile it. I want to keep it that simple. I added OpenGL as an…
hanno
  • 6,401
  • 8
  • 48
  • 80
5
votes
2 answers

GLUT and C++ Classes

I've started using OpenGL a while ago, using GLUT. You can't pass member functions to GLUT functions. (or pointers to members for that matter, though I did not explore that option really far). I was wondering if there is a "decent" way, or what is…
Kevin
  • 775
  • 2
  • 13
  • 32
5
votes
2 answers

glutMainLoop() vs glutTimerFunc()?

I know that glutMainLoop() is used to call display over and over again, maintaining a constant frame rate. At the same time, if I also have glutTimerFunc(), which calls glutPostRedisplay() at the end, so it can maintain a different framerate. When…
Dhruv Chadha
  • 1,161
  • 2
  • 11
  • 33
5
votes
1 answer

freeglut (./light): ERROR: Internal error in function fgOpenWindow

I installed the OpenGL in Linux server (Ubuntu16.04) without a graphical interface, install command below: apt-get install build-essential libgl1-mesa-dev libglu1-mesa-dev apt-get install freeglut3-dev libglew1.10 libglew-dev libgl1-mesa-glx…
Li Qiang
  • 51
  • 1
  • 2
5
votes
1 answer

Freeglut error: ERROR: No display callback registered for window 1 when destroyed a window and created a new window

I want to create the opengGL context using freeglut. I will first decide the which context to by checking the supporting version using glew and some other parameters. I know for glew to work, it needs a opengl context. So I first create a context…
Pankaj Bansal
  • 889
  • 1
  • 12
  • 37
5
votes
1 answer

How to move around camera using mouse in OpenGL?

I realize this question has been asked before on stackoverflow, but I have yet to find an answer that I understand completely so I thought I'd get some help specific to my situation. I basically want to be able to use the mouse to rotate around the…
Bazinga
  • 489
  • 1
  • 5
  • 16
1 2
3
40 41