Isotropix Forums

Converting Alshaders

General Discussion about Isotropix and CG related topics

Converting Alshaders

Unread postby janoshunyadi » Tue Jun 06, 2017 10:05 am

In the 3.5 features you guys mentioned that:
it’s now possible to convert existing libraries of materials made for Arnold or VRay to Clarisse
Is there a tool for this or we have to make a custom exporter for this to work. Looking trough the Ascii files of both Maya Arnold and Clarisse, it should be an easy conversion. The only difference we saw were the naming conventions. Is there a list somewhere of the shader attributes for Clarisse?

Greets,
Janos
janoshunyadi
 
Posts: 93
Joined: Tue Dec 01, 2015 2:51 pm

Re: Converting Alshaders

Unread postby isoyann » Tue Jun 06, 2017 10:41 am

Hi,

You need to write a custom script in maya/max/whatever.. to store the textures connections and another in Clarisse to recreate them.. currently there is no standard file format to store this kind of information, only the shader is compatible (same attributes values = similar results).

Thanks
User avatar
isoyann
 
Posts: 594
Joined: Mon Jan 28, 2013 12:11 pm

Re: Converting Alshaders

Unread postby janoshunyadi » Tue Jun 06, 2017 10:54 am

That shouldn't be a problem. We just have to match up the pairs of attributes. The rest should be easy. I'll share the results once it's done here.
janoshunyadi
 
Posts: 93
Joined: Tue Dec 01, 2015 2:51 pm

Re: Converting Alshaders

Unread postby arnaud » Tue Jun 06, 2017 11:01 am

Thanks Janos!
Arnaud

Isotropix
RnD & Support Manager
User avatar
arnaud
 
Posts: 145
Joined: Mon Dec 14, 2015 3:48 pm

Re: Converting Alshaders

Unread postby janoshunyadi » Tue Jun 06, 2017 2:41 pm

Here's a quick proof of concept version:
https://github.com/kidintwo3/clarisse_alshader_io

Right now it's limited to the default attributes (RGB, float, bool, etc.), and texture file path nodes.

There's a list inside the script (alshader_export.py) for the matching attributes I found for Clarisse and Maya AlShader attributes. There are some missing.

Here's a comparison of an AlShader exported from Maya to Clarisse:
ma_exchange.JPG
Material comparison
janoshunyadi
 
Posts: 93
Joined: Tue Dec 01, 2015 2:51 pm

Re: Converting Alshaders

Unread postby atnreg » Wed Jun 07, 2017 7:52 am

Ok so it is doable like that but what if I don't use Maya or Arnold, there is no standard library for alShaders?
I mean some site where I can download/buy collection of alShader materials in some (text) format?
I haven't found any.

Or if Arnold, V-Ray or some other that uses alShaders uses text format for them, please let me know :)

Then I could make my own converter to Clarisse format but if the original file is binary, it will be a lot more complicated unless there is VERY good documentation (which is very rare) :)

Any ideas? :)

Antti
Intel i7(6-core),32GB RAM,NVIDIA GTX690 (2GPU)+GTX Titan Black,Win10Pro 64bit
Clarisse 3.5,Blender,ZBrush 4R8,(3D-Coat,Lightwave+Octane...)
Clarisse since 2016-09-29 (Py 2017-01-04), Python since 2016-11-10
I do all 3D stuff for fun, no business
atnreg
 
Posts: 231
Joined: Mon Sep 19, 2016 5:20 pm
Location: Helsinki, Finland

Re: Converting Alshaders

Unread postby isoyann » Wed Jun 07, 2017 12:20 pm

Unfortunately, there is no standard format for this..
User avatar
isoyann
 
Posts: 594
Joined: Mon Jan 28, 2013 12:11 pm


Return to General Discussion