deshan
26-03-2011 18:29:56
Hi
I have tried to load a hightfield with using xhf in buggyswires but haven't succeeded.
In bloddymess this was done as following.
Here how to?
Tried and failed with following
Any help?
Thanks
~deshan
I have tried to load a hightfield with using xhf in buggyswires but haven't succeeded.
In bloddymess this was done as following.
NxOgre::HeightField* hf = NxOgre::HeightFieldManager::getSingleton()->load("media:hf.xhf");
NxOgre::HeightFieldGeometry* hfg = new NxOgre::HeightFieldGeometry(hf, Vector3(1500,100,1500));
mScene->createSceneGeometry(hfg);
Here how to?
Tried and failed with following
NxOgre::HeightField* hf = NxOgre::HeightFieldManager::getSingleton()->load(NxOgre::Path("ogre://hf.xhf"));
NxOgre::HeightFieldGeometryDescription d;
d.mHeightField = hf;
currentScene->createSceneGeometry(d);
Any help?
Thanks
~deshan