I’m following along in the Redbook and I’ve been trying to specify fog coordinates (p. 263).
At first, the compiler had a problem recognizing GL_FOG_COORDINATE_SOURCE and GL_FOG_COORDINATE, so I added glext.h to my headers and this problem disappeared. However, the function glFogCoordf() is not recognized when I try to use it.
I’m including the following headers:
I’ve linked to the following libraries:
and I have these DLLs installed in Windows/System32:
All other aspects of the program work fine (although I haven’t tried lighting and shading).
glGetString(GL_VERSION) returns 1.4.1.
As a footnote, I’m trying to use fog coordinates to display probability densities ( i.e. quantum mechanical “clouds”). If anyone knows of a better way to display volumetric data, let me know. Thank you!