ParaX 3D模型导出 是paracraft的Mod插件。 目的是让用户可以
NPL.load("(gl)Mod/ParaXExporter/main.lua");
local ParaXExporter = commonlib.gettable("Mod.ParaXExporter");
ParaXExporter:ConvertFromBMaxToParaX("Mod/ParaXExporter/test/input.bmax", "temp/output.x");
-- export to ParaX with textures
ParaXExporter:ConvertFromBMaxToParaX("Mod/ParaXExporter/test/input.bmax", "temp/output.x", true, true);
-- or
ParaXExporter:Export("Mod/ParaXExporter/test/input.bmax", "temp/output.x", true, true);
Reference: