Material Opacity via Encelopes.

Newtek Lightwave 3D (exporter developed by holocube, Integrated Plugin developed by juanjgon)

Moderator: juanjgon

Post Reply
User avatar
Godstrike
Licensed Customer
Posts: 128
Joined: Sat Apr 16, 2011 9:10 pm

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
---
Ryzen 5800x at 4.4GHz | 32GB | 1 x 3090 ti | 1 x RTX 2080 ti
User avatar
Godstrike
Licensed Customer
Posts: 128
Joined: Sat Apr 16, 2011 9:10 pm

Late night -- my post title should say 'Envelopes!'
Ryzen 5800x at 4.4GHz | 32GB | 1 x 3090 ti | 1 x RTX 2080 ti
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

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
User avatar
Godstrike
Licensed Customer
Posts: 128
Joined: Sat Apr 16, 2011 9:10 pm

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
Ryzen 5800x at 4.4GHz | 32GB | 1 x 3090 ti | 1 x RTX 2080 ti
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Can you send to me a simple scene with this problem?
What version of LW are you using?

-Juanjo
User avatar
Godstrike
Licensed Customer
Posts: 128
Joined: Sat Apr 16, 2011 9:10 pm

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
Attachments
lightwave.zip
(85.13 KiB) Downloaded 260 times
Ryzen 5800x at 4.4GHz | 32GB | 1 x 3090 ti | 1 x RTX 2080 ti
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

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
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

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
User avatar
Godstrike
Licensed Customer
Posts: 128
Joined: Sat Apr 16, 2011 9:10 pm

Many thanks! Works like a charm now.

Carlo
---
Ryzen 5800x at 4.4GHz | 32GB | 1 x 3090 ti | 1 x RTX 2080 ti
Post Reply

Return to “Lightwave 3D”