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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to