Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to programatically assign random colors to objects in 3ds max?

How to programatically assign random colors to objects in 3ds max?

like image 835
relima Avatar asked Dec 17 '22 20:12

relima


1 Answers

That works well if you just want to assign a random wire color. Here is some code for creating a standard material with a random diffuse color.

for o in $* do 
( 
  m = standard
  m.diffuse = random white black 
  o.material = m
) 
like image 165
cdiggins Avatar answered May 11 '23 17:05

cdiggins