Forum: Poser - OFFICIAL


Subject: Question: Simpler way to copy groups between two models using same UV Map?

toolstech opened this issue on Mar 18, 2009 · 9 posts


toolstech posted Wed, 18 March 2009 at 8:13 AM

I'm using this process more as a learning experience than for any real need to go through it at this time.  I know that there are others who have already taken the Project Human RC 0.91 models and ported them over to Poser, but there are some significant improvements to the models with the pre-alpha 1 version and I wanted to take a stab at transferring this model set on my own.

My original plan had been to just group the base model from Project Human, then export male, female and child objects and use these as morph targets.  But apparently the current export option that is in pre-alpha 1 does not export the same number of vertices with each morph, so that idea flew out the window.

The unmorphed base .obj file has a ton of groups that can fairly easily be modified to fit Poser, and after a couple of nights of messing around with it, I think I've got the figure grouped the way I want.  The next challenge is that along with the changing number of vertexes, the pre-alpha Project Human exporter does not export the original groups, but a single mesh.  I'm sure this will change in the future, but for now, I'm looking at my options for transferring my modified groups to the newly exported male and female versions of the model.

Right now, the only way I see to do this is to save a color-coded UV Map from my re-grouped base as a bitmap.  Then pull that UV Map on to the new model as a texture and use that as a guide to manually regroup the single mesh.  But is this really the simplest solution?  Is there some better/simpler way that I'm just overlooking? 


lisarichie posted Wed, 18 March 2009 at 12:37 PM

I wonder if PhilC's OBJ2CR2 utility could be used for creating the groups.....it works for clothing items really well from what I hear.


toolstech posted Wed, 18 March 2009 at 6:31 PM

I hadn't thought of OBJ2CR2 specifically, but I had given AutoGroup Editor a go at one point, which works on similar methods I believe.  It won't do the complete job, eyes, jaw, etc would be missed, but it would help with some of the larger areas (chest, hip, etc).

I was hoping there may be a way to auto create groups based on the colors of a texture template, but I'm not finding such an option anywyere.


toolstech posted Wed, 18 March 2009 at 8:15 PM

Well, interestingly enough, I may have resolved the root of the issue by simply re-exporting the Makehuman models from within the same session.  The morphs still differ in vertices from the original base pre-grouped object, but each single-object morph now has the same number of vertices as every other morph export file.  Not sure how they got off like that in the first place, but now I just have to regroup one and then spawn the rest in as morph targets as I had planned from the start.


EnglishBob posted Fri, 20 March 2009 at 5:45 AM

I got confused when you mentioned Project Human, but now I see it was Makehuman things are a little clearer... If I've followed you correctly, then UVS files may be the way to do what you want. Open your grouped OBJ file in UVMapper, and export a UVS file - be sure to select the option to export group information. Then open one of the other OBJs, and import that UVS. Assuming the mesh structure is the same, it will transfer the grouping (and the UV mapping) from the first model to the second.

It may not matter much if you have things sorted out now, but could be worth a try the next time this comes up?


Diogenes posted Fri, 20 March 2009 at 5:54 AM

And if you're having trouble getting the vertice order to match, kawecki has a free app called morpher (here in frebies) which will reorder your vertices to match your original mesh.


A HOMELAND FOR POSER FINALLY


toolstech posted Fri, 20 March 2009 at 10:58 AM

Quote - I got confused when you mentioned Project Human, but now I see it was Makehuman things are a little clearer... If I've followed you correctly, then UVS files may be the way to do what you want. Open your grouped OBJ file in UVMapper, and export a UVS file - be sure to select the option to export group information. Then open one of the other OBJs, and import that UVS. Assuming the mesh structure is the same, it will transfer the grouping (and the UV mapping) from the first model to the second.

It may not matter much if you have things sorted out now, but could be worth a try the next time this comes up?

Oops, I didn't even notice I'd missed the 'Make' portion of Makehuman in that first post.  Sorry about that.

I just attempted the UVS suggestion  It's definitely what I was looking for.  ... Edit:  I originally was getting an "incompatible facet structure" when I tested this on my re-grouped Poser object, but if I go back to the base.obj that Project Makehuman supplies, it works like a charm.

Thank you!


patorak posted Fri, 20 March 2009 at 11:11 AM

Try running the obj files through UV Mapper.



toolstech posted Fri, 20 March 2009 at 11:13 AM

Quote - Try running the obj files through UV Mapper.

Yep.  I got it sorted out.  Thanks for the suggestions everyone.