Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Build-in transparency without closures ?

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
maxtarpini
287 Views, 5 Replies

Build-in transparency without closures ?

Ciao, really no way to use the old build-in way to get opacity/transparency without being forced to use an all closure approach ?

5 REPLIES 5
Message 2 of 6
maxtarpini
in reply to: maxtarpini

I mean beside coding one myself ...

2720-custom-transp.png

funny thing it takes 60secs to render vs standardsurface that takes 70secs 🙂

but then I have to support also aovs and god only knows what else 😕

Message 3 of 6
Stephen.Blair
in reply to: maxtarpini

Opacity uses closures now, so short of writing your own shader, there's no other way.



// Stephen Blair
// Arnold Renderer Support
Message 4 of 6
maxtarpini
in reply to: maxtarpini

yep but that's a minefield.. any optimization or trick or adhoc implementation arnold is doing can broke everything.. it's good because so I learn some internals.. ie fixed everything on beauty pass without performance drop but .. for example with aovs on a first try I can only trace binary/clipped opacity ..

2721-transp-beauty.png

2722-transp-aov.png

ie the borders should be semi-opaque as in the beauty

another problem is that on specular aovs it breaks somehow sampling .. if you look close you can see the quad holding the leaves producing bad sampling especially on the upper right border .. where it should be fully transparent.

2723-transp-aov-spec.png

Message 5 of 6
maxtarpini
in reply to: maxtarpini

a'right, one has simply to track opacity on the continuation ray path and composite it 'over' manually otherwise the last set into an aov will override the others creating the binary clipping seen above (which I keep however as an option to speed up things, I think vray or prman has also an option for this).

Message 6 of 6
maxtarpini
in reply to: maxtarpini

btw.. are you aware of this in your impl ? the stochastic lookup has much more problems to visually converge on pure albedo aovs ... 16samples here (for casual viewers.. pink should be flat not noisy).

2737-stochastic-transp.png

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report