Hello everyone,
The movies these days have the capability of high-resolution graphics.
And while watching a movie I wondered how they made the hair.
So I searched for how this is done in...
Type: Posts; User: Dennis
Hello everyone,
The movies these days have the capability of high-resolution graphics.
And while watching a movie I wondered how they made the hair.
So I searched for how this is done in...
Yes... I think that should be the best solution.
The thing I really wanted was putting the OpenGL context part also in the dynamic library.
But now I see that will not be possible for this.
...
Maybe I was a bit unclear.
And yes I was confused about static and dynamic libraries.
I know how OpenGL normally works on Windows(32).
The real thing I should like to do is:
I've a main...
With "import OpenGL libraries" I meant loading all static libraries runtime (in Windows that are dll's).
But so you mean I have to configure OpenGL, get the version, "import" my own dll's created...
Hello everyone,
I'm having a problem with calling OpenGL function before OpenGL is configured.
Because I want to import OpenGL libraries dependent on the running OpenGL version, I should like...
Oh... yes of course, here it is:
draw:
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glLoadIdentity();
static float f = 0;
f-=.0005f; // maybe you have to change this speed, but I...
Hello everyone,
I want to create an OpenGL application which could show 2D text on the screen, which have to use a font.
I should like to do this without GLUT, and with pure OpenGL in Win32, so I...
Thanks for all quick responses.
So I have to create the "lights" by myself, by calculating the color for each pixel.
I was just wondering how those games did this, but I should be very pleased...
Hello everyone,
I've seen many times car-racing games with car-lights, of games with many torches on the walls.
But OpenGL does only support 8 lights.
So I don't really understand how those...
I already found the call who made the error.
Now it works.
Thanks for help everyone! :)
When using GLEW, and when making the pointer myself, I get the same error.
Compiling works, but when running (in VC++ 2010) I get the error which will break the program.
I've already read a little about GLEW, but for GLEW I need extra dll's, and I don't really like that.
And I think it should not really be needed, because I already have the functions for 2.1 on my...
Hello everyone,
I've read in OpenGL (higher than 1.5) I could make use of the function "glGenBuffers".
Now I have also read, my operating (Windows 7) doesn't support OpenGL higher than 1.1 .
...
Errrr.... I think I already know what the problem is...
The problem was largely in the loading of the bitmap...
(Who I got from an tutorial from the internet)
When I use the code shown below...
Using GL_NEAREST I've already tried and also doesn't work.
The origional image file is an bmp file (I only use PNG for uploading), and bmp can't be RGBA.
But I made sure it isn't RGBA and checked...
Now I use the glPixelStorei function the image looks a bit better, but it still does not fit in the corners.
(See in attachment)
Hello everyone,
I got an error on displaying texture on a quad in OpenGL.
When I place the fist texture it will work (256x256).
But when I place the second texture (201x81) I see a wrong result...