POV-Ray : Newsgroups : povray.general : Filling a mesh with liquid in Povray : Re: Filling a mesh with liquid in Povray Server Time
30 Jul 2024 14:31:12 EDT (-0400)
  Re: Filling a mesh with liquid in Povray  
From: Bridgeofstraws
Date: 10 Dec 2008 14:00:00
Message: <web.49401079e1e42be3e9749eba0@news.povray.org>
"Oliver Klimek" <oli### [at] oliklide> wrote:
> Hello all,
>
> With an external program I created a wine glass and exported it as a mesh
> for Povray.
> Now I want to fill the glass with virtual wine and render it. If you use CSG
> for the glass it is fairly easy to construct the liquid inside. But how can
> I do it for a triangulated mesh? Will I have to create a mesh for the liquid
> as well or is there a way of doing it with Povray?
>
> thanks
> Oliver

Hi,

I haven't tried modeling a wine glass with liquid in it before, but to add the
wine I'd probably just make a CSG object for the wine and difference the glass
from it.  Of course it might take some time to get the wine CSG to not have any
parts appearing outside your wine glass depending on how complicated it is.
Hope this helps.

Bridgeofstraws


Post a reply to this message

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