• 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
Quicklook preview generator and OpenGL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quicklook preview generator and OpenGL


  • Subject: Quicklook preview generator and OpenGL
  • From: Mads Paulin <email@hidden>
  • Date: Tue, 27 Apr 2010 19:43:07 +0200

Hi All,

I am getting really frustrated with a weird problem of rendering OpenGL from
a quicklook generator plugin. I hope some of you can give me a hint about
what I am doing wrong.

I am working with some 3D files for which I want to create a quicklook
generator for creating previews of the geometry in the file.

Everything is working perfectly fine when I test the generator using
qlmanage and I am seeing some very nice previews. However when I use the
generator in quicklook, the code to allocate an NSOpenGLPixelFormat object
fails with the messages

quicklookd[63475] invalid pixel format attribute
quicklookd[63475] invalid pixel format
quicklookd[63475] invalid context

I have tried various attribute combinations - including NSOpenGLPFAOffScreen
and NSOpenGLPFAPixelBuffer, but none of them seem to work.

Anyone got any ideas why I cannot allocate OpenGL pixel formats and
NSOpenGLContext from a quicklook generator ?

Thanks,
Mads
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Quicklook preview generator and OpenGL
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Differences in NSFileWrapper -initSymbolicLinkWithDestination: and -initSymbolicLinkWithDestinationURL:?
  • Next by Date: Cocoa Newbie & MySQL
  • Previous by thread: Differences in NSFileWrapper -initSymbolicLinkWithDestination: and -initSymbolicLinkWithDestinationURL:?
  • Next by thread: Re: Quicklook preview generator and OpenGL
  • Index(es):
    • Date
    • Thread