Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
Alright here is my dilemma. This project I am working on is for school. Right now I have a managed Direct3D application (using their Framework) with the CustomUI's interface. What I need to do is when a button is clicked, clear the screen then play a AVI in the window. As we all know DirectShow is a piece of crap. I would like to use the AudioVideoPlayBack, but that seems to only work in Windows.Forms. If possible I don't want to have to use forms. I saw a bit of information on rendering it with a texture, but from what I see that code is pretty broken and a pain the *** to use. So I am in the position where I am not sure where to head. An idea would be if I could embedded a Windows.Form.Panel in my Direct3D screen some how and then render the video in there, any feedback on if that is possible would be great. If anyone has any ideas or have done something similar and can provide feedback, that would be great. Thanks.
Posted

I believe with 3DS Max you can apply an .AVI as a texture to a primitive (or anything else for that matter) and then load the mesh, and move the camera appropriately.

 

If you can't do that, I'm unsure as to how to approach this issue from another direction.

~Nate�

___________________________________________

Please use the [vb]/[cs] tags on posted code.

Please post solutions you find somewhere else.

Follow me on Twitter here.

Posted
I believe with 3DS Max you can apply an .AVI as a texture to a primitive (or anything else for that matter) and then load the mesh, and move the camera appropriately.

 

If you can't do that, I'm unsure as to how to approach this issue from another direction.

 

That is a very interesting thought. I might have to investigate that. Now would the video play right when you load the mesh and render it I assume?

Posted
I believe so; however, seeing that I have not done this myself, I cannot say for sure.

~Nate�

___________________________________________

Please use the [vb]/[cs] tags on posted code.

Please post solutions you find somewhere else.

Follow me on Twitter here.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...