Re: NSGLImage doesnt open large images
Re: NSGLImage doesnt open large images
- Subject: Re: NSGLImage doesnt open large images
- From: John Stiles <email@hidden>
- Date: Thu, 10 Mar 2005 13:34:41 -0800
My guess would be that you're going over the maximum texture size.
OpenGL doesn't let you create arbitrarily large textures; there's a
limit. I'm pretty sure the limit is queryable.
On Mar 10, 2005, at 12:31 PM, Pradeep Kumar wrote:
Hi
I have been trying to use NSGLImage sample code provided by Apple. It
works fine for small
images (less than 2300pixs width). But for larger images (> 2400
pixs) it gives an error
WARNING: OpenGL Error 0x501 while loading texture with glTexImage2D()
The view doesnt display the image. The image is a JPEG image taken
using a 5MP digital
camera.
Does anyone know why this is happening? I am new to openGL.
TIA
prady
<inbox.gif> _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden