Surface names on imported .obj, Change
paul_ae567ab9
Posts: 231
I often obtain assets in the wavefront format. .OBJ
Many times the surfaces in these are named such that there is no way to know what they are short of adding random colors to see what changes.
Not a very practical solution.
Once I ID those surfaces is there a way I can rename them before saving as a prop so in future can apply colors or textures without having to constantly experiment?
Can this be done in DAZ or in some 3d party utility?
Thanks
Comments
Not 100% sure if this does what you're looking for, but you might give this script a try.
With most .obj files, it's actually easier to do it in notepad. The line to look for is usually "usemtl MaterialName" which you can change to anything you like. There should also be an accompanying .mtl file with "newmtl MaterialName" entries. These need to have the same new name as the .obj. (Actually, if they don't, DS just assigns a default color, so it's not a crucial extra step)
Still, if there's a script that does it, all the better
Esp. if wanting to make PA items, manually editing anything is not recommended. [used to get products refused]
Renaming surfaces can be done easily in D/S. Use the Geometry Editor tool and the Tool panel. Name changes on the tool panel are reflected immediately on the Surfaces. On the Tool panel, Right-click on the names of any empty surfaces to remove them. Double-click to type a new name.
I cannot find how to change any of the surface names.
The geometry editor does not appear to have any option to change surface names that I can find. Does that have to be done on initial inport prior to saving as a prop?
Would appeciate a little more detailed info.
Thanks
FYI closest I can come which helps is use surface selector to ID the surface then put a descrpiter in the Tags field.
It's a work around until I can find how to change the actual surface names.
With the Geometry Editor active the Tool Settings pane will list the groups on the model, and allow renaming by double-click.
I said - the Tool Panel. [panel = pane = tab]
Windows > Panes > Tool Settings
Thanks !
You're most welcome :-)