четверг, 7 февраля 2013 г.

экспорт из 3ds max в obj

As I’ve seen some really bad exporters floating around, I was pleasantly surprised to find ВPan extremely well equipped piece of software by the name ofВP . ВPThe capabilities of this little gem are absolutely stunning, as is the thoughtfulness put into the interface and options. ВPThe idea of presets? ВPWOW! ВPWhat a novel idea! ВPI know I’m not the only person out there with collections of screenshots for different export targets, this feature is truly a lifesaver.

I’ve really come to enjoy Thursdays and Fridays during my month’s stay here in Germany as it gives me a chance to do some work with the extremely talented students of the . ВPAs you may remember from my most recent , we faced quite a headache with regards to 3ds and the way it handles Windows localization settings. ВPThis week, however, we were extremely fortunate to stumble on a previously hidden plugin included with this popular 3d package: its OBJ capabilities.

file -force -options "bakeTransforms=0;relativePaths=0;copyTextures=1;exportTriangles=1;cgfxFileReferences=1;isSampling=0;curveConstrainSampling=0;removeStaticCurves=1;exportPolygonMeshes=1;exportLights=1;exportCameras=1;exportJointsAndSkin=1;exportAnimations=1;exportInvisibleNodes=0;exportDefaultCameras=0;exportTexCoords=1;exportNormals=1;exportNormalsPerVertex=1;exportVertexColors=1;exportVertexColorsPerVertex=1;exportTexTangents=0;exportTangents=0;exportReferencedMaterials=0;exportMaterialsOnly=0;exportXRefs=1;dereferenceXRefs=1;exportCameraAsLookat=0;cameraXFov=0;cameraYFov=1;doublePrecision=0;" -typ "OpenCOLLADA exporter" -pr -es (`workspace -fn`+"/"+$child+".dae");

// get the relatives of the selected group (listRelatives gets only children by default)

// Note: Requres OpenCollada - http://opencollada.org/

// group_export.mel - Individually export all children of a selected group

Note: This currently requires the exporter, I’ll work up a small post for changing the exporter to use in the near future

If you saw my last post on MEL syntax highlighting then you may have guessed that I’ve been doing some MEL scripting lately. Here’s my first mini-gem, a batch exporter for a group of objects. To use it, simply run the script with a group selected.

Комментариев нет:

Отправить комментарий