OBJ Companion 2 - Bulk import obj and assign textures
lilweep
Posts: 2,487
Product suggestion:
We need a method similar to .mtl material library but which actually works for situations when loading many obj or big scenes with many obj at once.
- This should be a plugin/script within Daz Studio.
- It should allow you to import many Obj at once (i realise we can already do this with current obj importer, but main feature here will be to batch import and batch assisgn texture maps)
- When importing, you should be able to direct Daz to load textures based on the texture map names, so that they automatically get assigned to the correct slots in the Iray Uber Shader for the given imported obj.
- e.g., For the imported Obj name xyz.obj, textures like xyz_Normal.png get put into Normal Slot at strength 0.8, textures like abc_Roughness.png get put into Glossy Roughness slot at strength 1.0
Post edited by lilweep on
Comments
There is a script that could be used for batch import http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/file_io/import_obj_silent/start
I very much doubt there is enough consistency in map naming for any auto-assignment feature to work, though http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/properties/material_properties/start might make a starting point if you have a source of models that would work.