Esempio n. 1
0
///////////////////////////////////////////////////////////////
// XSI LOAD / UNLOAD PLUGIN
///////////////////////////////////////////////////////////////
XSIPLUGINCALLBACK CStatus XSILoadPlugin( PluginRegistrar& in_reg )
{
   in_reg.PutAuthor(L"Helge Mathee, Jeremie Passerin");
   in_reg.PutName(L"sn_RigSolvers");
   in_reg.PutEmail(L"*****@*****.**");
   in_reg.PutURL(L"http://opensource.studionestbarcelona.com");
   in_reg.PutVersion(2,0);

   // register all of the solvers

   // sn_spring_op.cpp
   in_reg.RegisterOperator(L"sn_xfspring_op");
   in_reg.RegisterOperator(L"sn_rotspring_op");

   // sn_ikfk2bone_op.cpp
   in_reg.RegisterOperator(L"sn_ik2bone_op");
   in_reg.RegisterOperator(L"sn_ikfk2bone_op");
   in_reg.RegisterOperator(L"sn_interLocalOri_op");

   // sn_stretchchain_op.cpp
   in_reg.RegisterOperator(L"sn_stretchChain_op");
   in_reg.RegisterOperator(L"sn_stretchChainMulti_op");

   // sn_splinekine_op.cpp
   in_reg.RegisterOperator(L"sn_splinekine_op");
   in_reg.RegisterOperator(L"sn_rollsplinekine_op");

   // sn_curveslide_op.cpp
   in_reg.RegisterOperator(L"sn_curveslide_op");
   in_reg.RegisterOperator(L"sn_curveslide2_op");

   // sn_null2curve_op.cpp
   in_reg.RegisterOperator(L"sn_null2curve_op");
   in_reg.RegisterOperator(L"sn_null2surface_op");

   // sn_squashstretch_op.cpp
   in_reg.RegisterOperator(L"sn_squashstretch_op");
   in_reg.RegisterOperator(L"sn_squashstretch2_op");
   in_reg.RegisterOperator(L"sn_curvelength_op");

   // sn_iso4point_op.cpp
   in_reg.RegisterOperator(L"sn_iso4point_op");

   // sn_interpose_op.cpp
   in_reg.RegisterOperator(L"sn_interpose_op");

   // sn_slerp_op.cpp
   in_reg.RegisterOperator(L"sn_slerp_op");

   // sn_inverseRotorder_op
   in_reg.RegisterOperator(L"sn_inverseRotorder_op");


//   in_reg.RegisterOperator(L"sn_mouthinterpose_op");

   // register all of the properties
   in_reg.RegisterProperty(L"sn_squashstretch_prop");

   return CStatus::OK;
}
Esempio n. 2
0
XSIPLUGINCALLBACK CStatus XSILoadPlugin( PluginRegistrar& in_reg )
{
   in_reg.PutAuthor(L"hmathee");
   in_reg.PutName(L"sixcpp_lattice Plugin");
   in_reg.PutEmail(L"");
   in_reg.PutURL(L"");
   in_reg.PutVersion(1,0);

   Register_nest_ArrayNode( in_reg );
   Register_nest_LatticeNode( in_reg );

   return CStatus::OK;
}
Esempio n. 3
0
/* Plugin ロードエントリ */
XSIPLUGINCALLBACK CStatus XSILoadPlugin( PluginRegistrar& in_reg )
{
	in_reg.PutAuthor(L"oyaG");
	in_reg.PutName(L"GMenuPlugin");
	in_reg.PutEmail(L"");
	in_reg.PutURL(L"");
	in_reg.PutVersion(1,0);
	in_reg.RegisterCommand(L"GMenu",L"GMenu");
	//RegistrationInsertionPoint - do not remove this line

	Application().LogMessage(in_reg.GetName() + L" is loading.",siVerboseMsg);
	return CStatus::OK;
}
Esempio n. 4
0
SICALLBACK XSILoadPlugin(PluginRegistrar& in_reg)
{
  in_reg.PutAuthor(L"Exocortex Technologies, Inc and Helge Mathee");
  in_reg.PutName(L"ExocortexAlembicSoftimage");
  in_reg.PutEmail(L"*****@*****.**");
  in_reg.PutURL(L"http://www.exocortex.com/alembic");

  // sync the softimage plugin version with the Crate version ---------------
  //		soft_MAJOR <-- combination of crate_MAJOR and crate_MINOR
  //		soft_MINOR <-- crate_BUILD
  //		(e.g. Crate version 1.1.134 resolves to Soft plugin version
  // 11.134)
  long digits = 1;
  long pten = 10;
  while (pten <= crate_MINOR_VERSION) {
    pten *= 10;
    digits++;
  }
  long soft_MAJOR =
      PLUGIN_MAJOR_VERSION * (long)(pow(10.0, digits)) + PLUGIN_MINOR_VERSION;

  in_reg.PutVersion(soft_MAJOR, crate_BUILD_VERSION);

  // moved into Application/Plugins/ExocortexAlembicSoftimage_UI.py
  // --------------------------------------------------------------
  // in_reg.RegisterMenu(siMenuMainFileExportID,L"alembic_MenuExport",false,false);
  // in_reg.RegisterMenu(siMenuMainFileImportID,L"alembic_MenuImport",false,false);
  // in_reg.RegisterMenu(siMenuMainFileProjectID,L"alembic_MenuPathManager",false,false);
  // in_reg.RegisterMenu(siMenuMainFileProjectID,L"alembic_ProfileStats",false,false);
  // in_reg.RegisterMenu(siMenuTbGetPropertyID,L"alembic_MenuMetaData",false,false);

  in_reg.RegisterCommand(L"alembic_export", L"alembic_export");
  in_reg.RegisterCommand(L"alembic_export_jobs", L"alembic_export_jobs");

  in_reg.RegisterProperty(L"alembic_export_settings");

  in_reg.RegisterCommand(L"alembic_import", L"alembic_import");
  in_reg.RegisterCommand(L"alembic_import_jobs", L"alembic_import_jobs");
  in_reg.RegisterCommand(L"alembic_attach_metadata",
                         L"alembic_attach_metadata");
  in_reg.RegisterCommand(L"alembic_create_item", L"alembic_create_item");
  in_reg.RegisterCommand(L"alembic_path_manager", L"alembic_path_manager");
  in_reg.RegisterCommand(L"alembic_profile_stats", L"alembic_profile_stats");
  in_reg.RegisterCommand(L"alembic_get_nodes", L"alembic_get_nodes");
  in_reg.RegisterCommand(L"alembic_get_paths", L"alembic_get_paths");
  in_reg.RegisterCommand(L"alembic_replace_path", L"alembic_replace_path");

  in_reg.RegisterOperator(L"alembic_xform");
  in_reg.RegisterOperator(L"alembic_camera");
  in_reg.RegisterOperator(L"alembic_polymesh");
  in_reg.RegisterOperator(L"alembic_polymesh_topo");
  in_reg.RegisterOperator(L"alembic_nurbs");
  in_reg.RegisterOperator(L"alembic_bbox");
  in_reg.RegisterOperator(L"alembic_normals");
  in_reg.RegisterOperator(L"alembic_uvs");
  in_reg.RegisterOperator(L"alembic_crvlist");
  in_reg.RegisterOperator(L"alembic_crvlist_topo");
  in_reg.RegisterOperator(L"alembic_visibility");
  in_reg.RegisterOperator(L"alembic_geomapprox");
  in_reg.RegisterOperator(L"alembic_standinop");

  in_reg.RegisterProperty(L"alembic_import_settings");
  in_reg.RegisterProperty(L"alembic_timecontrol");
  in_reg.RegisterProperty(L"alembic_metadata");

  // register ICE nodes
  Register_alembic_curves(in_reg);
  Register_alembic_points(in_reg);
  Register_alembic_polyMesh(in_reg);
  Register_alembic_string_array(in_reg);
  Register_alembic_float_array(in_reg);
  Register_alembic_vec2f_array(in_reg);
  Register_alembic_vec3f_array(in_reg);
  Register_alembic_vec4f_array(in_reg);
  Register_alembic_int_array(in_reg);

  // XSILoadPlugin_2( in_reg );

  // register events
  in_reg.RegisterEvent(L"alembic_OnCloseScene", siOnCloseScene);

  ESS_LOG_INFO("PLUGIN loaded");

  return CStatus::OK;
}