Tue, Dec 24, 10:57 AM CST

Renderosity Forums / Poser Technical



Welcome to the Poser Technical Forum

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.



Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: changing material names in Poser?


Quagnon ( ) posted Fri, 27 September 2002 at 12:26 PM · edited Tue, 26 November 2024 at 9:30 AM

Does anyone know a way to change material names in Poser? I have a prop that has six different materials, but they're named Material 1, Material 2, etc., and I want to rename them so I know exactly what material goes where.


lesbentley ( ) posted Fri, 27 September 2002 at 1:00 PM

I have never tried changing these but it looks like the materials are set within the geometry, with lines starting with "usemtl". If your prop is in pp2 format then it might have internal geometry, in which case you would edit the usemtl lines in the pp2 file its self, or it might reference an external obj file in which case you would need to edit the usemtl lines in that. In either case you would also have to change the corresponding "material" lines in the materials section at the bottom of the pp2 file. This is just theory on my part I have never tried it and I might be wrong.


wyrwulf ( ) posted Fri, 27 September 2002 at 5:58 PM

Attached Link: http://www.uvmapper.com

If it's an OBJ, you can use UVMapper to change the material names.


ockham ( ) posted Sat, 28 September 2002 at 12:31 AM

Lesbentley is exactly right. The lines that begin with "usemtl" in the PP2 or CR2 are the places to change, along with the list of materials at the end of the file. When you build a prop from a mix of imported objects (or Poser primitives), Poser takes the materials from each and piles them up at the bottom of the PP2, then puts a "usemtl" statement in the main paragraph for each of the pieces. The Preview and Preview:1 and so on will usually be duplicated many times so you can't match them by name. One trick I find useful: Generate one super-simple PP2 file for each actually used material, consisting of just a Box with one of your materials applied. You can then pull out the entire Material paragraph from these unambiguous little files, and copy it over into the lower section of your real file. For instance, apply your Walnut colors and textures to a box; save it as WalnutSample.PP2; then copy the paragraph under "material Preview" in this file into the real file as "material Walnut". Or, if you can see which of the Previews matches this identically, you can just rename that Preview to Walnut. Once you have all the actual materials with meaningful names in the main file, you can get rid of the Preview stuff, and be sure every "usemtl" in the upper part refers to one of the properly named materials in the lower part.

My python page
My ShareCG freebies


EnglishBob ( ) posted Mon, 30 September 2002 at 7:18 AM
Online Now!

Attached Link: http://www.angelfire.com/art2/cheapskate/3dsimport.html

The linked tutorial applies especially to imported 3DS meshes, but the principles are the same for all. The warning about spaces is worth noting, too. If you made the prop yourself in OBJ format, UVmapper can be used to re-assign the materials; then just import into Poser and set them up, and save to the library. A third party prop is easier to hack with the text editor method.


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.