Jump to content

Create materials from default geometry colour palette


Roodogg
 Share

Recommended Posts

Hi guys.

 

 

Is there a way to create materials from the generic material palette (The colours created by default when you create any primitive)?

 

 

You obviously cannot pipette these colours, however I have a very complex product model and all the colours are 'correct' - they just need to be changed to materials.

 

 

Many thanks for help in advance.

Link to comment
Share on other sites

I'm not sure if you would to add a material ID channel where you can put diffferent maps on a multi/sub-object.

 

 

example

The Multi/Sub-Object material lets you assign different materials at the sub-object level of your geometry. You create a multi-material, assign it to an object, and then use the mesh selected modifer to select faces and choose which of the sub-materials in the multi-material are assigned to the selected faces.

Link to comment
Share on other sites

I've written this one quickly for you try it and tell me if it works as you want :

for i = 1 to selection.count do
(
Mat = Vraymtl() 
Mat.name = ("material _" + i as string)
Mat.Diffuse = selection[i].wirecolor 
selection[i].material = Mat
)

Cheers .

Edited by maxryhan
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...