Re: Cocoa Frontend to SDL App
Re: Cocoa Frontend to SDL App
- Subject: Re: Cocoa Frontend to SDL App
- From: vinai <email@hidden>
- Date: Fri, 10 Jul 2009 09:57:39 -0700 (PDT)
Probably not - these programs do not have any intermediate graphical outputs. I actually struggled with a similar question earlier on. I am trying to put together an MRI data reconstruction program. Traditionally, most people have done command line programs (ironic - in that we do imaging ... ;) ) or use IDL or MATLAB for data display.
I initially struggled with trying to put a Cocoa wrapper around some command line programs I was familiar with, but it turned out that it was simpler for me to break the command line program up into pieces, and to modularize out the recon engine from the parameter inputs and data display, so I could tap into the image data stream for display ...
If your SDL program is already pretty modularized, it might be easy enough to tap into the data stream and add a cocoa view instead of SDL. I have not used any of Cocoa's OpenGL features, so I couldn't tell you how easy or difficult it would be to add a Cocoa view to an already existing Open GL program.
cheers
vinai
--- On Fri, 7/10/09, Anthony Smith <email@hidden> wrote:
> Thanks for the input. SDL is actually a simplified interface to OpenGL
> so I'm wanting to integrate an already made SDL game into a Cocoa
> front-end. I think handbrake and ffmpegx are trying to create a front-
> end for the command line tools where I'm trying to integrate an actual
> view. Do you still think these apps are a good starting point?
>
> On Jul 10, 2009, at 10:08 AM, vinai wrote:
>
>> Doesn't ffmpegX and handbrake already do this ? I think both are
>> GPL'ed and wrap around ffmpeg.
_______________________________________________
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