예제 #1
0
DLLEXPORT void initializeExtension( CExtension &extension )
{
	extension.Requires( "ieCore" );
	extension.RegisterTranslator(
		"ieProceduralHolder",
		"",
		ProceduralHolderTranslator::creator,
		ProceduralHolderTranslator::nodeInitialiser
	);
}
DLLEXPORT void initializeExtension( CExtension &extension )
{
    const char * pluginVersion = "1.2";

    MString info = "MTOA gpuCache Translator v";
    info += pluginVersion;
    info += " using ";
    info += Alembic::AbcCoreAbstract::GetLibraryVersion().c_str();
    MGlobal::displayInfo(info);

    extension.Requires( "gpuCache" );
    extension.RegisterTranslator(
            "gpuCache",
            "",
            BB_gpuCacheTranslator::creator,
            BB_gpuCacheTranslator::nodeInitialiser
    );
}