falconcool Posted February 25, 2012 Share Posted February 25, 2012 (edited) Hi,I've created a new race database, including body,hands,legs,,,fully rigged models and textures.It works all ok on C/K,,Now I'm working on adding facial expression through FaceGen modeller's tools.Here is a previewhttp://i.imgur.com/qhycj.jpg Since I'm not coder ,and I have still lots of unfinished stuff on this project.I'm looking for anyone who knows how to write a simple batch file to covert and inject my edited facial expression .obj models into .tri format.Here is the command I want to do in CMD mode.For example.I've created lots of facial expression files,,Their names are FaceA.obj ,FaceB.obj,FaceC.obj.......I want to convert these files into .tri first.,,Assume I put all necessary files in folder C:\Morph\In CMD mode,, C:\Morph\fileconvert.exe obj-tri FaceA FaceA ---->this command converts FaceA.obj into FaceA.tri ,then put FaceA.tri in the same folder of C:\Morph\After converting all obj files,I created a new Face.tri in the same folder,,it's a clean head without any facial expression.Then I want to create a .tri morph target called Myheadmorph.tri to store all other morph targets.It's command list like.C:\Morph\Addanimatemorph.exe diff Face.tri FaceA.tri Aah Myheadmorph.tri,,,(Attention Aah is the morph name I want store in the Myheadmorph.tri,,I can name morph targets as the same name with those morph names, for example,,FaceA.tri as Face_Aah.tri, FaceB.tri as Face_BigAah.tri...etc..) If anyone can help,it will save me massive of time.Thank you:) As for the FaceGen tools,,go grab them here.In supprt>User manual section.My link Edited February 25, 2012 by falconcool Link to comment Share on other sites More sharing options...
Recommended Posts