WhiteCoreSim / WhiteCore-Dev

WhiteCoreSim - Software to create your own virtual world
BSD 3-Clause "New" or "Revised" License
26 stars 34 forks source link

Bullet Sim not found #162

Closed BogusCurry closed 8 years ago

BogusCurry commented 9 years ago

Hello ;D

I have enabled the Bullet Sim Engine in the physic.ini, after the start from my grid comes ...

Okt 08 07:00:05 - [Physics]: Couldn't find physics engine: BulletSim Okt 08 07:00:05 - [APPLICATION]: APPLICATION EXCEPTION DETECTED Exception: System.ArgumentException: couldn't find physics engine: BulletSim at WhiteCore.Modules.Startup.PhysicsPluginManager.GetPhysicsScene (System.String physEngineName, System.String meshEngineName, IConfigSource config, IScene scene) [0x00000] in :0 at WhiteCore.Modules.Startup.PhysicsInitializer.Initialise (IScene scene, IConfigSource source, ISimulationBase simBase) [0x00000] in :0 at WhiteCore.Region.SceneManager.StartModules (IScene scene) [0x00000] in :0 at WhiteCore.Region.SceneManager.StartRegion (ISimulationDataStore simData, WhiteCore.Framework.SceneInfo.RegionInfo regionInfo) [0x00000] in :0 at WhiteCore.Region.SceneManager.StartRegions (System.Boolean& newRegion) [0x00000] in :0 at WhiteCore.Region.SceneManager.PostStart () [0x00000] in :0 at WhiteCore.Simulation.Base.SimulationBase.StartModules () [0x00000] in :0 at WhiteCore.Simulation.Base.SimulationBase.Startup () [0x00000] in :0 at WhiteCore.Simulation.Base.BaseApplication.Startup (IConfigSource originalConfigSource, IConfigSource configSource, ISimulationBase simBase, System.String[] cmdParameters) [0x00000] in :0 Application is terminating: False

Is the engine not in WCS ?

Greetings

Bogus

greythane commented 9 years ago

Hi Bogus, This is certainly unusual as the BulletSim physics is certainly part of the distribution. However, the engine is broken in the current version even though it should load etc. You will need to grab the Dev version to check out the changes that we are making to upgrade and get Bullet working correctly. From all reports from what I have seen and a couple of testers have observed, the upgrades are working really well with fast and smooth operation. There are still a couple of issues still to be sorted out though.

I would suggest holding off for a little while as I have another set of updates from |-Fine-|, who is working on these updates, to incorporate into the Dev code. This should be done by the weekend.

BogusCurry commented 9 years ago

Hi greythane ;D I had grab the new version from github ;D Ok, I can wait ..

fine77 commented 9 years ago

couldn't find engine means you have to copy 2 files out of the source tree:

  1. "$WhiteCore_installation_directory/WhiteCore/Physics/BulletSPlugin/bin/WhiteCore.Physics.BulletSPlugin.dll" and the *.pdb file to "$WhiteCore_installation_directory/WhiteCoreSim/bin/Physics/"
  2. "$WhiteCore_installation_directory/WhiteCore/Physics/ConvexDecompositionDotNet/bin/WhiteCore.Physics.ConvexDecompositionDotNet.dll" and the *.pdb file to "$WhiteCore_installation_directory/WhiteCoreSim/bin/Physics/"

Where $WhiteCore_installation_directory is the path to your WhiteCore installation.

have fun

BogusCurry commented 9 years ago

ahh ok .. thanks fine77 ;D

greythane commented 9 years ago

BogusCurry, I have just implemented and pushed through a heap of updates for BulletSim that Fine did for us. These correct many problems with Bullet physics and some basic checks show very pleasing results in frame rate etc. If you are able, could you grab the latest Dev (master) code and give Bulet a try again and see how it performs. G

fine77 commented 9 years ago

great!! its there now. i saw it now

BogusCurry commented 9 years ago

Thanks greythane ;D I will test this ;D

BogusCurry commented 9 years ago

Ok, I have clone the last dev version from repo, the problem is not fix. I have mono 4.0.5.1 under Linux Mint 17.2. So I not know, make what is wrong

Here the message .. Nov 13 06:22:40 - [SceneManager]: Starting region "Chaos" at @ 1000,1000 Nov 13 06:22:40 - [Physics]: Couldn't find physics engine: BulletSim Nov 13 06:22:40 - [APPLICATION]: APPLICATION EXCEPTION DETECTED Exception: System.ArgumentException: couldn't find physics engine: BulletSim at WhiteCore.Modules.Startup.PhysicsPluginManager.GetPhysicsScene (System.String physEngineName, System.String meshEngineName, IConfigSource config, IScene scene) [0x00000] in :0 at WhiteCore.Modules.Startup.PhysicsInitializer.Initialise (IScene scene, IConfigSource source, ISimulationBase simBase) [0x00000] in :0 at WhiteCore.Region.SceneManager.StartModules (IScene scene) [0x00000] in :0 at WhiteCore.Region.SceneManager.StartRegion (ISimulationDataStore simData, WhiteCore.Framework.SceneInfo.RegionInfo regionInfo) [0x00000] in :0 at WhiteCore.Region.SceneManager.StartRegions (System.Boolean& newRegion) [0x00000] in :0 at WhiteCore.Region.SceneManager.PostStart () [0x00000] in :0 at WhiteCore.Simulation.Base.SimulationBase.StartModules () [0x00000] in :0 at WhiteCore.Simulation.Base.SimulationBase.Startup () [0x00000] in :0 at WhiteCore.Simulation.Base.BaseApplication.Startup (IConfigSource originalConfigSource, IConfigSource configSource, ISimulationBase simBase, System.String[] cmdParameters) [0x00000] in :0 Application is terminating: False

fly-man- commented 9 years ago

Be sure to follow the instructions from @fine77 to get Bullet setup

emperorstarfinder commented 9 years ago

Try downloading a zip or tar gz copy of the repository just in case your not getting some of the necessary files in the bin folder. Sometimes files that are needed will not get pulled through git.

greythane commented 9 years ago

Hmmm.. I will recheck the prebuild stuff to make sure that the dlls are being compiled to the correct directory.

greythane commented 9 years ago

Bogus, I have pushed through some corrections to the prebuild configurations that will correct the output (save) paths for the missing Bullet dll's.

On *nix you should be able to update and then run ' ./autobuild.sh ' and all should be 'good to go'

BogusCurry commented 8 years ago

Hello ;D Ok, bug is fixed ;D We can closed this ;D