• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSGLImage doesnt open large images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >NSGLImage doesnt open large images (From: "Pradeep Kumar" <email@hidden>)

  • Prev by Date: Re: NSArray vs. NSSet
  • Next by Date: Saving and reopening Shark sample files
  • Previous by thread: NSGLImage doesnt open large images
  • Next by thread: Re: Re: NSGLImage doesnt open large images
  • Index(es):
    • Date
    • Thread