View Full Version : Liquids inside a transparent object
ThirdEye 09-18-2002, 09:32 PM How to model a liquid inside a glass or a bottle? My problem is that if I use splines with lathe nurbs for modeling glass and water the 2 objects have in common one raw of points and in the final render there's a fusion between glass and water. :shrug: look at the pic below to better understand what I need...
|
|
Per-Anders
09-18-2002, 09:35 PM
that's the same in any modeller/render engine... just move the points of the spline in slightly to give a slight gap between the liquid and the glass... never have two surfaces overlapping exactly.
ThirdEye
09-18-2002, 09:46 PM
Already done it but there's a problem... if I scale the liquid I lose all the refraction effects between liquid and glass... look at this pic (Softimage XSI), I'm trying obtaining the same effect of the 2 light blue circles... The liquid seems to make a curve on its edge near the glass (ok I can model it) but at the same time seems to penetrate the glass in the front surface.
derwolpertinger
09-18-2002, 11:09 PM
well, i just modelled this tiny curve. it works perfectly!:thumbsup:
ThirdEye
09-18-2002, 11:30 PM
which one? :wip:
LucentDreams
09-19-2002, 01:13 AM
add a displacement thast is super subtle (49%grey, .01m) that should be enough to make it not intersect without scaling or moving the inner obect. For really complex shapes it may have to be a little more.
Per-Anders
09-19-2002, 01:30 AM
ahhh... cunning, i like it :) good tip
LucentDreams
09-19-2002, 01:34 AM
thank NAAM its a little trick I picked up from his Translucency fake tutorial and have found applies to a lot of things.
ChrisK
09-19-2002, 04:56 AM
Going out of lurk mode for a moment...
There was another interesting method mentioned on postforum. See here:
See here. (http://www.postforum.com/forums/read.php?f=6&i=56110&t=56056)
Chris
LucentDreams
09-19-2002, 05:07 AM
boy today is full of learning for everyone, I am sure with all the info everyones been sharing the last few days, we'll all be rendering photorealistic bottle and wineglasses in the blink of an eye pretty soon. I have already nown that actually modeling the miniscus (raised edge of liquid due to surface tension) helps a lot, but this is a really interesting trick of not including the inner geometry, and he provided some decent results too.
stevedeer
09-19-2002, 06:49 AM
This was spoken about on Postforum a week or so ago, some nice illustrative solution where posted
here's the link
http://www.postforum.com/forums/read.php?f=6&i=56056&t=56056
steve
stevedeer
09-19-2002, 06:50 AM
Doh
I really should learn to read all posts first!!!
steve
ThirdEye
09-19-2002, 10:18 AM
Originally posted by Kaiskai
add a displacement thast is super subtle (49%grey, .01m) that should be enough to make it not intersect without scaling or moving the inner obect. For really complex shapes it may have to be a little more.
This works perfectly, thank you kai! :thumbsup:
derwolpertinger
09-19-2002, 01:06 PM
just have to thank kai (or naam) for that displacement trick!!:applause: :applause: it is so time saving, less annoying and more precise!:love:
CGTalk Moderation
01-13-2006, 04:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.