User avatar
By Nova66
#362217
Using the technique from the diagram that polynurb posted, here's my rendering of an ice cube inside the liquid that is inside a glass:

Image

I modelled each element as a solid which means I had no choice in the surface normal direction. All my surface normals face away from the inner volume of the object.


Andrew.
User avatar
By Thomas An.
#362269
Rogurt wrote:Hi all
It´s a pitty that the images of this topic are not accessible any more since the liquid in glass question is a pretty common one and quite important.
Unfortunately pictures cannot be uploaded here in the forum, right?
:-(
Indeed, most of my staff is gone. The Comcast account where all these images and files were hosted got deleted after moving to a different city with no Comcast coverage.
I put back a couple of the links.
User avatar
By eric nixon
#362270
The problem with this method comes when glass or liquid have different roughness, doesn't it?; frosty glass with water, for example
This isnt a problem if you use 2 mxm's for the glass applied to polyselections, mxm's will have to be derived from each other, i.e. a cloned mxm with different roughness.

@ Andrew, render looks fine, I guess you already know that :).
User avatar
By simmsimaging
#362288
This is an area where I really think Maxwell needs some strategic improvement. I'm sure it is non-trivial but having interpenetrating transparent materials is really the only good way to go in the long run. This method works fine when the shapes are uber simple like Andrew's example, but good luck with really complex shapes. :)
User avatar
By Thomas An.
#362289
simmsimaging wrote:This is an area where I really think Maxwell needs some strategic improvement. I'm sure it is non-trivial but having interpenetrating transparent materials is really the only good way to go in the long run. This method works fine when the shapes are uber simple like Andrew's example, but good luck with really complex shapes. :)
Agreed ! It is too much work right now.
By hatts
#362291
eric nixon wrote:
The problem with this method comes when glass or liquid have different roughness, doesn't it?; frosty glass with water, for example
This isnt a problem if you use 2 mxm's for the glass applied to polyselections, mxm's will have to be derived from each other, i.e. a cloned mxm with different roughness.
True, and it's even easier in a plugin like SW which has "Multi-materials"

Still is a bit irritating to have to deal with poly selections, in C4D it's particularly annoying, though JD has been working on it diligently.

Really it's not a geometrically sound solution, too bad it's the best approach at the moment, but oh well.
User avatar
By polynurb
#362293
I'd say it also depends how familiar one is with uv unwrapping, as a roughness map could do the same.
Unfortuneatly from within rhino that is the only choice.(no multimats)
User avatar
By Thomas An.
#365817
Fernando Tella wrote:The problem with this method comes when glass or liquid have different roughness, doesn't it?; frosty glass with water, for example.
Not really a problem. If I remember correctly the surface of the glass over the liquid should have the same roughness as the liquid itself (thus not frosted) but keep the IOR of the frosted glass.
Will there be a Maxwell Render 6 ?

Let's be realistic. What's left of NL is only milk[…]