im taking some advice from elsewhere and scrapping gluTess and using the stencil buffer to achieve the same thing. Apparently gluTess are really outdated?
Type: Posts; User: uldaman
im taking some advice from elsewhere and scrapping gluTess and using the stencil buffer to achieve the same thing. Apparently gluTess are really outdated?
I did change the calling convention from __cdecl (/Gd) to __stdcall (/Gz) but apparently all the rest of the OpenGL functions, including the necessary glutDisplayFunc require the colling convention...
I've been working with OpenGL and the gluTess functions to creating primitives with holes inside them. Simple enough right? From the red book's tess.c I've modified it to work with C++, VS2005 if...
Oh wow I just double checked that and I found I accidently dragged the bmp into the Debug folder in my project. Well I guess that explains that. The texture isnt showing up however, haha. But...
its a resource in my project, in my project directory, and I've also tried the full path. Same results
So why would fopen return NULL to file1?
Well yes I know that. file1 is never NULL, so this just allows it to run and not open the file. I guess my question would be better if I asked, what can I do to correct the bad pointer problem?
I am trying to open a 24-bit bitmap file to use as a simple texture in an OpenGL scene, but I cant get past this debug assertion failure that comes up on fseek or fread.
void loadBMP(char...