Material Opacity via Encelopes.

Forums: Material Opacity via Encelopes.
Newtek Lightwave 3D (exporter developed by holocube, Integrated Plugin developed by juanjgon)

Moderator: juanjgon

Material Opacity via Encelopes.

Postby Godstrike » Tue Oct 15, 2013 9:27 pm

Godstrike Tue Oct 15, 2013 9:27 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 | 2 x RTX 2080 ti | 1 x GTX 1070 ti| 1 x GTX 1060 6GB | 1 x 1GB SSD M.2 | 1 x 500GB SSD | 2TB WD BLACK | Windows 10 64
User avatar
Godstrike
Licensed Customer
Licensed Customer
 
Posts: 126
Joined: Sat Apr 16, 2011 9:10 pm

Re: Material Opacity via Encelopes.

Postby Godstrike » Tue Oct 15, 2013 9:28 pm

Godstrike Tue Oct 15, 2013 9:28 pm
Late night -- my post title should say 'Envelopes!'
Ryzen 5800x at 4.4GHz | 32GB | 2 x RTX 2080 ti | 1 x GTX 1070 ti| 1 x GTX 1060 6GB | 1 x 1GB SSD M.2 | 1 x 500GB SSD | 2TB WD BLACK | Windows 10 64
User avatar
Godstrike
Licensed Customer
Licensed Customer
 
Posts: 126
Joined: Sat Apr 16, 2011 9:10 pm

Re: Material Opacity via Encelopes.

Postby juanjgon » Tue Oct 15, 2013 9:48 pm

juanjgon Tue Oct 15, 2013 9:48 pm
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
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: Material Opacity via Encelopes.

Postby Godstrike » Wed Oct 16, 2013 8:08 am

Godstrike Wed Oct 16, 2013 8:08 am
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 | 2 x RTX 2080 ti | 1 x GTX 1070 ti| 1 x GTX 1060 6GB | 1 x 1GB SSD M.2 | 1 x 500GB SSD | 2TB WD BLACK | Windows 10 64
User avatar
Godstrike
Licensed Customer
Licensed Customer
 
Posts: 126
Joined: Sat Apr 16, 2011 9:10 pm

Re: Material Opacity via Encelopes.

Postby juanjgon » Wed Oct 16, 2013 8:20 am

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

-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: Material Opacity via Encelopes.

Postby Godstrike » Wed Oct 16, 2013 11:47 am

Godstrike Wed Oct 16, 2013 11:47 am
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 240 times
Ryzen 5800x at 4.4GHz | 32GB | 2 x RTX 2080 ti | 1 x GTX 1070 ti| 1 x GTX 1060 6GB | 1 x 1GB SSD M.2 | 1 x 500GB SSD | 2TB WD BLACK | Windows 10 64
User avatar
Godstrike
Licensed Customer
Licensed Customer
 
Posts: 126
Joined: Sat Apr 16, 2011 9:10 pm

Re: Material Opacity via Encelopes.

Postby juanjgon » Wed Oct 16, 2013 5:09 pm

juanjgon Wed Oct 16, 2013 5:09 pm
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
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: Material Opacity via Encelopes.

Postby juanjgon » Wed Oct 16, 2013 5:25 pm

juanjgon Wed Oct 16, 2013 5:25 pm
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
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: Material Opacity via Encelopes.

Postby Godstrike » Wed Oct 16, 2013 11:49 pm

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

Carlo
---
Ryzen 5800x at 4.4GHz | 32GB | 2 x RTX 2080 ti | 1 x GTX 1070 ti| 1 x GTX 1060 6GB | 1 x 1GB SSD M.2 | 1 x 500GB SSD | 2TB WD BLACK | Windows 10 64
User avatar
Godstrike
Licensed Customer
Licensed Customer
 
Posts: 126
Joined: Sat Apr 16, 2011 9:10 pm

Return to Lightwave 3D


Who is online

Users browsing this forum: No registered users and 19 guests

Thu Apr 25, 2024 3:19 pm [ UTC ]