• 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: Scott Thompson <email@hidden>
  • Date: Thu, 10 Mar 2005 19:09:23 -0600


On Mar 10, 2005, at 7:02 PM, Pradeep Kumar wrote:

It seems the minimum texture size is 16x16. For the images that are displayed garbled, the
size was not a multiple of 16. All images that are multiples of 16 and less than 2048 display
correctly. Other images dont display.


This raises the question, is OpenGL ideal for displaying static images? Any thoughts?


I've seen OpenGL used to display images that are much, much larger than 2048. I think the issue you may need to look at is you may want to display the image using more than one texture.


Have you looked at this sample?

<http://developer.apple.com/samplecode/OpenGL_Image/OpenGL_Image.html>

Scott


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

  • Prev by Date: Re: NSGLImage doesnt open large images
  • Next by Date: Could not connect the action to target of class
  • Previous by thread: Re: NSGLImage doesnt open large images
  • Next by thread: Re: NSGLImage doesnt open large images
  • Index(es):
    • Date
    • Thread