Air bubble enclosed in glass

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
yogiparish
Licensed Customer
Posts: 19
Joined: Fri Dec 06, 2013 7:17 pm
Contact:

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
User avatar
brasco
Licensed Customer
Posts: 198
Joined: Wed Apr 13, 2011 2:56 pm

Hi,

You just need to have the inside bubbles with inverted normals so Octane knows what's "inside" (Glass) and what's "outside" (Air).
That should refract as it would in reality.

cheers
brasc
Rig#1 Win 10 x64 | GTX 1080Ti | GTX 1080Ti | GTX 1080Ti | i7 7900K 4.7GHz | 64GB
Rig#2 Win 10 x64 | GTX 1080Ti | GTX 1080Ti | GTX 1080Ti | i7 3930K 4.4GHz | 32GB
Rig#3 Win 10 x64 | GTX 1070| GTX 1070| GTX 1070| i7 2600K 4.8GHz | 32GB
Post Reply

Return to “Maxon Cinema 4D”