Maxwell Render

Maxwell Render Information Repository
It is currently Thu May 23, 2013 4:39 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: MEL material converter
PostPosted: Fri Jul 29, 2011 11:24 am 
User avatar

Joined: Sun Mar 20, 2005 5:44 pm
Posts: 2298
Location: plains of fucking gorgoroth !
[ @ Mihnea ]

has anyone some experience with (or tried to create) a MEL based ( possibly with GUI ) material converter, which lets the user define which 'output channel' of the original material goes into which 'input channel' of a mxm ?

I imagine something with an input list (MEL textScrollList) of the input channels per original material and the user-definable destination (also in a TSL) in a newly generated layered mxm.

of course that could get quite complex, but I'm just searching a way to convert lots and lots of materials into mxms the way I need them, not using the default conversion. E.g. a leaf material should be converted to a thin leaf SSS material, ...

happy for any input.

_________________
Death Metal Team

http://www.esri.com/software/cityengine/


Top
 Profile  
 
PostPosted: Fri Jul 29, 2011 12:25 pm 
User avatar

Joined: Wed Oct 18, 2006 8:20 am
Posts: 1825
I'm not sure the model you're suggesting is flexible enough, but I don't have a clear picture of what you're trying to do. I think you're better off defining some conversion "recipes" through MEL code and allowing the user to pick which one to apply for each material, but that will break down if you have lots of recipes.

I guess you also need a way to make this persistent, if the user wishes to perform the same conversion again (or use a naming convention which describes the recipe to use).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group