Archived

This topic is now archived and is closed to further replies.

Jean-Luc Pikachu

OpenGL OpenGL Game Programming Ch. 10 example

Recommended Posts

Hey, I''m not sure if this is the best place to ask this, but has anyone here tried the example program from chapter 10 of the OpenGL Game Programming book? It''s the Vertex Terrain demo, the exe is called terrain.exe. It GPFs when I run it. When I try running the project through Visual C++ 6, it gives an access violation on a line of assembly code. I''m using a Matrox G400 with the latest drivers. Has anyone run into this problem? Is this the best place to ask questions about that book? Thanks in advance -- Peace, Capt. Jean-Luc Pikachu

Share this post


Link to post
Share on other sites
Yeah i have the same problem with the .exe. Havent tried to make the project yet so i cant say anything about that. Im gonna do it sometime soon and ill post the results here when im done.

Share this post


Link to post
Share on other sites
did this ever got solved?
I am having the same problem on 2 different computers one with a lousy onboard video card, and on my computer, just bought a GForce2 MX400, I recompiled, the problem is still there, aparently its on glDrawElements() the following code:


  
for (int z = 0; z < MAP_Z-1; z++)
{
// draw the triangles in this strip

glDrawElements(GL_TRIANGLE_STRIP, MAP_X * 2, GL_UNSIGNED_INT, &g_indexArray[z * MAP_X * 2]);
}


the computers are running Win2k Server (the lousy one) and Win2k Pro (mine) is this a win2k Issue?

thanks.

Share this post


Link to post
Share on other sites