When using the Vray scene converter-script I lose all bump values and bump maps for Architectural Materials.
For Architectural materials I’d also like to have
If there’s a shininess map:
- shininess map in the Vray reflect-map slot
- shininess value to the reflect-value (percentage in maps-rollout)
- reflect color to 0,0,0
If there’s no shininess map:
- R=G=B= (shininessvalue/100)*255 in the reflect-color swatch.
Any script-guru’s that know how to fix that? I’ve got a couple of large scenes with loads of materials I need to convert. I can offer a (not too large) fee.
Doing this isn’t too hard, however, integration into the vray scene converter is quite a bit more difficult. I’m not even sure how to use scene converter as I’ve never done it before, does it completely discard the bump maps and information? Maybe a test file with details on what you want it to do exactly?
Fixed the bump-part, by adding these lines in ‘convertFrom_Architectural’:
```
-- bump component added by Ruud van Reenen - 3DV
r.texmap_bump=orig_mtl.bumpMap
if (r.texmap_bump!=undefined) then (
r.texmap_bump_on=orig_mtl.bumpMapEnable
r.texmap_bump_multiplier=orig_mtl.bumpMapAmount
)
In the previous post I used origmtl instead of orig\_mtl, the spelling of this is inconsistent in the script :)
– if this is a RPC-material, return the same one
if ((findString orig_mtl.name “rpc_”)!=undefined) then return orig_mtl
If anyone is interest, the modified script can be downloaded here: http://www.3dv.nl/forum/vrayutils-2.zip
I only changed the conversion of Architectural Materials and prevented RPC-materials to be converted.