Re: QCView openGLContext

2008-03-13 Thread Sam McDonald
his will allows you to flush your buffer, but doesn't produce nearly as nice code as what the 10.5 stuff allows you to do. Sam McDonald Trimonix On Mar 13, 2008, at 6:53 PM, Lorenzo wrote: Hi, I build my app against 10.4 SDK. The compiler says that there are no errors. My app runs

Re: QCView openGLContext

2008-03-13 Thread Sam McDonald
d at about 30 frames a second. Sam McDonald Trimonix On Mar 13, 2008, at 8:00 PM, Lorenzo wrote: Thank you Sam, Your code looks promising. One question, should the renderView be a simple NSView, a QCView or an NSOpenGLView? If not a QCView, should I fire a timer each 1/60 sec in order to r

Re: To get machine type (ppc, intel)

2008-03-19 Thread Sam McDonald
We had do this in our most recent app. There definitely could be better ways, were were pretty new to cocoa. Here is what we did: #if __BIG_ENDIAN__ #define ARGB_IMAGE_TYPE GL_UNSIGNED_INT_8_8_8_8_REV #else #define ARGB_IMAGE_TYPE GL_UNSIGNED_INT_8_8_8_8 #endif Sam McDonald Trimonix On Mar

Re: To get machine type (ppc, intel)

2008-03-19 Thread Sam McDonald
We had do this in our most recent app. Here is what we did: #if __BIG_ENDIAN__ #define ARGB_IMAGE_TYPE GL_UNSIGNED_INT_8_8_8_8_REV #else #define ARGB_IMAGE_TYPE GL_UNSIGNED_INT_8_8_8_8 #endif Sam McDonald Trimonix On Mar 19, 2008, at 9:14 AM, Nick Rogers wrote: Hi, In my app I'm readin

Kentucky Meetup

2008-03-19 Thread Sam McDonald
many people are interested. It might just be me, but thats okay. If this is already happening somewhere, then I would definitely like to get involved, and sorry for wasting your time. I googled "Kentucky Cocoa" and all I got were girls on myspace and bourbon balls. Sam Mc

Re: Cannot Debug

2008-02-28 Thread Sam McDonald
ng plagued with this same issue for 2 months I felt like I had to say something. Also, I have only known cocoa for 7 months (part-time), so if I said anything stupid, I'm sorry. Sam McDonald Trimonix [EMAIL PROTECTED] On Feb 28, 2008, at 7:26 PM, Philip Bridson wrote: I can't

Re: Cannot Debug

2008-02-28 Thread Sam McDonald
. It was nice to feel like I wasn't crazy, but it did show that the error was in the code. I am pretty sure that it had something to do with the connection of our NSDocument subclass, I just can't remember what we did to fix it. Sam McDonald Trimonix [EMAIL PROTECTED] On Feb 28,

Re: Photo Booth Green Screen Effect

2008-02-28 Thread Sam McDonald
http://developer.apple.com/documentation/GraphicsImaging/Conceptual/QuartzComposer/qc_intro/chapter_1_section_1.html Sam McDonald Trimonix [EMAIL PROTECTED] On Feb 28, 2008, at 10:32 PM, Bridger Maxwell wrote: Hey, Is it possible to use the Photo Booth "green screen"/chroma key e