Mon, Dec 23, 11:37 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Dec 23 8:11 am)



Subject: OBJ Export and Material IDs


Enivob ( ) posted Thu, 28 May 2009 at 1:34 PM · edited Mon, 23 December 2024 at 7:22 AM

Hi All,

I have a figure with some clothes on it.
Blouse, boots, hair, skirt.

I export the figure as an OBJ file.

I import the OBJ file into my 3D program and I discover that it has 16 materials. I go through and assign colors to each of these materials.

The problem is that the Poser OBJ exporter assigns the same material ID to the face as it does to the  blouse. So I thought I would revisit the material room in Poser and set the blouse to a totally different color. I did this and even though the colors are different, the OBJ exporter does not seem to recognize this and continues to make the blouse the same material ID as the figure's face/head.

Does anyone know how to fix this? I am new to the material room, so I could have missed something, but in the colors are different in Poser.

In my 3D program I do realize I could sub-object edit and select the face and manually re-assign the face material IDs. But I am working with a sequence of OBJ files and I don't want to resort to manual re-assignment for multiple frames.

NOTE: I did try all the different check box options in the Poser export dialog.


markschum ( ) posted Thu, 28 May 2009 at 2:23 PM

Poser exports an obj file with vertex and face info, and bodyparts, and materials by name 
bodyparts are identified by a g line and materials by a usemtl line .

I would look to see why the face and blouse have the same usemtl name.

I would check the export options (i dont have poser with me ) and see if there is another option to use the poser material groups names . I usually just have one ticked  and that works fine in Lightwave. 


ockham ( ) posted Thu, 28 May 2009 at 3:13 PM

What do the actual lines look like in the original OBJ, and in the exported OBJ file? 

In other words, does the original have different usemtl lines for the head
and blouse, or the same usemtl line?  Does the exported file have different,
or the same?

My python page
My ShareCG freebies


lesbentley ( ) posted Thu, 28 May 2009 at 3:57 PM

As markschum pointed out, in Poser, the materials themselves, and which facets they apply to, are defined in the obj files. It is only the properties on a material (colour, texture, etc) that are defined in a cr2, or pp2 file.

In the Poser Group Editor, if the blouse is a separate group, select that group and assign a material to it, use a descriptive name like "blouse".

If the blouse and head are not in a separate group, you can use the free UV Mapper utility to assign material zones after you export the obj from Poser.


DarkEdge ( ) posted Thu, 28 May 2009 at 6:26 PM

Just in case it isn't obvious, when they talk about checking the mtl lines and such is you would open the obj file with something like Word pad. 😄

Comitted to excellence through art.


markschum ( ) posted Thu, 28 May 2009 at 9:35 PM

If you can set the materials to different colors in poser they should be different names in the exported obj file.  Is the obj you are exporting a single obj or several obj combined ? 

I have a script somewhere to show the groups and materials .


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.