Forum Moderators: Staff
Poser Technical F.A.Q (Last Updated: 2024 Dec 04 2:47 am)
Welcome to the Poser Technical Forum.
Where computer nerds can Pull out their slide rules and not get laughed at. Pocket protectors are not required. ;-)
This is the place you come to ask questions and share new ideas about using the internal file structure of Poser to push the program past it's normal limits.
New users are encouraged to read the FAQ sections here and on the Poser forum before asking questions.
Thanks, Roy G, That is interesting and helpful information. Someone who wrote that section of code for Poser evidentialy used the "space" character for a delimiter when importing .obj files which would cause the problem you describe. A global "search and replace" in the .obj file would fix this quite easily. Just search for "Material #" and replace it with "Material_#", no? cheers, dr geep ;=]
Remember ... "With Poser, all things are possible, and poseable!"
cheers,
dr geep ... :o]
edited 10/5/2019
Here is an example. I used a 3DS prop Enterprise 1701B model by Eric Peterson. I don't remember where I got this but it's an old file. Please Ignore the holes in the mesh this is just an example.
The top ship is the imported 3DS prop with 75 different materials the material names contain spaces. Poser had no problem with it.
The middle ship is the same prop exported from Poser as an OBJ and then re-imported. It now has only one material. As you see it lost all of its different colors.
The bottom ship is the result of using the work around on the same OBJ and MTL files used for the middle ship. It now has 75 materials again and looks identical to the original 3DS prop.
Hey, nice models Roy. Are they your creations? Hmmmmm???????? Now where to store this li'l titbit of info away so I don't lose it? cheers, dr geep <---------------------------------------[wanders away muttering to self] ;=]
Remember ... "With Poser, all things are possible, and poseable!"
cheers,
dr geep ... :o]
edited 10/5/2019
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.
Poser has a problem loading OBJ files. And oddly doesn't have the same problem when loading 3DS files.
Say you have a prop with three materials. Material #1, Material #2, Material #3. Note the space in the material name.
If you load this prop into Poser from an OBJ. file you end up with only one material. If you load the prop from a 3DS file it will load correctly. This is really odd because I have always been told that the preferred format is the wavefront OBJ type file.
The work around is to take the OBJ file into a text editor and do a search to replace Material # with Material# or Material_# getting rid of the space. You will have to do the same thing to the matching mtl. File as well.
What is also odd is that Poser has no problem saving OBJ files that contain spaces or working with props that contain them once they are loaded. You can look inside an OBJ file saved by Poser and the Material names are there complete with the spaces. It just can't load them correctly unless you use the work around.
You can also save the prop in poser as a pp2 and it will work correctly with the spaces in the material names.
I have not experimented yet with material names that are more descriptive like "table top, table leg, chair top and chair leg" but I suspect in the example given you would end up with two materials, table and chair.
This is a real drag because many 3DS files seem to use this "material #" type format making them a Problem when used with Poser.