2/17/2023 0 Comments Arnold for maya 2017 tutorialWith one shader assigned to several objects easy to setup independent tweaks of different parameters for each object. aiSsaveVersion - save next version of current scene aiShaderManager - read and set custom attributes to operate with materials and asign materials to assets aiSetSubdiv - set sobdivition attributes and turn maya smooth off aiIDmanager - create OJECT or SHADER IDs aiSetAttr - set attributes "mtoa_constant_" aiCreateAttr - add attributes "mtoa_constant_" of different data types to an jbject shapes When object has shader with color texture assigned, you can transfer name of texture from imageFile node to desired color attribute on objects to link object and texture.ĭoing this manualy with many objects will take ages, but with Arnold DNA Render KIT this tasks will became just button push. Read texture from shader and assign to shape attribute. create lambert(or any other) shader with this texture as color for preview, read texture name from desirable attribute, When using multitexture material as described above, you can`t see textures in viewport. Look into example scene see how to setup this. enter desirable texture names in each object attribute (c_R.tif, c_G.tif, c_B.tif for obj_A, obj_B, obj_C).Īlso you can set place2dTexture.repeatUV attribute on every shape individualy with aiUserDataFloat nonde and float attribute mtoa_constant_ (attributeName). It become relative immediatley (sourceimages\) but if you enter relative path from start it would not work. enter attribute token in Image Name field of file node with full absolute path to texture (D:\projects\arnoldTemplates\3D\sourceimages\ ). create string attribute on object shapes, name it mtoa_constant_ (attributeName). With this setup, shapes share same shader but has their own textures. You can reduce amount of shaders in scene and speed up look development with one material and individual textures on each object. Multitexture material - one shader, different textures. This is set of triks how to organase workflow with complex scenes using MtoA.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |