CocoaDev

Edit AllPages

Has anybody experimented with using OpenGL views inside an overlay window. I’m thinking this could be an interesting way to add effects to Cocoa based views/windows?

I’ll give it a try but before I do I was wonder if anybody else has tried?


I’ve used overlay windows successfully on top of a QTMovieView. If you want the overlay window to be properly transparent, make sure that:

const long opaqueValue = 0; self openGLContext] setValues:&opaqueValue forParameter:[[NSOpenGLCPSurfaceOpacity];

–AndrePang


Thanks Andre. When I finally get around to trying this I’m sure it will come in handy. Thanks again.