Mystical resource group

Darkmae

24-06-2010 13:43:30

Hi guys
I have a question about an error "cannot find a group named OgreBulletCollisions". It appears in both demo and tutorial applications at executing. Of course I can create empty resgroup, and at least a tutorial works fine, but why do i need an empty resgroup and how can I get rid of it? I've tried to browse ogrebullet sources to find the code to fix, but got lost.
By the way in this topic viewtopic.php?f=12&t=12130 zeko tries to solve the same problem.

So to summarize:
1 - Does this resgroup has a real purpose?
2 - If not - how to fix it?

Fish

26-06-2010 16:20:08

The resource group "OgreBullet" is created to load resources that are used by the demo application. As zeko pointed out, there needs to be some changes in order for the demo to work with Ogre 1.7. Are you sure it's looking for a "OgreBulletCollisions" resource group? It's been awhile since I've played with the demo.

- Fish

Darkmae

29-06-2010 07:59:09

Yes, I'm sure. And again - I am not running demos, I'm talking about tutorial app (http://www.ogre3d.org/tikiwiki/OgreBullet+Tutorial+2&structure=Libraries)
If I do this, everything works:

ExampleApplication::setupResources();
ResourceGroupManager *rsm = ResourceGroupManager::getSingletonPtr();
rsm->createResourceGroup("OgreBulletCollisions");


And as you see - it's just an empty resgroup. The tutorial app do not use any special resources so I do not change a resource.cfg using standard Ogre's file wit OgreCore.zip added.

If I comment this string - //rsm->createResourceGroup("OgreBulletCollisions");
I get "cannot find a group named OgreBulletCollisions". So it demands this group to exist. That's freaky.

Fish

01-07-2010 14:00:46

The resource group is used in DebugLines::DebugLines().

The issue is fixed in SVN. See rev 2929.

-Fish