|
Hello,
I’m wanting to use a diffuse colour to alter the iterations in the mesh smooth modifier. I’m using the wire parameters dialogue but am unsure of how to turn the 3 point value of the diffuse (rgb) into linear (1 point) data.
Anyone know how to?
mac
Andy Mac Attack POW
Work Computer - Max 2011, Core i7 3.6, 6GB RAM, ATI FireGL V7700 512MB, Windows 7 64bit
Home Computer -BBC Electron with tape player and a copy of creepy cave
|
|
|
|
I’d say it depends on what information you’d like from the color triplet: For very basic, pseudo-luminance, you could just take the average (R+G+B)/3. More “accurate” luminance typically weights the colors differently, but you could look it up and factor the RGB first: ((0.8*R)+(1.4*G)+(0.6*B))/3.—That’s just a guess, BTW: do the research if you want something useful!
-Jeff
Max/Composite 2012 (subscription)
Win7-64pro, Intel i7-hex on SuperMicro mobo, 12 GB RAM
nVidia Quadro 5000, render farmette on BB2012
|
|
|