_____
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
|