Working with glass and liquid.

Discuss or ask critique about your current works
Forum rules
Important notice: All artwork submitted on our public gallery forums gallery forums may or may not be used by OTOY for publication on our website gallery.
If you do not want us to publish your art, please mention it in your post clearly. (put a very red small diagonal cross in the left right corner of the image)
Any images already published on the gallery will be removed if the original author asks us to do so.
We recommend placing your credits on the images so you benefit from the exposure too, and use a minimum image width of 1200 pixels, and use pathtracing or PMC. Thanks for your attention, The OctaneRender Team.


For new users: this forum is moderated. Your first post will appear only after it has been reviewed by a moderator, so it will not show up immediately.

This is necessary to avoid this forum being flooded by spam.
User avatar
mlody47
Licensed Customer
Posts: 868
Joined: Mon Feb 01, 2010 8:02 pm
Location: Warsaw Poland
Contact:

Stromberg90 wrote:The new renders is interesting, i did one test myself with the meshes intersecting and didnt get any artifacts...
So i dont know what the problem is, and i have so many diffrent versions about this that i dont know wich one is true either :P

But please keep on testing :)

so You did intersections wrong :) Void got it right . When surface are intersecting I got same effect like first glass of voidmonster.

Void- Good job with those tests by the way
i7 2600K + 2X gtx 580 + GTX 560 Ti + 8gbram + Win7 +
AUTODESK SOFTIMAGE 2012
www.behance.net/mlody47
Stromberg90
Licensed Customer
Posts: 48
Joined: Sun Jan 17, 2010 12:59 am

Well i doubt i got it wrong, cause i have done it like this on every single glass - liquid render i have done :P
when it works for me and not for you then you are doing something wrong ;)

Still hope to see some more test on this, dont want to get in a discussion about if i have done it wrong, i only did it the way i learnt it, and i works fine... for me atleast :)
Win 7 64-Bit, Q6600, Geforce 9800 GTX+, 4 GB RAM
simmsimaging
Licensed Customer
Posts: 107
Joined: Tue Feb 16, 2010 3:24 am

I just tried one using a model setup for Vray, so it's a solid glass object with an interpenetrating solid liquid (normals pointing out), and interpenetrating ice cubes. Seems to work okay on this one. Seems odd that the results are so variable doesn't it?

I'm still waiting for MLT and refraction attenuation before going too far with these kind of images, but I was curious to see how it would look.

b
Attachments
Octane1_5000samples.jpg
http://www.simmsimaging.com
blog.simmsimaging.com
i7 980 24GB Ram GTX580 3GB Vista 64 Ultimate
User avatar
Voidmonster
Licensed Customer
Posts: 54
Joined: Thu Apr 08, 2010 6:20 am
Location: Oceanside, CA
Contact:

Just to go slightly backwards in the history of this thread, a re-render of the inciting image using the technique I figured out with the simpler experiments. Even though it's not currently possible to do an accurate comparison to Maxwell due to the absorption effect in Maxwell's dialectric simulation, this is still kind of interesting.

The Octane render using flipped normals looks much, much better to me. I'd render with that and be happy about it. Enough so that I'm going to go ahead and finish up the image I had in mind at the very beginning of this little excursion.

The key differences I notice between Maxwell and Octane.

First a great big DUH on my part. Botched the light intensity and I didn't try to match the tone curve. Plus the difference in the floor material, so there's an overall large difference in the light distribution.

Second, the base of the glass still renders dark in Octane. I don't know why -- I've tried rendering it so that it's floating above my ground plane but that didn't really help. Seems to be something to do with fresnel falloff. The effect of that is present in the interreflections within the glass too. Things there are generally darker.

It looks to me like there's a distinct difference in the IOR between the two images. I was really careful to set that, including doing the IOR averaging that PhilBo suggests. Dunno what's up there. Still, it's within the tolerance for general 'look' of glass+liquid. I'm happy with it.

The last thing is antialiasing, but we all know about that and how to fix it.

