Support for Shoggoth?

frier

25-08-2007 06:46:20

Just wondering if Shoggoth the development branch works with NxOgre? looking at converting over because i saw this new GUI library that needs the Shoggoth update i assume.

http://www.ogre3d.org/phpBB2/viewtopic.php?t=32929&postdays=0&postorder=asc&start=0

frier

26-08-2007 12:06:25

Ill take that as a no ;).. but the looks on other forum posts on shoggoth its a gray area with its compatibility with 0.9 i can only assume..

ill have to get shoggoth and try it myself if i get the time.

betajaen

26-08-2007 22:36:47

One line was needed for the library and nothing for Cake2:

NxOgre (NxOgre 0.9-34.Debug) Started, working with:

- PhysX => 2.7.2
- Ogre => 1.5.0 'Shoggoth'
- Platform => Windows Debug


I'd say it works fine.

frier

27-08-2007 10:48:04

Oh sweet you beat one of my team members too it betajaen. ill quickly convert it and see how we go.

BTW Cake2 sounds HOT. Too bad its coming out November 1st if i read correctly. our projects due just a bit after that.

Thanks again betajaen, ill be back.. having little issues with my vehicle. :roll:

-FrieR

betajaen

27-08-2007 10:57:52

Cake2 may come out sooner, there is a condition that it must be out before I can all the 0.9 version 1.0.

This is the Shoggoth fix:

NxOgreError.cpp, line 148-ish

ErrorReport Error::getNewReport() {
ErrorReport r;

#if (OGRE_VERSION_MINOR >= 5)
r.frame = Ogre::Root::getSingletonPtr()->getNextFrameNumber() - 1;
#else
r.frame = Ogre::Root::getSingletonPtr()->getCurrentFrameNumber();
#endif

r.second = mDriver->getTime();
return r;
}

frier

27-08-2007 17:20:13

Yeah Cake2 will help me alot! with the sceneloading serialisation. so i dont have to write it.

Back on track:

i got an error with setNormaliseNormals

if (params.nodescale != Ogre::Vector3(0,0,0)) {
mNode->scale(params.nodescale);
//mEntity->setNormaliseNormals(true); i guess not needed?
}


In the head cvs, explicitly calling setNormaliseNormals is no longer needed. If your scale isn't 1, Ogre will do the normalise automatically.

so i commented it out. And it worked and compiled and NxCake never tasted better.

http://www.infernal-chaos.com/FrieR/crawlersCar.JPG

yes i know the wheels are cubes, and i drink Pepsi out of a mcdonalds cup too.

still working on how to show text on the screen that updates itself to show the speed.

thanks again betajaen!

-FrieR