{
return err;
Fb.OpenInstance( "RootNode", -1, useless );
Fb.OpenInstance( "Cube", -1, useless );
Fb.WriteMesh( CubeMesh );
Fb.CloseLastInstance();
Fb.OpenInstance( "Cylinder", -1, useless );
Fb.WriteMesh( CylinderMesh );
Fb.CloseLastInstance();
Fb.CloseLastInstance();
}
{
return err;
Fb.OpenInstance( "RootNode", -1, useless );
int i;
for( i = 0; i < 10; i++ )
{
Fb.OpenInstance( "Cube", 1, wasreinstancied, cubetransfo );
if( !wasreinstancied )
{
Fb.WriteMesh( CubeMesh );
}
Fb.CloseLastInstance();
}
Fb.CloseLastInstance();
}
int
{
cout << endl << "----------------------------------------------" << endl;
outputDirectory = inResultDirectory + L"dtk/Fbx/";
cout << "Fbx Write start" << endl;
fileName = outputDirectory + L"twomeshes.fbx";
cout <<
"=> " << fileName.
c_str() << endl;
else
fileName = outputDirectory + L"twomeshes.fbx";
cout <<
"=> " << fileName.
c_str() << endl;
else
cout << "Fbx Write end" << endl;
return err;
}