|Jul 23, 2007, 09:34 PM||#1|
Best tool for graphics & compositing
I'm looking to a graphics type application. Not video, but more like a moving x-y chart. I would like to "layer" the chart over (under) other graphic(s) objects like a jpg or tiff. With transparency control. Is this compositing?
I don't know how fast the data will come in to update the chart.
What is the best tool for the job?
I've used RealBasic before. I do a lot of embedded systems programming in C (and assemblers when neccessary). I know a bit of C++. Just enough perhaps to be dangerous.
I don't know Carbon & I don't know Cocoa.
I have an inkling that Cocoa is the way to go.
So I'm looking some guidance from the experts in this forum. I know you're here, I read your posts
"You can't solve your problems with the same level of thinking that created the problems." - Einstein
New iMac 24"/G5 1.8/...
|Jul 23, 2007, 11:45 PM||#2|
My first thought would be Quartz Composer. It runs in real time, leveraging the power of OpenGL and modern GPUs, and requires no real programming experience (although there is a learning curve to learning how it works). You can do some really nice stuff with it, but the primitives it makes available to you to build images with are...well...somewhat primitive. Basically text or square blocks, but you can also use images with an alpha channel. In fact there is even a demo (I think installed with the SDK) of a data-driven graph.
After that, yes, you could look at Cocoa. Additionally, you can hook into Quartz Composer from Cocoa applications, so you could use Cocoa to parse your data and feed it to QC to display, for example, or provide more user interaction. Or you could use straight C and OpenGL if you know it.
You also might look at some game-type libraries (does SDL work for this sort of thing?).
Go outside, the graphics are amazing!
|Jul 24, 2007, 06:34 PM||#3|
The first thing I thought of was OpenGL and some of the open libraries that go on top of that like "inventor". This is cross platform and on many platforms is hardware accelerated.
But then I don't know anything about Apples' new "Core Animation". It could be perfect
|Jul 25, 2007, 07:05 AM||#4|
From your description, it sounds like Cocoa would be ideal. In fact, I just started writing a program that does some 2D graphics stuff (see my blog if you're interested) and thus far, I've found AppKit's drawing tools to be really nice.
If you've never programmed in Objective-C/Cocoa before, I'd recommend just diving in, especially since you've got experience of C already. If you want to know more about Cocoa/CoreGraphics drawing, I'd recommend having a look at this document first to get a feel for it all. Then maybe have a look at the NSView and NSScrollView classes, since you'll definitely be subclassing NSView for your program.
Of course, all of this ties you to Mac OS X, so if you need portability then it's unfortunately not an option.
PS If you want to do have a look at Quartz Composer and Cocoa (as HiRez suggested), the Cocoa/Quartz Composer "mashup" is found here once you've installed the developer tools...
PPS Also have a look at the "Interpolation modes" Quartz composition included with the developer examples. While it's quite simple, it does demonstrate QC mouse tracking and draws a very simple 2D graph...
Last edited by richyfp; Jul 25, 2007 at 07:12 AM. Reason: Added "interpolation modes" quartz composition
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Best monitor for compositing.||stefmesman||Mac Peripherals||2||Dec 25, 2013 04:37 AM|
|BetterTouch Tool (BBT) & InDesign (ID)||gabriel_uk||Mac Applications and Mac App Store||0||Feb 16, 2013 05:52 AM|
|Best Photoshop alternative for iPhone? (compositing/layers, text, custom canvas size)||nagromme||iPhone and iPod touch Apps||0||Oct 16, 2012 02:15 AM|
|New Verizon vs AT&T Data Plan Comparison Tool||jeffmetanna||iPhone||44||Aug 12, 2012 02:11 PM|
All times are GMT -5. The time now is 02:00 PM.