With that done, it's time to render out one last test. In it I will show conclusively why the interpenetrating geometry method (or VRay technique) should only be used as a last resort.
Attachments
Octane with PhilBo's technique. The normals are not flipped.
Octane with PhilBo's technique. The normals are not flipped.
Rendered in Maxwell. 3 hours, 22 minutes.
Rendered in Maxwell. 3 hours, 22 minutes.
Rendered in Octane using PhilBo's technique plus flipped normals. 45 minutes.
Rendered in Octane using PhilBo's technique plus flipped normals. 45 minutes.
-Zak Jarvis
Rendering with Phenom X4 9550 @ 2.20Ghz, 8 gigs of ram, Win7 64bit, GeForce GTX 260 @ 576MHz, 216 core
User avatar
radiance
Posts: 7633
Joined: Wed Oct 21, 2009 2:33 pm

keep this scene handy, and maybe also can you zip it up and PM it to me?
this is good material to test MLT with.

Radiance
Win 7 x64 & ubuntu | 2x GTX480 | Quad 2.66GHz | 8GB
Stromberg90
Licensed Customer
Posts: 48
Joined: Sun Jan 17, 2010 12:59 am

I see what you mean, i also think the one with the flipped normals look better.
Win 7 64-Bit, Q6600, Geforce 9800 GTX+, 4 GB RAM
User avatar
Voidmonster
Licensed Customer
Posts: 54
Joined: Thu Apr 08, 2010 6:20 am
Location: Oceanside, CA
Contact:

radiance wrote:keep this scene handy, and maybe also can you zip it up and PM it to me?
this is good material to test MLT with.
Sure thing! Do you want it with or without all the textures/HDR maps? The only texture that's particularly special is the one I'm using on the glass for the micro-imperfections. The HDR is from one of the public free HDR sites and the ground plane is an Arroway texture.
-Zak Jarvis
Rendering with Phenom X4 9550 @ 2.20Ghz, 8 gigs of ram, Win7 64bit, GeForce GTX 260 @ 576MHz, 216 core
User avatar
Voidmonster
Licensed Customer
Posts: 54
Joined: Thu Apr 08, 2010 6:20 am
Location: Oceanside, CA
Contact:

And here's a nice example of why rendering with interpenetrating geometry should only be used as a last resort.

First and foremost, it's slower to render clearly and generally raises the noise level in the scene. This image took about an hour to render up to 16,000 samples. The interpenetrating glass is VERY noisy.

Second it's further from correct. There should be apparent reflection happening between the liquid and glass interface. Instead the liquid appears to fill the volume of the glass out to the very edge in a way that actual glass does not. See attached photo reference.

Note, my test glasses aren't modelled similarly enough to the physical shot glass to really see how the light interacts between layers. So, of course, I am currently modeling a 0.01mm accurate version of my shot glass.

I am a gigantic dork, but at least this time I've got good bourbon on board.
Attachments
Photo reference.
Photo reference.
On the left, interpenetrating geometry. On the right, PhilBo's technique plus flipped normals.
On the left, interpenetrating geometry. On the right, PhilBo's technique plus flipped normals.
-Zak Jarvis
Rendering with Phenom X4 9550 @ 2.20Ghz, 8 gigs of ram, Win7 64bit, GeForce GTX 260 @ 576MHz, 216 core
Stromberg90
Licensed Customer
Posts: 48
Joined: Sun Jan 17, 2010 12:59 am

Where the edges are thin it's supposed to look like the liquid is filling the glass completly to the edge.
So in you latest test the left one looks more correct, but in the way of noise and rendertime the right one will be more effictient.
Win 7 64-Bit, Q6600, Geforce 9800 GTX+, 4 GB RAM
Stromberg90
Licensed Customer
Posts: 48
Joined: Sun Jan 17, 2010 12:59 am

Here is a vray tutorial refrence.
Image
Win 7 64-Bit, Q6600, Geforce 9800 GTX+, 4 GB RAM
Post Reply

Return to “Works In Progress”