GWorld rendering callback

Nibbie
Posts: 1
Joined: 2010.10
Post: #1
Hi there !

i'm using Quicktime SDK to play flash swf movies. It is running fine.
I'd to write my own rendering function to render from Quicktime movie to my buffer myself.

"SetMovieDrawingCompleteProc" function is called each time a frame has been rendered, I'd it to be called just BEFORE the rendering.. any idea ?

Regards,
Julien Meyer.
http://www.jadeware.org
Quote this message in a reply
Nibbie
Posts: 1
Joined: 2010.10
Post: #2
If I want to write into my D3D surface I need to lock it before writing then unlock.

That's why I wanted to know if it were possible to define a complete drawing function callback.

So I could define a D3D buffer and a drawing callback looking like :

Callback myDrawFunc()
{
LockSurface();
RenderFromQuickTimeToMyD3DSurface(); // QT drawing func
UnlockSurface();
}

Regards,
julien Meyer
Quote this message in a reply
Moderator
Posts: 3,574
Joined: 2003.06
Post: #3
First, it's unlikely you'll find much help here for anything related to Direct3D since this is a Macintosh programming site.

Second, Quicktime can be a real bear to work with, so I sympathize.

Third, have you looked at Apple's sample code?

This might give you some ideas:
http://developer.apple.com/samplecode/of...n.win.html

Here's another one but it's written entirely for the Mac. Still, it might be helpful:
http://developer.apple.com/samplecode/Op...Movie.html
Quote this message in a reply
Nibbie
Posts: 1
Joined: 2010.10
Post: #4
AnotherJake Wrote:First, it's unlikely you'll find much help here for anything related to Direct3D since this is a Macintosh programming site.

Second, Quicktime can be a real bear to work with, so I sympathize.

Third, have you looked at Apple's sample code?

This might give you some ideas:
http://developer.apple.com/samplecode/of...n.win.html

Here's another one but it's written entirely for the Mac. Still, it might be helpful:
http://developer.apple.com/samplecode/Op...Movie.html


Thanks,

It's not a D3D question here, I just want to define my own rendering function but i seems to be impossible. Thanks for the help though.

Julien
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  hwnd and glut ? callback pushmatrix 2 3,536 Jun 17, 2003 12:53 AM
Last Post: pushmatrix