Kevin Kronmiller (Kronmiller++at++metricsys.com)
Wed, 3 Nov 1999 06:38:47 -0600
Thanks
Kevin Kronmiller
-----Original Message-----
From: Rob Jenkins [SMTP:robj++at++reading.sgi.com]
Sent: Tuesday, November 02, 1999 9:00 AM
To: Kronmiller++at++metricsys.com
Cc: 'info-performer++at++sgi.com'
Subject: RE: OpenGL Error 501 running perfly
Importance: Low
These OpenGL errors are defined in GL.h, what you can often do is ogldebug
the app, turn on GLerror checking, then when you hit a GL error, look in the
man page for the call that triggered it. The GL man pages have an 'errors'
section so you should be able to look at the error and the function call to
get an idea of why GL didn't like the call. In this case 0x501 is
'INVALID_VALUE', extending on Angus's guess, the errors section for man
glteximage2d says:
"
GL_INVALID_VALUE is generated if width or height is less than zero,
greater than 2+GL_MAX_TEXTURE_SIZE, when width cannot be represented as
2**k+2*border for some integer k, or when height cannot be represented
as
2**k+I*border, where I is 2 when GL_INTERLACE_SGIX is disabled and 1
otherwise.
"
So the texture being too big could trigger it as Angus says but to confirm
it, try and isolate the call that's triggering it.
Cheers
Rob
-----Original Message-----
From: Angus Dorbie [mailto:dorbie++at++sgi.com]
Sent: 01 November 1999 19:52
To: Kronmiller++at++metricsys.com
Cc: 'info-performer++at++sgi.com'
Subject: Re: OpenGL Error 501 running perfly
P.S.
Hmm.. could also be that the texture is too big.
I'm not sure that this would produce this error though.
Cheers,Angus.
Kevin Kronmiller wrote:
>
> Hello,
>
> We are getting the following error message when loading a terrain database
> in perfly on Octanes and O2s. It loads fine on an Onyx2 Infinite Reality.
>
> OpenGL Error 0x501 invalid value
>
>snip<
> I am at a loss as to what to try next. Does anyone know what the error
> message means? What other information do I need to provide?
>
> Thanks for your time,
>
> Kevin Kronmiller
> kronmiller++at++metricsys.com
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
-- "Success is the ability to go from one failure to another with no loss of enthusiasm." - Winston Churchill.Performer + OpenGL examples and tutors: http://www.dorbie.com/ ----------------------------------------------------------------------- List Archives, FAQ, FTP: http://www.sgi.com/software/performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Wed Nov 03 1999 - 04:40:12 PST