Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

shape node Opaque flag deprecated?

shape node Opaque flag deprecated?

aaronfross
Collaborator Collaborator
1,878 Views
5 Replies
Message 1 of 6

shape node Opaque flag deprecated?

aaronfross
Collaborator
Collaborator

Hi,


Shape node opacity is now automatic. If an object has a shader with non-zero transparency, then that object renders as "non opaque" automatically. That's great because it saves users the hassle of flipping the "Opaque" attribute in each object's shape node.


However, the Opaque attribute is still there, and its state does not change automatically. So we're in a weird situation where the shape node says it's opaque, but the renderer ignores that attribute and renders the shape as "non-opaque". This is confusing for the user. Can we find a better solution for this?


My first idea was for the shape node attribute to change itself automatically, but on reflection I realized that's probably a bad idea, and not practical. Maybe the shape node attribute just needs to go away completely. If the opaque render optimization is automatic, then that manual attribute is irrelevant, and the UI is just creating more problems than it solves.

Thanks

Aaron

0 Likes
Accepted solutions (1)
1,879 Views
5 Replies
Replies (5)
Message 2 of 6

sebastien.blaineau.ortegaHRM3U
Autodesk
Autodesk
Accepted solution

Hello Aaron,

indeed this opaque flag is simply meant to disappear. We couldn't do it in this release, because there are still use a few use cases where this automatic detection doesn't work (custom shaders being one of them). In that case, the opaque flag value is considered. In most cases, it's simply ignored.

So until this is fully supported, we left this parameter as a backdoor.

0 Likes
Message 3 of 6

aaronfross
Collaborator
Collaborator

Great, thanks for the clarification!

0 Likes
Message 4 of 6

rico
Participant
Participant

There is one problem with the automatic. If I want to render a glass with caustics it's always opaque. But in this case the caustics are added to the light which goest trough the non opaque object.
In this case the areas behind the glass object are too bright.

0 Likes
Message 5 of 6

Anonymous
Not applicable

Hi, I'm doing some first evaluation tests with C4D2A (v3.3.5.1)

Here glass does not let light pass with the material preset "glass" in standard_surface.

Nothing changed, specular and transmission have weight 1, everything else is off.

Am I missing something here?


Also how would you create a print with alpha texture on a glass?

Geometry is a separate polygon 0.05mm next to the glass (volume)

Cutout opacity? That doesn't seem to have an effect...

0 Likes
Message 6 of 6

Stephen.Blair
Community Manager
Community Manager

Please post this as a new question.



// Stephen Blair
// Arnold Renderer Support
0 Likes