Acknowledgements & Little trouble with the OgreBullet De

DJuego

03-12-2007 19:37:36

Greetings! I am a Spanish novice in the graphic programming and I am delighted with the OGRE/BULLET/BOX2D existence. It is marvellous that this so fantastic tools be accessible for the free open source community.

Now I am in a 'formative' period and your addon OgreBullet has gained my attention mightily. However I have problems executing the demo included in-box. No problem in building but...

In order that it is executed successfully I have had to comment the lines (not seem critical for the OgreBullet physic skills though he!):

FILE: OgreBulletListener:

String CUSTOM_CASTER_MATERIAL("Ogre/DepthShadowmap/Caster/Float");
String CUSTOM_RECEIVER_MATERIAL("Ogre/DepthShadowmap/Receiver/Float");
mSceneMgr->setShadowTextureSelfShadow(true);
mSceneMgr->setShadowTextureCasterMaterial(CUSTOM_CASTER_MATERIAL);
mSceneMgr->setShadowTextureReceiverMaterial(CUSTOM_RECEIVER_MATERIAL + "/PCF");

My OgreLog (without comment):

[...]
23:40:04: Error in material Examples/BumpMapping/MultiLightSpecularTemplate at line 81 of Base.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTexture has not been defined.
23:40:04: Error in material Examples/BumpMapping/MultiLightSpecularTemplate at line 102 of Base.material: Invalid vertex_program_ref entry - vertex program Examples/BumpMapVPSpecular has not been defined.
23:40:04: Error in material Examples/BumpMapping/MultiLightSpecularTemplate at line 110 of Base.material: Invalid fragment_program_ref entry - fragment program Examples/BumpMapFPSpecular has not been defined.
23:40:05: Error in material Examples/BumpMapping/MultiLightSpecularTemplate at line 145 of Base.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTexture has not been defined.
23:40:05: Error in material Examples/BumpMapping/MultiLightSpecularTemplate at line 175 of Base.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTexture has not been defined.
23:40:05: Error in material Examples/BumpMapping/MultiLightSpecularTemplate at line 196 of Base.material: Invalid vertex_program_ref entry - vertex program Examples/BumpMapVP has not been defined.
23:40:05: Error in material Examples/BumpMapping/MultiLightSpecularTemplate at line 226 of Base.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTexture has not been defined.
23:40:05: Parsing script chassis.material
23:40:05: Parsing script target.material
23:40:05: Parsing script wheel.material
23:40:05: Parsing script WT.material
23:40:05: Finished parsing scripts for resource group General
23:40:05: Initialising resource group Internal
23:40:05: Parsing scripts for resource group Internal
23:40:05: Finished parsing scripts for resource group Internal
23:40:05: Initialising resource group OgreBullet
23:40:05: Parsing scripts for resource group OgreBullet
23:40:05: Finished parsing scripts for resource group OgreBullet
23:40:05: Creating viewport on target 'OGRE Render Window', rendering from camera 'Cam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
23:40:05: D3D9 : ***** Dimensions altered by the render system
23:40:05: D3D9 : ***** Source image dimensions : 45x45
23:40:05: D3D9 : ***** Texture dimensions : 64x64
23:40:05: Texture: target.png: Loading 1 faces(PF_A8R8G8B8,45x45x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
23:40:05: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name bg.mp not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
23:40:05: Texture: bgui.pointer.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
23:40:05: OGRE EXCEPTION(5:ItemIdentityException): Cannot locate material called 'Ogre/DepthShadowmap/Caster/Float' in SceneManager::setShadowTextureCasterMaterial at ..\src\OgreSceneManager.cpp (line 5285)
23:40:42: PCZone Factory Type 'ZoneType_Octree' unregistered
23:40:42: PCZone Factory Type 'ZoneType_Terrain' unregistered
23:40:42: Unregistering ResourceManager for type BspLevel
23:40:42: *-*-* OGRE Shutdown
[...]

I am very newbie but I suspect that it is due to any limitation of my old graphic card. In any case the demo doesn't run with OpenGL render.Direct3D perfect!

However It seems a trouble with paths too. Could you give me your opinion? Thanks!
On the other hand, I think i can do without that capacity. ;}

Sinbad and Ogre Team, Erwin Coumans, Erin Catto... Congratulations and Thank you very much!
A special gratitude to Turan and Chaster to keep this addon alive.

DJuego