Page 1 of 1

Material Opacity via Encelopes.

Posted: Tue Oct 15, 2013 9:27 pm
by Godstrike
Hi,

I am animating the opacity of a texture map over time using an envelope, and while I can change the opacity in the material node manually and get a result, as soon as I animate it using an envelope is stops working. Any ideas?

Thanks.
Carlo
---

Re: Material Opacity via Encelopes.

Posted: Tue Oct 15, 2013 9:28 pm
by Godstrike
Late night -- my post title should say 'Envelopes!'

Re: Material Opacity via Encelopes.

Posted: Tue Oct 15, 2013 9:48 pm
by juanjgon
In the IPR or in the final render?
To see the animated parameters in the IPR while scrub timeline you need to enable the update materials switch in the IPR window.

-Juanjo

Re: Material Opacity via Encelopes.

Posted: Wed Oct 16, 2013 8:08 am
by Godstrike
In both, I have material update enabled. I have done some more fiddling and I can get a result if I make the opacity move from 100% to 0%, but when I have it moving from 100% to 10% it does not update in either the IPR or F9 render. I have also got the opacity change taking place over 50 frames, but in the renders it happens immediately.

Thanks!

Carlo

Re: Material Opacity via Encelopes.

Posted: Wed Oct 16, 2013 8:20 am
by juanjgon
Can you send to me a simple scene with this problem?
What version of LW are you using?

-Juanjo

Re: Material Opacity via Encelopes.

Posted: Wed Oct 16, 2013 11:47 am
by Godstrike
Here we go.

The top texture's opacity is reduced to 0% and it does work, although the 100 frame gradient from 100% to 0% is not visible in the render. The bottom texture's opacity is reduced to 20% and no reduction in opacity is visible in the render.

My LW version is 11.5 and I have the latest Octane standalone and LW plugin.

Thanks,
Carlo

Re: Material Opacity via Encelopes.

Posted: Wed Oct 16, 2013 5:09 pm
by juanjgon
I think that the problem is that Opacity is a percent value, that internally works between 0.0 and 1.0, not between 0.0 and 100.0. You are animating the value from 0.0 to 100.0, and this is the problem.

I need to change the "E" mode from scalar to percent to avoid this confusion, but now you can work without problems if you set the envelope values between 0.0 and 1.0

-Juanjo

Re: Material Opacity via Encelopes.

Posted: Wed Oct 16, 2013 5:25 pm
by juanjgon
All nodes with percent values that show a wrong floating scalar envelope is now fixed for the next release. Thanks for report it.

As workaround all parameters with percent values should use envelopes with values between 0.0 and 1.0 (not between 0.0 and 100.0)

-Juanjo

Re: Material Opacity via Encelopes.

Posted: Wed Oct 16, 2013 11:49 pm
by Godstrike
Many thanks! Works like a charm now.

Carlo
---