python-ogre: video in a texture?

futnuh

22-03-2007 05:23:05

I'm after a means of playing prerecorded video in a texture. This DirectShow-based snippet looks pretty good, http://www.ogre3d.org/wiki/index.php/DirectShow_video_in_ogre_texture

So how do we incorporate this into python-ogre?

Cheers,
Darran.

andy

22-03-2007 06:12:05

Ideally make life really easy for the Python-Ogre team :) by creating a "package/bundle" that compiles,links and tests..

ie. Extract the text from the wiki into a set of real files, create a MSVC project file that compiles them and links with ogre. Include a test C++ program that shows it all working (include a short video clip with the demo)...

Once this is done send it through and we'll look to wrap it with Python-Ogre and include it as part of the release...

Cheers

Andy

futnuh

22-03-2007 06:47:51

One couldn't ask for a more reasonable response.

It's past midnight here in Calgary - I'll endeavour to do it first thing tomorrow. On the off-chance though that another reader has a couple of hours to spare in the interim, here's offering a US $100 bounty if you can fulfill Andy's very explicit instructions ;-)

Cheers,
Darran.

P.S. I'm serious. Only added conditions is that the project/code be Visual Studio .NET 2003 and Eihort compatible.

andy

22-03-2007 09:50:36

Looks like this should be simple -- OgreDshow code is compiled (to a lib), Py++ code generator done and creates code, code compiles -- just need to get rid of link errors...

Could be a nice addition to the Python-Ogre package..

andy

22-03-2007 13:02:38

Wrapping the video interface was reasonably simple -- just goes to show wat a GREAT job Roman did when he wrote Py++ -- if anyone out there plans to create Python wrappers for C++ code this is the ONLY way to go...

I created a new snapshot which is available [b] here [/b] which includes all the fixes to date as well as the video plugin - see Demo_Video.py

As always, DON'T use the snapshot version unless you are interested in "experimenting" -- I have NOT tested it to any great extent

Cheers
Andy

futnuh

22-03-2007 19:19:09

Andy, are you planning to add this to the python-ogre SVN in the near future? Even though it's experimental, if OgreDshow passes a couple of weeks of daily testing, I'd like to use it in our upcoming project.

Cheers,
Darran.

P.S. PM me with your Paypal details and I'll transfer the bounty ;-)

futnuh

02-04-2007 00:39:07

Andy, any chance you could make the project files and wrapper code for this available? I've inadvertently deleted the above snapshot from my drive and it's no longer on Source Forge ...

saladin

29-07-2007 14:33:15

There is an ugly hack of the Dshow driver in the SVN (you'll need to compile
it yourself) - and I'll add it to the next binary release -Andy from Google DeveGroup


Hey, just wondering how the python ogreDshow stuff is coming along. I think it'll be a neat add-on too. Why is the current one an ugly hack, did any one test it? BTW, how far are we from the next binary release, I can't wait. LOL.

andy

29-07-2007 16:15:22

The vidoe driver is in the current windows unstable snapshot on sourceforge if you want to try it out -- and it seems to be working fine so will be part of the official release.

Next binary will be a couple of weeks away as I'm thinking about including NxOgre/PhysX and perhaps Bullet collision support. Depends on how testing goes over the next week.

Cheers

Andy

saladin

30-07-2007 11:20:36

