POV-Ray : Newsgroups : povray.general : filling a bottle with fluid Server Time
29 Jul 2024 10:26:02 EDT (-0400)
  filling a bottle with fluid (Message 11 to 14 of 14)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: joe
Subject: Re: filling a bottle with fluid
Date: 23 Aug 2012 22:55:01
Message: <web.5036ec92da492adaad797add0@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> On 21-8-2012 4:26, joe wrote:
> > Ok but why not just scale 1.00001 and push the liquid into the bottle wall?
> > Doesn't that eliminate both problems?
>
> No. See image in p.b.i.
>
> Thomas

Thanks for the example Thomas!  I will be digesting it this weekend!


Post a reply to this message

From: Bot
Subject: Re: filling a bottle with fluid
Date: 3 Jan 2013 08:55:01
Message: <web.50e58cd3da492adaba71d3320@news.povray.org>
"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.


Post a reply to this message

From: Alain
Subject: Re: filling a bottle with fluid
Date: 3 Jan 2013 12:02:50
Message: <50e5b9ba@news.povray.org>

> "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.



Alain


Post a reply to this message

From: Le Forgeron
Subject: Re: filling a bottle with fluid
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

<<< Previous 10 Messages Goto Initial 10 Messages

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