Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ANN: Sequence Grabber + OpenGL texture example code updated



I originally posted a link to my example code a month or so ago, and
now it's been updated to solve some endian issues, and add code to do
vertical syncing.  The project demonstrates how to display the data
from a sequence grabber (iSight or other camera) as a texture in
OpenGL.  Here's the link to my site:

http://www.cse.psu.edu/~dcairns/

I'm currently still using GWorlds and Rects, which Xcode warns me have
become deprecated.  The ideal situation here is updating my code to
use the latest APIs, which I suppose would probably be CoreVideo and
Image IO, while **still retaining the ability to access and manipulate
the pixel data directly**.  I've used this sample code as a template
for some of my computer vision projects, so I need direct access, and
I need it to be really fast.

Anyway, the code was tested on my 1.5 GHz Powerbook and my 2 GHz
Macbook (with built-in camera), and it ran very well on both – the
Macbook is much faster than the Powerbook, but both are passable.  If
anyone tries it on some other machine and has problems or questions,
let me know!

-- David Cairns
Pennsylvania State University
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.