User avatar
By deadalvs
#234138
yep, that's official.

since NL say that if an alpha is required, the sky color is «not useful for the user», thus just displayed black.
i don't get this point either :!:

but yes, that's the way it is - at the moment.
User avatar
By tom
#234177
It's not about the sky is not useful so it's rendering black. It's a technical must in compositing. Only with using alpha you can't crop the background perfectly because the sky will always appear in the pixels where you have blur due to dof or even on AA pixels when the edge is sharp. So, it will make your composition fail. This is one of the most common mistake in compositing. Instead the RGB channels comes pre-multiplied with black so you can easily unmultiply black using alpha in compositing applications.
User avatar
By deadalvs
#234179
this clears the thought a bit more precise ...

but i think this should be an option for people that need both the alpha and the sky's color for post-work (even with this draw-back).
User avatar
By tom
#234180
It's not a draw-back, it's a real mistake which you should strictly avoid doing when doing compositing. If you still need to render the sky, you can render the channels apart. It won't take longer time in sum.*

(*) See below: http://www.maxwellrender.com/forum/view ... 341#234341
Last edited by tom on Sun Jun 24, 2007 3:46 pm, edited 1 time in total.
User avatar
By bakbek
#234208
tom wrote:It's not a draw-back, it's a real mistake which you should strictly avoid doing when doing compositing. If you still need to render the sky, you can render the channels apart. It won't take longer time in sum.
I think it's about being used to something that works fine and then changed when it can actually be kept us an option for the user.
User avatar
By tom
#234209
bakbek, technically wrong is wrong, assuming that's working fine is rejecting the ways of doing things correctly in the industry standards.
User avatar
By Mihai
#234227
Alpha wasn't working fine before, and like tom said, this is how it's supposed to be done for the alpha to composite perfectly, especially with Maxwell where dof is a natural consequence of the camera. Even if you had no dof at all, the sky would creep in on the AA edges and your composites would fail.
User avatar
By mashium123
#234251
OK, I'll go on and out myself as the slowest of this class...
I just don't get it... how do you composite the maxwell output?

I receive two files when I tick RGB & Alpha channels in the output channels tab.
This is the first file. It has the filename, I used originally...
Image

This one is the second file. It has the original filename plus "_alpha" at its end:
Image

And this is just an example of an artificial sky that I want to have as background:
Image

I just can't put them together, that
a) the lower part is the plane, cube and sphere & the upper part the artificial sky
b) the lower part is the plane, cube and sphere & the upper part the maxwell sky (yes sometimes I would like to have it.)

Would anyone help me? (Is this off the topic? Sorry, if it so.)
User avatar
By mashium123
#234260
Wow... now how nice is that... :shock:

Thanks so much, Tom. Feels like a mighty door opened up... :D :D :D
User avatar
By deadalvs
#234337
hmm.

from the technical point of view it's all clear.

but to get both a «clear» alpha and color map, the image has to be rendered twice, since the alpha is also SL-dependent and needs time to clear up.

just a few days ago i had to render an image around 3400x2400 px with 6 million polys (with two large trees). so i rendered the color channnel but i also needed the alpha... so again: rendering it a few hours to get a near-non-noisy alpha.

or how did You mean «it won't take longer in sum», Tom ... ? :roll:
User avatar
By Mihai
#234340
The first render, render only the color image, no alpha. The second render, check only alpha, and uncheck the main render. This way it takes the same time as if you had rendered everything in one go.
User avatar
By tom
#234341
Well, sorry it was my mistake telling you it would be the same time. Because, during the test stage without optimizations it was taking same time and this is why Mihai confirms as well, but now I remember important optimizations have been done just before the release and yes, the interleaved mode is rendering faster than you render them apart. Sorry for the confusion.

Image
User avatar
By Mihai
#234343
Just to be absolutely clear, if you will have this option (to render sky and alpha at the same time), don't expect your alphas to crop out the image as you expect. You are basically asking for an option which will provide an incorrect alpha cutout, which will make edges appear where the sky color blends with the edges of an object.
Sketchup 2025 Released

Thank you Fernando!!!!!!!!!!!!!!!!!!!!!!!!!!! hwol[…]

I've noticed that "export all" creates l[…]

hmmm can you elaborate a bit about the the use of […]

render engines and Maxwell

Funny, I think, that when I check CG sites they ar[…]