Hello,
I compiled this code in MSVC++ 6 without warnings or errors. Please make sure you include the following header files:
#include <GL/glut.h>
#include <math.h>To answer your other...
Type: Posts; User: Stack Overflow
Hello,
I compiled this code in MSVC++ 6 without warnings or errors. Please make sure you include the following header files:
#include <GL/glut.h>
#include <math.h>To answer your other...
One of very few topics I see Assassin around so just wanted to say hi.
- BlueDev
[This message has been edited by VC6-OGL (edited 08-12-2003).]
If you need the files as in glut32.dll, glut.h, and glut.lib you can find them here GLUT Files .
Hope this helps.
<IMG SRC=\"http://www.bluedev.net/images/gamedev/header_1.jpg\">
You can find GLUT at my site. Just go to my main page and click on the Downloads button on the left and download the GLUT SDK .
<IMG SRC=\"http://www.bluedev.net/images/gamedev/header_1.jpg\">
Hello,
I display my text in GLUT as the following:
<IMG SRC=\"http://www.bluedev.net/images/gamedev/header_1.jpg\">
Hello,
I'm not sure what I can say about this problem though I've ran into it multiple times I just either shut down my firewall or reset my hub connection, but im not sure if this a game problem...
Hello GrIMloCk,
Thank you for the link to the OpenGL32.dll file. It no longer gives me the GDI:SwapBuffers error. All of my programs now run fine given the new DLL file. Thank you for your help.
...
Hello nopusch,
I believe from my perspective that there is no exact OpenGL 1.4 gl.h header file. What I do know is that your graphics card may support OpenGL 1.4, but so far, the furthest I know...
Hello prashantgp,
I will look into the Bitmap problem and I will see if I can derive an answer. One thing that could help is if you send me your code, if you don't mind, and I will see if I can...
Hello prashantgp,
I will have to look into sub window maximization, so please give me some time. Thank you.
- VC6-OGL
Hello The Ultramage,
Which operating system are you running? Have you tried looking in your Window/System folder for the OpenGL32.dll? Have you tried looking in your WINNT/System32 folder for the...
Hello mdog1234,
An easy approach I found was to, create a Win32 Application (Not Console) and change your main() function to this:
To view a more explanatory descripition of this process,...
Hello HalcyonBlaze,
So what you are saying is that they are doing most of their screensaver using Win32 Programming not OpenGL?
- VC6-OGL
Hello prashant,
I have just sent you the re-edited code of your program.
- VC6-OGL
Hello HalcyonBlaze,
Yes I am using SwapBuffers(HDC), but everytime I try opening a program that Swaps Buffers in Windows98 it goes really slow, but if I execute it in Windows2000 it runs real...
Hello,
This is my webiste: BlueDev
- VC6-OGL
Hello Nelah,
I will be in my Chat room in 3 hours, so if you would like to chat about any more questions or problems concerning OpenGL, you will see me then.
- VC6-OGL
Hello glYaro,
I will be in my Chat room in about 3 hours, just in case you would like to join.
- VC6-OGL
Hello glYaro,
No I am not including <wingdi.h>, so should I, will it actually help?
- VC6-OGL
Hello Patrick212,
What exactly are the problems you are having?
- VC6-OGL
Hello Nelah,
Here is the full code:
#include <GL/glut.h>
void init( void ) {
glClearColor( 0.0, 0.0, 0.0, 0.0 );
glShadeModel( GL_SMOOTH );
}
Hello Nelah,
I can help you at my Chat room at www.bluedev.net
- VC6-OGL
Hello Nelah,
Are you defining a reshape function?, for example:
glutReshapeFunc( reshape );
Edit: here is an example of how to use the reshape function.
void reshape( int w, int h ) {
h...
Hello Nelah,
What does you display function look like? Have you been able to see anything in your window at all?
- VC6-OGL
Hello Nelah,
Here is an easy approach to creating a Sub Window in your program. Now if you are looking for something else, please let me know:
Edit: you can place your Sub-Window where ever...