Low latency video mapping on 3D objects
Low latency video mapping on 3D objects
- Subject: Low latency video mapping on 3D objects
- From: "Cor Jansen" <email@hidden>
- Date: Tue, 19 Feb 2008 13:39:47 +0100
Greetings,
I'm rather new to MacOSX programming and I really could use some advise on how to handle the following problem.
I'm working on an interactive video project, for which some video streams are mapped onto 3D objects like
a rotating cube.
Different video streams should be mapped on the different sides of this rotating cube. The position and rotation of the
cube is controlled by external signals (e.g from USB or FireWire ports).
The biggest problem I'm facing is that I need really low latency.
So the time between a change of the control signal and the actual change on the screen should be as short as possible.
How can I do this best?
I'm able to synchronize the control signals to the refresh rate of the screen updates.
So when this control values are read from the USB or FireWire port, I have to calculate the positions and rotations of the
objects. Then I know the coordinates to map the video to. But how do a manage to map the video with very short latency?
Is it possible for instance to give the graphic chip instructions such that it wil map video output from QuickTime onto some surfaces
for the next frame it is going to display? So without double buffering. Could I setup a list of mapping instructions just before the
graphic system starts to display the screen? Does Quartz-composer something like that?
Note that a delay in the video stream is not a problem, but a delay in the mapping to the calculated coordinates is.
Any guidance is greatly appreciated, so that I know where to search for more information.
_______________________________________________
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