RE: OpenGL Error 501 running perfly

New Message Reply Date view Thread view Subject view Author view

Rob Jenkins (robj++at++reading.sgi.com)
Tue, 2 Nov 1999 15:00:20 -0000


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
>
> The error occurs when loading in a large texture used as a high resolution
> terrain inset.
>
> I have tried the following OS, Performer and MultiGen Loader combinations
> without success.
>
> O2 IRIX 6.5.3f Performer 2.2.4 MultiGen Loader R15.4g
> O2 IRIX 6.5.3f Performer 2.2.4 MultiGen Loader R15.4h
> O2 IRIX 6.5.5.f Performer 2.5.5f MultiGen Loader R15.4g
> Octane IRIX 6.4 Performer 2.2 MultiGen Loader R15.4fi
> Octane IRIX 6.4 Performer 2.2 MultiGen Loader R15.4h
> Octane IRIX 6.5.4f Perfromer 2.2.6 MultiGen Loader R15.4g
> Onyx2 IRIX 6.4 Performer 2.2 MultiGen Loader R15.4fi
>
> 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


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Nov 02 1999 - 07:00:41 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.