Air bubble enclosed in glass
Posted: Thu Jan 19, 2017 1:08 pm
Hi,
I'm trying to get an air bubble enclosed in a glass cube to render more or less correctly.
I know this problem has been stated often, but I couldn't find a newer solution how to do this the best way.
I've found following approaches:
- Just put a sphere inside your glass box. Play with IOR until you're happy, forget physics and optics
- Needs an IOR of one, because there's air inside (but the sphere becomes invisible)
- You need a double sided material (OK, but how do I do that?)
I can make it work with the first approach, but I feel that the refractions somehow don't look convincing. These are not small air bubbles in water, but spherical air enclosures of considerable size.
If anybody has an easy solution, please let me know. thanks a lot
yp
I'm trying to get an air bubble enclosed in a glass cube to render more or less correctly.
I know this problem has been stated often, but I couldn't find a newer solution how to do this the best way.
I've found following approaches:
- Just put a sphere inside your glass box. Play with IOR until you're happy, forget physics and optics
- Needs an IOR of one, because there's air inside (but the sphere becomes invisible)
- You need a double sided material (OK, but how do I do that?)
I can make it work with the first approach, but I feel that the refractions somehow don't look convincing. These are not small air bubbles in water, but spherical air enclosures of considerable size.
If anybody has an easy solution, please let me know. thanks a lot
yp