POV-Ray : Newsgroups : povray.general : filling a bottle with fluid : Re: filling a bottle with fluid Server Time
29 Jul 2024 12:29:19 EDT (-0400)
  Re: filling a bottle with fluid  
From: Le Forgeron
Date: 6 Jan 2013 04:33:23
Message: <50e944e3$1@news.povray.org>
Le 03/01/2013 18:02, Alain nous fit lire :
> Le 2013-01-03 08:51, Bot a écrit :
>> "joe" <nomail@nomail> wrote:
>>> I've built a soda bottle with a bezier_spline lathe object.  It's
>>> clear glass,
>>> hollow and has a wall thickness.  To fill the bottle with soda I am
>>> creating
>>> another lathe object inside the bottle.  To prevent a coincident
>>> surface problem
>>> should I scale the soda larger to push the soda into the bottle
>>> wall?  Any
>>> better ways to fill a bottle with fluid?
>>
>>
>> Have you tried using csg merge? This prevents surface interference
>> between
>> transparent objects, you could overlap the boundaries slightly and use
>> merge to
>> remove the overlap.
>>
>>
>>
> Not realy advisable as it will remove both surfaces and you need to keep
> one.
> 
> A possibility is to use an union of incomplete shapes:
> - The container, including the inner surfaces except where the content
> is present. Have it's own interior.
> - The bottom of the content, with an intermediate ior and appropriate
> interior.
> - The surface of the content using a disk or any other single faced
> object. Have the same interior as the content and the proper ior.

As you are reviving that thread, please find more details about the idea
of my wicked solution (from 20 August 2012):

http://wiki.povray.org/content/User:Le_Forgeron/HowTo/Perfect_glass

Happy new year 2013!


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.