Maya to Clarisse Shader Transfer.

$0+
4 ratings

hi all,

this is a script to quickly export arnold shaders and maya shaders information into a json file that will be used to create shaders/displacements/normal maps and bump maps, and import  textures paths and connect them together in clarisse and assign those shaders to the objects inside the context.


file textures could be UDIM, tx or any other texture type, the script will automatically determine whether the texture is UDIM or single texture and will create "streamed texture" or "map file" in Clarisse accordingly. also color values will be exported.


you need to also have direct connections between your shaders and textures in maya so it would be exported properly, that means, no any color correction nodes or any other kind of utility nodes between your texture and shader.


also, all diffuse maps will be set to sRGB colorspace and all spec/displacement/roughness textures will be set to "linear" colorspace. so you won't need to do much work afterwards.


** shader conversion works as follows:
lambert, blinn, phong, phongE, aiStandard and alShader -------> will be converted to "standardPhysicalMaterial" in clarisse.
aiStandardSurface ------> will be converted to "MaterialPhysicalDisneyPrincipled".


important Notes:

  • for the script to work properly, you need to have your geo in maya to have unique names, no per-face shader assignment and no combined geometry, since clarisse doesn't work like that.
  • it is always recommended to always separate your meshes before using the script and exporting abc. 
  • when you export your geometries from maya in abc format, you will need to make sure you tick the "strip namespaces" and "UV Write" option boxes.


these two scripts will be helpful to individual artists or a small studio, you can also modify/change based on your needs, but please give credits.


i made a video to demonstrate the steps and how to use these scripts,

this script is totally for free, but if you feel you want to donate some money for appreciation, that would be cool :D

PS: i wrote those scripts a few years ago in clarisse's discussion forum https://forum.isotropix.com/viewtopic.php?f=169&t=3548 but i think it didn't reach enough people and i made more changes and included more shaders so i thought i would share them again.

please email me at anabilvfx@gmail.com if you found any bugs or questions.

thanks a have a speedy transfer to Clarisse.


$
I want this!

one script to export shader and texture info from maya, and one script to import those information into clarisse.

Copy product URL

Ratings

5.0
(4 ratings)
5 stars
100%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%
$0+

Maya to Clarisse Shader Transfer.

4 ratings
I want this!