Eihort now executing under VS 2005!!!

GregH

08-04-2006 05:03:25

Hi Folks,

I just cannot contain myself :shock:

After two days of CVSing, changing paths (aka 'Tweeking'), building, rebuilding, unredebuilding and nail biting, I now have this environment running, complete with sound !!!

OGRE SDK 1.3.0 (aka Eihort) - locally built.
OgreDotNet 1.0.2* - locally built.
DirectX Feb 06

A small amount of code had to be changed relating to the Settings.Cfg file (the structure of which has changed radically, and it's case and space sensitive). The SceneManager is created differently now (as stated in the Dagon Notes - thanks Rastaman).

Everything else animates and sounds perfectly !!!

So my fears of getting ODN running under VS 2005 are now gone. What a bloody relief !!!

Now I have only one (1) thing to ask: Can someone please tell me how to use an AnimationStateSet Iterator to retrieve the animations in a mesh entity :?:

...then my seagull will start to fly again !!!

Also - specific thanks to DigitalCyborg, Rastaman, EaglyEye, Robert Isele, AlbertS, and ElectricBliss for helping me get a truckload of small-pizza-widths to my goal. What a Team !!!

Cheers,

GregH.

EagleEye

08-04-2006 06:23:26

Glad we could help! :)

the_cX

08-04-2006 08:06:30

this is c++, its trivial to convert the syntax to c#, although if you need help doing it then post about it. however this is depending on whether or not rastaman has wrapped all the new animation stuff that changed in ogre 1.2.

i would have checked to see if he did, but im still using azathoth for my OgreDotNet project. i dont really need any of the features that came with dagon for my project, so i havent upgraded and im not planning on it.

anyways, i also have a c++ project using dagon, and heres the code:


// get the whole set of animations for this mesh
Ogre::AnimationStateSet * animations = ogreMesh->getAllAnimationStates( );

// make sure its not empty
if( animations )
{
// get an iterator of this animation set
Ogre::AnimationStateIterator animsIt = animations->getAnimationStateIterator( );

// loop through each animation and add it to the listbox
while( animsIt.hasMoreElements() )
{
// get the name of the animation
title = animsIt.getNext()->getAnimationName( );

// add this animation to the listbox
this->mCheckListBoxAvailAnims->Items->Add( DotNetString(title) );
}
}

GregH

08-04-2006 13:46:56

Hi the_cX,

Thank you for this tip...and yes it doesn't matter if it's in C++, as I can usually suss the translation.

Cheers,

GregH.