Empty window appears when going fullscreen in awakeFromNib

2009-02-04 Thread Jonathan Selander
I have a program that goes into fullscreen like this: - (IBAction) goFullScreen:(id)sender { // bort med dock och menubar, motverka tvångsavluta, alt+tab och utloggning SetSystemUIMode(kUIModeAllHidden, kUIOptionDisableAppleMenu | kUIOptionDisab

Re: OpenGL export is messed up

2009-02-02 Thread Jonathan Selander
image is correct, but it doesn't capture the whole image. 2 feb 2009 kl. 14.32 skrev Jonathan Selander: Hi, I use code from the QCTV example to export video from my quartz composition, which works fine on my G5, but when i use it on an intel macbook, the video export is messed up, as i

OpenGL export is messed up

2009-02-02 Thread Jonathan Selander
Hi, I use code from the QCTV example to export video from my quartz composition, which works fine on my G5, but when i use it on an intel macbook, the video export is messed up, as if the image has been sliced up by a giant tiger paw, smearing all the color out in one direction. The stran

Playing quartz composition using manual opengl rendering creates extreme flicker

2009-01-22 Thread Jonathan Selander
Hi, I use the method from the QCTV example to play a quartz composition with the difference that i use a qcview and then the opengl context of it to render the qc instead of creating the opengl context myself. This works like a charm with my iSight on a power mac G5, but when i try it on

Store value of qc color picker in plist

2009-01-21 Thread Jonathan Selander
I use a QCCompositionParameterView to manipulate values of my composition, and i want to store those values in a plist. It works fine for al strings and numbers, but storing a 'color' seems to be a bit more complicated. This is the code i tried: [standardUserDefaults setObject:[qcView valu

Re: Mix video and audio

2009-01-20 Thread Jonathan Selander
from your openGL view as samples for compressing video. This is what happens in the QCTV sample code. On Jan 20, 2009, at 3:24 PM, Jonathan Selander wrote: Ahh, that seems to do what i want to audio, but as far as i can read it can only use a camera as input device, and i use a qcview

Re: Mix video and audio

2009-01-20 Thread Jonathan Selander
:38 PM, Jonathan Selander wrote: Hi, My application records video using opengl, but i need to add two audio tracks to it. First i need to add microphone recorded audio to a short muic track, and then add the result to the video. How should i go about to accomplish this?

Mix video and audio

2009-01-20 Thread Jonathan Selander
Hi, My application records video using opengl, but i need to add two audio tracks to it. First i need to add microphone recorded audio to a short muic track, and then add the result to the video. How should i go about to accomplish this? Thanks

Re: Manipulating QC input ports with QCRenderer

2009-01-15 Thread Jonathan Selander
Does anybody have an idea on this? It's driving me crazy that i can't read or set port values in the quartz composition. 15 jan 2009 kl. 16.52 skrev Jonathan Selander: Hi, I just managed to set up QCRenderer to play my composition in order to record the composition to a video f

Manipulating QC input ports with QCRenderer

2009-01-15 Thread Jonathan Selander
Hi, I just managed to set up QCRenderer to play my composition in order to record the composition to a video file, but I also need to change the values of a couple of input ports in the composition that are published. I could do it with QCView and QCPatchController, but i know QCRenderer

Using an NSOpenGLVIew to play a Quartz composition with QCRenderer

2009-01-15 Thread Jonathan Selander
Hi, I want to be able to use antialiasing with my qtz as well as being able to record frames, so I'm looking at ways to load the composition with a custom opengl context. Ive looked at the QCTV example a bit, and tried to make the first example on http://developer.apple.com/documentation/Gr

Re: Capture video from core animation (QC)

2009-01-14 Thread Jonathan Selander
something like QuartzCrystal by Kineme. If you want to add recording functionality to your application take a look at the QCTV sample code. On Jan 14, 2009, at 5:38 AM, Jonathan Selander wrote: I've made a funny cuartz composition with a couple of video filters, webcam, and so on, and no

Capture video from core animation (QC)

2009-01-14 Thread Jonathan Selander
Hi, I've made a funny cuartz composition with a couple of video filters, webcam, and so on, and now i'd like to record it to a video file (like quicktime). Question is, do i need to use OpenGL and render each frame or whatever, or is there an easier way to accomplish this? Thanks

White background when NSButton is pressed

2009-01-13 Thread Jonathan Selander
Hi, Im using alpha-transparent PNGs on NSButtons to build a part of my interface. It looks good, but when a button is pressed, a square white background fills the button. Is there a way to get rid of this in IB? I've been toying with almost every option so far with no luck. Thanks ___

Re: Make the whole view go full screen

2009-01-13 Thread Jonathan Selander
if it's the most standardized way of attaining full screen. check out: SetSystemUIMode(kUIModeAllHidden, 0); and SetSystemUIMode(kUIModeAllSuppressed, 0); On Mon, Jan 12, 2009 at 12:21 PM, Jean-Daniel Dupas wrote: Le 12 janv. 09 à 18:08, Jonathan Selander a écrit : Hi, Is there way

Make the whole view go full screen

2009-01-12 Thread Jonathan Selander
Hi, Is there way to make the whole main windows with all its contents (including a quartz composition) go full screen, and perhaps even scale? If so, how? Thanks ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin req

Getting the mouse position in pixels in QC

2009-01-12 Thread Jonathan Selander
Hi, I'm trying to make something that can get the mouse position in pixels in quartz composer using "rendering destination dimensions" and "mouse". The idea is to dynamically be able to know if the mouse is over a specific image or not. If i have the mouse at 1/4 of the screen, the "openg

QCView to fullscreen

2009-01-09 Thread Jonathan Selander
Hi, I've loaded a QC into a QCView and i want to make it go full screen. Googling told me to do something like: - (void) awakeFromNib { if (![self loadCompositionFromFile:[[NSBundle mainBundle] pathForResource:@"Introduction" ofType:@"qtz"]]) { NSLog(@"Could not load compo

Re: Recording video from a QCView to .mov

2009-01-09 Thread Jonathan Selander
Does using QTKit mean that everything in my quartz composition will be recorded, or only the input from the camera? 8 jan 2009 kl. 18.48 skrev David Duncan: On Jan 8, 2009, at 1:47 AM, Jonathan Selander wrote: I'm trying to record video form a webcam input to a .mov file. I'v

Recording video from a QCView to .mov

2009-01-08 Thread Jonathan Selander
Hi, I'm trying to record video form a webcam input to a .mov file. I've made a simple quartz composition and loaded it in a QCView. I tried using code from the QCTV example bundled with XCode, but there are things I'm not really sure about there. For instance, do i need to use OpenGL for

Accessing inputs in a quartz composition programatically

2009-01-07 Thread Jonathan Selander
Hi, I'm creating a simple application that displays a QC and is supposed to be able to switch composition, and to make this happen i first created a qtz with a "Composition Loader", because i thought it could be easy to just switch the input of the CL patch from the program. The problem i