Heya
I'm trying to script out my workflow so its easier to apply materials edit objects and so on... I have few simple issues..
Basically
1. applying texture to slot
for O in $ do
$.material = VRayMtl ()
$.material.texmap_diffuse = Noise ()
This wont work for some reason...
2. copying texture from 1 slot to another...
$.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
$.material.basemtl.texmap_bump = copy texmap_reflection -- in this case I have Blend with Vray in 1st slot. I'm trying to copy my reflection to bump slot - or instance if its possible...
$.xxxxxxxxxxxxxxxxxxxxxx
3. and for UI I just want button to enable/disable options or to execute the script I write...
rollout Shortcuts "On/Off Shortcuts" width:162 height:300
(
button ONTS "ON" pos:[8,32] width:57 height:24
button OFFTS "Off" pos:[88,32] width:57 height:24
on ONTS press do
(
timeSlider.setVisible True
)
on OFFTS press do
(
timeSlider.setVisible False
)
)
myfloater = (newRolloutFloater "DM Tools" 195 552)
addRollout Shortcuts myfloater
I almost got it naild I just still got issue whith these 3 things any idea how to fix them?
Thanks, bye.
I'm trying to script out my workflow so its easier to apply materials edit objects and so on... I have few simple issues..
Basically
1. applying texture to slot
for O in $ do
$.material = VRayMtl ()
$.material.texmap_diffuse = Noise ()
This wont work for some reason...
2. copying texture from 1 slot to another...
$.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
$.material.basemtl.texmap_bump = copy texmap_reflection -- in this case I have Blend with Vray in 1st slot. I'm trying to copy my reflection to bump slot - or instance if its possible...
$.xxxxxxxxxxxxxxxxxxxxxx
3. and for UI I just want button to enable/disable options or to execute the script I write...
rollout Shortcuts "On/Off Shortcuts" width:162 height:300
(
button ONTS "ON" pos:[8,32] width:57 height:24
button OFFTS "Off" pos:[88,32] width:57 height:24
on ONTS press do
(
timeSlider.setVisible True
)
on OFFTS press do
(
timeSlider.setVisible False
)
)
myfloater = (newRolloutFloater "DM Tools" 195 552)
addRollout Shortcuts myfloater
I almost got it naild I just still got issue whith these 3 things any idea how to fix them?
Thanks, bye.
Comment