Object Viewer problem
Added by wangxuan2730 almost 4 years ago
Using the tool, you can open some files(*.shape) at the same time, So these shapes can combine an character(or a player)!
I want to know how the tool(object viewer) do it? I have read the code , But I can't understand it clearly!
Replies (4)
RE: Object Viewer problem - Added by molator almost 4 years ago
You can open shapes with OVQT.
But you will combining those shapes with creature sheets.
You will create/edit those sheets with GE plugin or edit by hand.
RE: Object Viewer problem - Added by sfb almost 4 years ago
wangxuan2730,
Watch this video and see if this helps.
http://www.youtube.com/watch?v=nrreya5BlKo
What Molator is describing is how you actually combine the parts within the Ryzom Core game data. The video above demonstrates how to preview characters in Object Viewer.
Thanks,
sfb
/s
RE: Object Viewer problem - Added by wangxuan2730 almost 4 years ago
Now I can't open the website sfb gave.
I know the OV can preview the character and I have tried it , Now I'm going to combine the character Just on NeL, and I want to do it as the OV.
But I don't know how to do it. Here is the code: // the shapes in the config file which is the character.
vector<string> meshFileName;
for (int i = 0; i < ConfigFile->getVar("shapes").size(); ++i)
{
meshFileName.push_back (ConfigFile->getVar("shapes").asString(i));
}
// the main loop
for (int j = 0; j < meshFileName.size(); ++j)
{
// Get the file name
const char *fileName = meshFileName[j].c_str();
ShapeBank->load (fileName);
// add the shape to the scene
entity.Instance = Scene->createInstance (fileName);
}
entity.Skeleton = Scene->createSkeleton ("ZO_HOF_skel.skel");
//bind the skeleton to the instance
entity.Skeleton.bindSkin (entity.Instance);
//allow the skeleton to cast shadows
entity.Skeleton.enableCastShadowMap (true);
Like this ,Memory errors!
RE: Object Viewer problem - Added by wangxuan2730 almost 4 years ago
sfb!!!
Oh no! I can't open the website, could you tell me the method to do it? This is my own project just on NeL.
I want to know how to combine the character with the NeL engine. Or just the how to do it, or send me the video to my E-mail:[email protected]
Thank you!
(1-4/4)