I'm trying to write a simple render effect plugin and I need to get the bitmaps from vray gbuffer channels. In plugin I'm able to read the rendered image using
on preApply map do().
For example I can access the proprietes from listner:
ch1=VraySelfIllumination()
but when I try to enable it doesn't work:
ch1.enabled=true
I tried to add manualy the channel and after rendering I'm still unable to access the proprietes and the bitmap too:
map=ch1.bitmap
display map
I know that I'm doing something wrong, I'm stuck.
on preApply map do().
For example I can access the proprietes from listner:
ch1=VraySelfIllumination()
but when I try to enable it doesn't work:
ch1.enabled=true
I tried to add manualy the channel and after rendering I'm still unable to access the proprietes and the bitmap too:
map=ch1.bitmap
display map
I know that I'm doing something wrong, I'm stuck.
Comment