Re: [DirectPython] video texture
Status: Inactive
Brought to you by:
hsalo
From: Heikki S. <ho...@gm...> - 2007-04-15 18:15:48
|
_____ From: dir...@li... [mailto:dir...@li...] On Behalf Of elb Sent: 12. huhtikuuta 2007 13:08 To: dir...@li... Subject: [DirectPython] video texture Hello, Is there any way to use video texture in DirectPython? I would like to play some movie file on StaticMesh object, not on Window. Media-object has a getScreenshot() method, but it is usually too slow and takes too much resources for real-time rendering. It is possibe to render directly to a D3D surface or texture, but it is not exposed in DirectPython. If you have some Windows or DirectShow programming experience, you can try to implement it yourself. There is a sample (Texture3D9) in Windows Platform SDK which shows how to do it efficiently. It has some special resource requirements, so adding it to DirectPython can be tricky. -- Heikki Salo |