Direct show+3d
Blitz3D Forums/Blitz3D Programming/Direct show+3d
| ||
Hello, I have an issue. I am using this line of code in two programs It works fine in one project where the only objects are a cam and two sprites(tried a cube to see if meshes were the problem), but brings a runtime by unsuccessfully re-loading in another. The second project is more complicated with MD2s(blah), meshes,custom types etc. I can't figure it out.Debugger says video=0 the next time I mention it after this line. Last edited 2011 Last edited 2011 Last edited 2011 |
| ||
Maybe you are not in the same DIrectory anymore. (Any ChangeDir in use?) And maybe also try this: If MoviePlaying(video)=0 then closemovie video video=OpenMovie("common\sfx\videos\Vid_"+loc+".mpg") endif Also try to find out if there is a memory leak, caused by a movie that is opened multiple times. |
| ||
YAY! It was a ChangeDir. Why are you so awesome, JFK? I need to name a hero character after you or something. Thank you very much! Now I can watch pre-rendered videos... EDIT: Yet another annoying throwback to when I modded mark's castle demo to be a TPS.They keep popping up. Last edited 2011 |
| ||
Good to see it works, but... don't exaggerate this, I didn't do anything. :-) |