Advertisement

Tutorial 11

Started by July 29, 2003 11:56 AM
3 comments, last by snikrot 21 years, 7 months ago
Hi all, Being a newbie to openGL I was using Nehe''s tutorials to learn openGL. Arriving at tutorial 11 I encountered an error. Within the DrawGLScene my compiler encounters an error as soon as x=12 and y=12. Does anyone know why I recieve an error message and if so, does he/she also knows how to solve this problem. Thx, Snikrot
Snikrot
What is the error msg?
Advertisement
When debugging I get the exception:

Unhandled exception in Tutorial11.exe (S3MICD.DLL): 0xC0000005: Access Violation.
Snikrot
Seems like you''re trying to access outside of the array of points (we are talking about the flag tut right?)

but the array should be 45 in size not 12.

float points[ 45 ][ 45 ][3];

You havent changed this at all have you? Other than that i''m out of ideas.

Kazade.

Hyperdev

"To err is human, to really mess up requires a computer"
"To err is human, to really mess up requires a computer"
Is your video card made by S3?
If so then try updating your video drivers.
Since i know s3 drivers are hard to find. Try it on another system with opengl.
Paulhttp://members.lycos.co.uk/p79

This topic is closed to new replies.

Advertisement