Simple Reflection Map creator (diffuse to reflection copy...)
Hello, i would appreciate the script that does the following:
It operates on objects selected in viewport (or all objects; it doesnt matter really probably) which have Vray materials or on MultiSubObjects materials filled with Vray materials assigned.
It:
1) Crates a composite map type and insert it in the Reflection slot of the Vray material.
2) Crate a Color correction map in (under) the layer of the Composite map type
3)Set the saturation of Color Correction map to -100,0
4) Copy the map (bitmap) from diffuse slot of Vray material to the Reflection--> Composite-->Color correction map slot of the vray material.
5) Crate additional layer in the composite map type above the collor correction one. To this additional layer place VrayColor map type with absolute black color (RGB 0,0,0) and set the opacity of this new layer to 50 (blending type to normal).
Im using 3ds max 2009 64 but with V-RaY 1.5 sP4.
The goal is to speed up creating simple reflection maps from the diffuse ones inside 3ds max.
Comments
Great :-)
Wow great, it works nicely, thanks :-), even the multiplayer works fine for the opacity setting in the layer in composite, nice!
:)
Ok. Enjoy!
bga
Tried it, worked :-)
So i have tried it, it works, thanks :-)
Could you please also make the solution with the composite map, allowing a better and immidiate preview of how it will look like/how much will it shine?
I made a picture of what i mean
http://s14.postimg.org/k9e2z921d/See.jpg
...
Give me 5-10 minutes :)
bga
...
Jist kidding. I needed only 2min
Here we go
bga
Hello
Thank you for your script, that was fast :-)!
3.Set reflection multiplier to 50 %.
Yeah i thought about that, but the problem with this one is you dont have immidiate visual reference of how it will look like e.g. ho much intense the the reflection is.
If you use the solution with composite map you have immidiate visual reference of how much will each pixel reflect in the end, and within few seconds, using additional work (using the Vray frame + buffer) you can get even the exact RGB code of each pixel (how much it will shine) and you can regulate this within the composite map and see the result immidiatelly. Thats why i wrote it in the first place.
Would you be so kind please and try to implement it in the script? (or is it some other way how can i get immidiate visual reference of how the reflection map will look like (how much brigher or darker it will be?)
Neverthless thank you :-)!
...
Better idea is:
1. Create color correction map in reflection slot and set it chennels type to monochrome
2. Copy map from diffuse slot to CC map of refl. slot
3.Set reflection multiplier to 50 %.
NOTE: You can specify to process to Scene Material, Selected Object Material and Medit Materials.
Supports material classes like:
VRay2SidedMtl, SHELLAC, VrayMtlWrapper, VRayBlendMtl,VrayOverrideMtl, Multimaterial, compositematerial,blend, topbottom, shell_material
One more thing (this works with vray 2+).
If one on above classes are not supported with your version of vray then just remove line in "Processmaterial" function.
Here is my concept
bga