I got a python error trying to run Demo_Video.py from the snap shot.
self.dshowMovieTextureSystem.playMovie() seems to be the line causing the problem. If I comment it out, I get the texture effect demo scene with the middle panel being textureless.
below is the ogre LOG.
21:58:42: Creating resource group General
21:58:42: Creating resource group Internal
21:58:42: Creating resource group Autodetect
21:58:42: SceneManagerFactory for type 'DefaultSceneManager' registered.
21:58:42: Registering ResourceManager for type Material
21:58:42: Registering ResourceManager for type Mesh
21:58:42: Registering ResourceManager for type Skeleton
21:58:42: MovableObjectFactory for type 'ParticleSystem' registered.
21:58:42: OverlayElementFactory for type Panel registered.
21:58:42: OverlayElementFactory for type BorderPanel registered.
21:58:42: OverlayElementFactory for type TextArea registered.
21:58:42: Registering ResourceManager for type Font
21:58:42: ArchiveFactory for archive type FileSystem registered.
21:58:42: ArchiveFactory for archive type Zip registered.
21:58:42: FreeImage version: 3.9.2
21:58:42: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
21:58:42: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi
21:58:42: DDS codec registering
21:58:42: Registering ResourceManager for type HighLevelGpuProgram
21:58:42: Registering ResourceManager for type Compositor
21:58:42: MovableObjectFactory for type 'Entity' registered.
21:58:42: MovableObjectFactory for type 'Light' registered.
21:58:42: MovableObjectFactory for type 'BillboardSet' registered.
21:58:42: MovableObjectFactory for type 'ManualObject' registered.
21:58:42: MovableObjectFactory for type 'BillboardChain' registered.
21:58:42: MovableObjectFactory for type 'RibbonTrail' registered.
21:58:42: Loading library ../../plugins\RenderSystem_GL.dll
21:58:42: Installing plugin: GL RenderSystem
21:58:42: OpenGL Rendering Subsystem created.
21:58:42: Plugin successfully installed
21:58:42: Loading library ../../plugins\RenderSystem_Direct3D9.dll
21:58:42: Installing plugin: D3D9 RenderSystem
21:58:42: D3D9 : Direct3D9 Rendering Subsystem created.
21:58:42: D3D9: Driver Detection Starts
21:58:42: D3D9: Driver Detection Ends
21:58:42: Plugin successfully installed
21:58:42: Loading library ../../plugins\Plugin_ParticleFX.dll
21:58:42: Installing plugin: ParticleFX
21:58:42: Particle Emitter Type 'Point' registered
21:58:42: Particle Emitter Type 'Box' registered
21:58:42: Particle Emitter Type 'Ellipsoid' registered
21:58:42: Particle Emitter Type 'Cylinder' registered
21:58:42: Particle Emitter Type 'Ring' registered
21:58:42: Particle Emitter Type 'HollowEllipsoid' registered
21:58:42: Particle Affector Type 'LinearForce' registered
21:58:42: Particle Affector Type 'ColourFader' registered
21:58:42: Particle Affector Type 'ColourFader2' registered
21:58:42: Particle Affector Type 'ColourImage' registered
21:58:42: Particle Affector Type 'ColourInterpolator' registered
21:58:42: Particle Affector Type 'Scaler' registered
21:58:42: Particle Affector Type 'Rotator' registered
21:58:42: Particle Affector Type 'DirectionRandomiser' registered
21:58:42: Particle Affector Type 'DeflectorPlane' registered
21:58:42: Plugin successfully installed
21:58:42: Loading library ../../plugins\Plugin_BSPSceneManager.dll
21:58:42: Installing plugin: BSP Scene Manager
21:58:42: Plugin successfully installed
21:58:42: Loading library ../../plugins\Plugin_OctreeSceneManager.dll
21:58:42: Installing plugin: Octree & Terrain Scene Manager
21:58:42: Plugin successfully installed
21:58:42: Loading library ../../plugins\Plugin_CgProgramManager.dll
21:58:42: Installing plugin: Cg Program Manager
21:58:43: Plugin successfully installed
21:58:43: *-*-* OGRE Initialising
21:58:43: *-*-* Version 1.4.4 (Eihort)
21:58:43: Creating resource group Bootstrap
21:58:43: Added resource location '../media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
21:58:43: Added resource location '../media' of type 'FileSystem' to resource group 'General'
21:58:43: Added resource location '../media/fonts' of type 'FileSystem' to resource group 'General'
21:58:43: Added resource location '../media/sounds' of type 'FileSystem' to resource group 'General'
21:58:43: Added resource location '../media/Audio' of type 'FileSystem' to resource group 'General'
21:58:43: Added resource location '../media/materials/programs' of type 'FileSystem' to resource group 'General'
21:58:43: Added resource location '../media/materials/scripts' of type 'FileSystem' to resource group 'General'
21:58:43: Added resource location '../media/materials/textures' of type 'FileSystem' to resource group 'General'
21:58:43: Added resource location '../media/models' of type 'FileSystem' to resource group 'General'
21:58:43: Added resource location '../media/overlays' of type 'FileSystem' to resource group 'General'
21:58:43: Added resource location '../media/particle' of type 'FileSystem' to resource group 'General'
21:58:43: Added resource location '../media/gui' of type 'FileSystem' to resource group 'General'
21:58:43: Added resource location '../media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
21:58:43: Added resource location '../media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
21:58:43: Added resource location '../media/packs/dragon.zip' of type 'Zip' to resource group 'General'
21:58:43: Added resource location '../media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
21:58:43: Added resource location '../media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
21:58:43: Added resource location '../media/packs/skybox.zip' of type 'Zip' to resource group 'General'
21:58:43: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
21:58:43: D3D9 : RenderSystem Option: Anti aliasing = None
21:58:43: D3D9 : RenderSystem Option: Floating-point mode = Fastest
21:58:43: D3D9 : RenderSystem Option: Full Screen = No
21:58:43: D3D9 : RenderSystem Option: Rendering Device = NVIDIA GeForce 6800 GS
21:58:43: D3D9 : RenderSystem Option: VSync = No
21:58:43: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
21:58:44: CPU Identifier & Features
21:58:44: -------------------------
21:58:44: * CPU ID: AuthenticAMD: AMD Athlon(tm) 64 Processor 3000+
21:58:44: * SSE: yes
21:58:44: * SSE2: yes
21:58:44: * SSE3: yes
21:58:44: * MMX: yes
21:58:44: * MMXEXT: yes
21:58:44: * 3DNOW: yes
21:58:44: * 3DNOWEXT: yes
21:58:44: * CMOV: yes
21:58:44: * TSC: yes
21:58:44: * FPU: yes
21:58:44: * PRO: yes
21:58:44: * HT: no
21:58:44: -------------------------
21:58:44: D3D9 : Subsystem Initialising
21:58:44: D3D9RenderSystem::createRenderWindow "OGRE Render Window", 800x600 windowed miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 useNVPerfHUD=false vsync=false
21:58:44: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 800x600, 32bpp
21:58:44: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
21:58:44: Registering ResourceManager for type Texture
21:58:44: Registering ResourceManager for type GpuProgram
21:58:44: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
21:58:44: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
21:58:44: D3D9: Vertex texture format supported - PF_FLOAT32_R
21:58:44: RenderSystem capabilities
21:58:44: -------------------------
21:58:44: * Hardware generation of mipmaps: yes
21:58:44: * Texture blending: yes
21:58:44: * Anisotropic texture filtering: yes
21:58:44: * Dot product texture operation: yes
21:58:44: * Cube mapping: yes
21:58:44: * Hardware stencil buffer: yes
21:58:44: - Stencil depth: 8
21:58:44: - Two sided stencil support: yes
21:58:44: - Wrap stencil values: yes
21:58:44: * Hardware vertex / index buffers: yes
21:58:44: * Vertex programs: yes
21:58:44: - Max vertex program version: vs_3_0
21:58:44: * Fragment programs: yes
21:58:44: - Max fragment program version: ps_3_0
21:58:44: * Texture Compression: yes
21:58:44: - DXT: yes
21:58:44: - VTC: no
21:58:44: * Scissor Rectangle: yes
21:58:44: * Hardware Occlusion Query: yes
21:58:44: * User clip planes: yes
21:58:44: * VET_UBYTE4 vertex element type: yes
21:58:44: * Infinite far plane projection: yes
21:58:44: * Hardware render-to-texture: yes
21:58:44: * Floating point textures: yes
21:58:44: * Non-power-of-two textures: yes
21:58:44: * Volume textures: yes
21:58:44: * Multiple Render Targets: 4
21:58:44: * Point Sprites: yes
21:58:44: * Extended point parameters: yes
21:58:44: * Max Point Size: 8192
21:58:44: * Vertex texture fetch: yes
21:58:44: - Max vertex textures: 4
21:58:44: - Vertex textures shared: no
21:58:44: ***************************************
21:58:44: *** D3D9 : Subsystem Initialised OK ***
21:58:44: ***************************************
21:58:44: ResourceBackgroundQueue - threading disabled
21:58:44: Particle Renderer Type 'billboard' registered
21:58:44: SceneManagerFactory for type 'OctreeSceneManager' registered.
21:58:44: SceneManagerFactory for type 'TerrainSceneManager' registered.
21:58:44: SceneManagerFactory for type 'BspSceneManager' registered.
21:58:44: Registering ResourceManager for type BspLevel
21:58:44: Creating viewport on target 'OGRE Render Window', rendering from camera 'PlayerCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
21:58:44: Viewport for camera 'PlayerCam', actual dimensions L: 0 T: 0 W: 800 H: 600
21:58:44: Parsing scripts for resource group Autodetect
21:58:44: Finished parsing scripts for resource group Autodetect
21:58:44: Parsing scripts for resource group Bootstrap
21:58:44: Parsing script OgreCore.material
21:58:44: Parsing script OgreProfiler.material
21:58:44: Parsing script Ogre.fontdef
21:58:44: Parsing script OgreDebugPanel.overlay
21:58:44: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
21:58:44: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
21:58:44: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
21:58:44: Font BlueHighwayusing texture size 512x512
21:58:44: Info: Freetype returned null for character 127 in font BlueHighway
21:58:44: Info: Freetype returned null for character 128 in font BlueHighway
21:58:44: Info: Freetype returned null for character 129 in font BlueHighway
21:58:44: Info: Freetype returned null for character 130 in font BlueHighway
21:58:44: Info: Freetype returned null for character 131 in font BlueHighway
21:58:44: Info: Freetype returned null for character 132 in font BlueHighway
21:58:44: Info: Freetype returned null for character 133 in font BlueHighway
21:58:44: Info: Freetype returned null for character 134 in font BlueHighway
21:58:44: Info: Freetype returned null for character 135 in font BlueHighway
21:58:44: Info: Freetype returned null for character 136 in font BlueHighway
21:58:44: Info: Freetype returned null for character 137 in font BlueHighway
21:58:44: Info: Freetype returned null for character 138 in font BlueHighway
21:58:44: Info: Freetype returned null for character 139 in font BlueHighway
21:58:44: Info: Freetype returned null for character 140 in font BlueHighway
21:58:44: Info: Freetype returned null for character 141 in font BlueHighway
21:58:44: Info: Freetype returned null for character 142 in font BlueHighway
21:58:44: Info: Freetype returned null for character 143 in font BlueHighway
21:58:44: Info: Freetype returned null for character 144 in font BlueHighway
21:58:44: Info: Freetype returned null for character 145 in font BlueHighway
21:58:44: Info: Freetype returned null for character 146 in font BlueHighway
21:58:44: Info: Freetype returned null for character 147 in font BlueHighway
21:58:44: Info: Freetype returned null for character 148 in font BlueHighway
21:58:44: Info: Freetype returned null for character 149 in font BlueHighway
21:58:44: Info: Freetype returned null for character 150 in font BlueHighway
21:58:44: Info: Freetype returned null for character 151 in font BlueHighway
21:58:44: Info: Freetype returned null for character 152 in font BlueHighway
21:58:44: Info: Freetype returned null for character 153 in font BlueHighway
21:58:44: Info: Freetype returned null for character 154 in font BlueHighway
21:58:44: Info: Freetype returned null for character 155 in font BlueHighway
21:58:44: Info: Freetype returned null for character 156 in font BlueHighway
21:58:44: Info: Freetype returned null for character 157 in font BlueHighway
21:58:44: Info: Freetype returned null for character 158 in font BlueHighway
21:58:44: Info: Freetype returned null for character 159 in font BlueHighway
21:58:44: Info: Freetype returned null for character 160 in font BlueHighway
21:58:44: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
21:58:44: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
21:58:44: Parsing script OgreLoadingPanel.overlay
21:58:44: Finished parsing scripts for resource group Bootstrap
21:58:44: Parsing scripts for resource group General
21:58:44: Parsing script Examples.program
21:58:44: Parsing script StdQuad_vp.program
21:58:44: Parsing script BlackAndWhite.material
21:58:44: Parsing script Bloom.material
21:58:44: Parsing script Civic.material
21:58:44: Parsing script CustomShadows.material
21:58:44: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowcastervp.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:44: High-level program CustomShadows/ShadowCasterVP/Cg encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowcastervp.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:44: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowcasterfp.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:44: High-level program CustomShadows/ShadowCasterFP/Cg encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowcasterfp.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:44: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowcastervp.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:44: High-level program CustomShadows/ShadowCasterVP/HLSL encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowcastervp.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:44: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowcasterfp.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:44: High-level program CustomShadows/ShadowCasterFP/HLSL encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowcasterfp.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:44: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowreceivervp.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:44: High-level program CustomShadows/ShadowReceiverVP/Cg encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowreceivervp.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:44: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowreceiverfp.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:45: High-level program CustomShadows/ShadowReceiverFP/Cg encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowreceiverfp.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:45: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowreceivervp.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:45: High-level program CustomShadows/ShadowReceiverVP/HLSL encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowreceivervp.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:45: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowreceiverfp.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:45: High-level program CustomShadows/ShadowReceiverFP/HLSL encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowreceiverfp.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:45: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource SimpleShaderVP.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:45: High-level program CustomShadows/SimpleShaderVP/Cg encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource SimpleShaderVP.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:45: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource SimpleShaderVP.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:45: High-level program CustomShadows/SimpleShaderVP/HLSL encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource SimpleShaderVP.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:45: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource SimpleShaderFP.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:45: High-level program CustomShadows/SimpleShaderFP/HLSL encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource SimpleShaderFP.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:45: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource SimpleShaderFP.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:45: High-level program CustomShadows/SimpleShaderFP/Cg encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource SimpleShaderFP.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:45: Parsing script DepthShadowmap.material
21:58:45: Parsing script DOF.material
21:58:45: Parsing script Embossed.material
21:58:45: Parsing script Example-DynTex.material
21:58:45: Parsing script Example-Water.material
21:58:45: Parsing script Example.material
21:58:45: Parsing script Examples-Advanced.material
21:58:45: Parsing script facial.material
21:58:45: Parsing script Glass.material
21:58:45: Parsing script hdr.material
21:58:45: Parsing script HeatVision.material
21:58:45: Parsing script Hurt.material
21:58:45: Parsing script instancing.material
21:58:46: Parsing script Invert.material
21:58:46: Parsing script Laplace.material
21:58:46: Parsing script MotionBlur.material
21:58:46: Parsing script Ocean.material
21:58:46: Parsing script OffsetMapping.material
21:58:46: Parsing script Ogre.material
21:58:46: Parsing script OldMovie.material
21:58:46: Parsing script OldTV.material
21:58:46: Parsing script PlaneOptimalShadows.material
21:58:46: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowcastervp.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:46: High-level program PlaneOptimalShadows/ShadowCasterVP/Cg encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowcastervp.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:46: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowcasterfp.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:46: High-level program PlaneOptimalShadows/ShadowCasterFP/Cg encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowcasterfp.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:46: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowcastervp.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:46: High-level program PlaneOptimalShadows/ShadowCasterVP/HLSL encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowcastervp.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:46: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowcasterfp.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:46: High-level program PlaneOptimalShadows/ShadowCasterFP/HLSL encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowcasterfp.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:46: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowreceivervp.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:46: High-level program PlaneOptimalShadows/ShadowReceiverVP/Cg encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowreceivervp.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:46: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowreceiverfp.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:46: High-level program PlaneOptimalShadows/ShadowReceiverFP/Cg encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowreceiverfp.cg in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:46: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowreceivervp.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:46: High-level program PlaneOptimalShadows/ShadowReceiverVP/HLSL encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowreceivervp.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:46: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowreceiverfp.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:46: High-level program PlaneOptimalShadows/ShadowReceiverFP/HLSL encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource customshadowreceiverfp.hlsl in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 603)
21:58:46: Parsing script Posterize.material
21:58:46: Parsing script RZR-002.material
21:58:46: Parsing script Scene.material
21:58:46: Parsing script SharpenEdges.material
21:58:46: Parsing script smoke.material
21:58:46: Parsing script Tiling.material
21:58:46: Parsing script Tower.material
21:58:46: Parsing script VarianceShadowmap.material
21:58:46: Parsing script zombie.material
21:58:46: Parsing script RomanBath.material
21:58:46: Parsing script Examples.compositor
21:58:46: Parsing script sample.fontdef
21:58:46: Parsing script Arial.fontdef
21:58:46: Parsing script emitted_emitter.particle
21:58:46: Parsing script Example-Water.particle
21:58:46: Parsing script Example.particle
21:58:46: Parsing script smoke.particle
21:58:46: Parsing script Compositor.overlay
21:58:46: Parsing script DP3.overlay
21:58:46: Parsing script Example-CubeMapping.overlay
21:58:46: Parsing script Example-DynTex.overlay
21:58:46: Parsing script Example-Water.overlay
21:58:46: Parsing script Shadows.overlay
21:58:46: Finished parsing scripts for resource group General
21:58:46: Parsing scripts for resource group Internal
21:58:46: Finished parsing scripts for resource group Internal
21:58:46: [DSHOW] Creating texture with dimensions 304x240.
21:58:46: [DSHOW] Loading movie named 'c:/winxp/clock.avi'.
21:58:47: [DSHOW] -> This movie has dimensions: 321x321.
21:58:47: Texture: BumpyMetal.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
21:58:47: Mesh: Loading knot.mesh.
21:58:47: Texture: MtlPlat2.jpg: Loading 1 faces(PF_R8G8B8,780x511x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,780x511x1.
21:58:47: Texture: Water02.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
21:58:47: Texture: rockwall.tga: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
21:58:47: WARNING: Texture instance 'DirectShowManualTexture' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
21:58:47: Texture: clouds.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.

andy

30-07-2007 12:36:33

What is the error you get ?? Something on the command line or a windows crash message?

Cheers
Andy

saladin

31-07-2007 11:01:29

What is the error you get ?? Something on the command line or a windows crash message?

Cheers
Andy



Sorry I should have provided more detail. When I try to open c:\winxp\clock.avi, I can actually here the sound of the clock ticking for 2 seconds before a windows crash dialog, the ugliest kind :("python.exe has encountered a problem and needs to close. We are sorry for the inconvenience." jumps out. During which time, the clock ticking sound from the video continues in the background.

andy

01-08-2007 00:21:06

I've done further testing and it clearly needs work -- on my system it doesn't work at all in full screen mode so perhaps this related to your problem

Have you tried running it in windowed mode, and/or lower resolutoin lower colour?

Cheers
Andy

saladin

01-08-2007 00:38:12

I've done further testing and it clearly needs work -- on my system it doesn't work at all in full screen mode so perhaps this related to your problem

Have you tried running it in windowed mode, and/or lower resolutoin lower colour?

Cheers
Andy


I ran it in both modes. Does it look like it'll be available for the next official release? We sorta need it for a gallery presentation. Has anyone tried to wrap the VideoPlugin or FFmpeg plugin? (extremely scared to go back to C++ :P)

andy

02-08-2007 23:23:42

Yes, I intend to resolve this for the next binary release

Cheers
Andy