Jump to content
  • Advertisement

Archived

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

Jean-Luc Pikachu

OpenGL OpenGL Game Programming Ch. 10 example

This topic is 5896 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
I haven''t heard about anyone having this problem before. Could be a video card issue... I have no idea. I''ll look at the source myself later on.

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
I have had the same problem and I have disabled glLockArraysEXT() and glUnlockArraysEXT().

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!