otaku opened this issue on Oct 30, 1999 ยท 3 posts
xeno posted Sat, 30 October 1999 at 11:31 PM
It's actually not too bad getting Poser OBJ files into Cinema 4D intact, but Cinema 4D messes up the UV coordinates, so figures you bring back into Poser from Cinema don't accept textures correctly anymore. You need a few things: the Perl OBJ Utilities by Kevin (here on FS) and a capable text editor. First run the "MTLToGroup" Perl script on the Poser OBJ file; this changes the "UseMtl" statements to "g" statements, so that you can restore them after you're done editing in Cinema (this trick is commonly used to get Poser files into RDS without losing materials). Then run the "Regroup" Perl script on the reprocessed OBJ file;this puts all the vertices for each group under a single "g" statement in the OBJ file. When you open the resulting OBJ file in Cinema4D, you should have only one group corresponding to each part and material, instead of 200... Getting the figure back out of Cinema and ready for Poser use is more difficult. Select the entire figure in Cinema and export it as an OBJ file. Then, in a text editor, strip away the phrase "Object_Group " and the trailing "_" (underscore)that Cinema adds to each group name, as well as the "UseMtl none" lines. Then run the edited OBJ file through the "GroupToMTL" Perl script; this will restore the original "UseMtl" statements. If you've done everything correctly, the final OBJ file is usable as a Poser OBJ Geometry file. However, Cinema connects the front and back of the UV texture map with an extra polygon, so textures have a distinct seam between the front and back when you apply them in Poser. Bummer. If you figure out a way around this, please let everyone know!