Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 28, 2009, 05:55 PM   #1
HiRez
macrumors 601
 
HiRez's Avatar
 
Join Date: Jan 2004
Location: Western US
Core Animation or OpenGL --> hardware out?

Hello, I am trying to figure out how to do real-time rendering using OpenGL and (preferably) Core Animation, and to have that output delivered not to a screen (ie. directly out of the GPU), but to an internal SDI video output card, such as AJA Kona or Blackmagic Decklink. I don't need help so much with OpenGL or Core Animation rendering, but I need to know how to get that rendered output onto the card, which would be fixed at 720x486 @ 29.97 fps (NTSC video). I think I have to use QuickTime to accomplish this, am I correct about that? I need to do animations in real-time using the GPU, which are constantly output from the card, so it can't be a fixed, pre-rendered QuickTime movie.

So can anyone walk me through a high-level overview of the steps I need to go through to assemble this pipeline? As best I can guess, I need to somehow grab the CA or OGL rendering buffer and send that through QuickTime to an Output Component? But what sort of QT Movie do I need to set up, or do I need to use a Movie object at all? How do I get access to the CA or OGL buffer needed and tell QuickTime about it? How and where do I do my rendering to accomplish this in real-time? Do I just render where I want, and QuickTime grabs whatever is in the buffer when it needs it? Or does QuickTime tell me when I need to render though a callback?

I know it's possible and I understand fragments, but I'm stumped on where to start. Any help would be appreciated!
__________________
Go outside, the graphics are amazing!

Last edited by HiRez; Feb 28, 2009 at 06:01 PM.
HiRez is offline   0 Reply With Quote
Old Feb 28, 2009, 06:28 PM   #2
Saladinos
macrumors 68000
 
Saladinos's Avatar
 
Join Date: Feb 2008
This is something I doubt many people have experience of. Your best bet would be to try the Apple mailing lists. These lists are populated with people experienced in the field and developers at Apple who will almost certainly know if what you ask if possible, and if it is, how to do it.

I would suggest either:

Mac-opengl (http://lists.apple.com/mailman/listinfo/mac-opengl)
QuickTime-API (http://lists.apple.com/mailman/listinfo/quicktime-api)

Hope it helps
Saladinos is offline   0 Reply With Quote
Old Mar 4, 2009, 04:21 PM   #3
HiRez
Thread Starter
macrumors 601
 
HiRez's Avatar
 
Join Date: Jan 2004
Location: Western US
Thanks, I will try those. I also found a Blackmagic developer list.
__________________
Go outside, the graphics are amazing!
HiRez is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Core Animation is so cool! Duncan C iPhone/iPad Programming 8 Mar 8, 2014 04:53 PM
Core Animation -- Nothing Appears Blakeasd Mac Programming 2 Feb 15, 2014 03:25 PM
Core animation: surface is too large...PLEASE HELP? infoseeker OS X 10.8 Mountain Lion 2 Aug 19, 2013 05:34 AM
OpenGL Core Profile breaks my app UniEdit Mac Programming 1 Jun 23, 2013 12:27 PM
Core animation image not drawn ramy1989 Mac Programming 0 Dec 2, 2012 09:54 AM

Forum Jump

All times are GMT -5. The time now is 04:57 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC