How to use Daz Script to import & assign materials to a mesh?
samuelmtodd
Posts: 0
Hi all,
I am currently writing a program using Daz Script to import a .fbx file that contains a mesh into Daz3D.
The Materials and Textures for this mesh are saved as seperate files, and I am trying to figure out how to use scripting to import them & assign them to the mesh.
I have checked the documentation and the sample code but I haven't been able to find anything that would explain how to do this.
Comments
Quite a bit would be handled in http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/material/deep_copy/start - you just need the methods for loading the maps. http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/imagemgr_dz should cover that