POV-Ray : Newsgroups : povray.binaries.images : Bottle : Re: Bottle Server Time
13 Aug 2024 21:17:10 EDT (-0400)
  Re: Bottle  
From: Optium
Date: 22 Jan 2003 12:31:17
Message: <3e2ed565$1@news.povray.org>
*such a moron*
I guess trying to make this at 12 last night wasn't the best idea, I put the
merge in the wrong place (replacing the union in the black bottle top with
merge...instead of the union of the bottle pieces) *sighs*
Heh, well it's starting to look ok. Thanks for the help everyone :)

"Hugo Asm" <hua### [at] post3teledk> wrote in message
news:3e2e9701$1@news.povray.org...
> > I tried merge last night, and it does the same thing as union.
> > I think this may be because the objects are transparent..
>
> Hughes is right. If you have nested unions, be sure to use merge only in
> those who combine surfaces that overlap. For example:
>
> union {
>     // bottle
>     merge {
>         cylinder { .... }
>         sphere { ... }
>         cylinder { .... }
>     }
>
>     // black bottle head
>     union {
>         sphere { ... }
>         cylinder { .... }
>     }
> }
>
> This is a nested union. It allows the whole bottle (with head) to be moved
> in one piece, but I put the merge only where it's needed. If this still
> doesn't work, I guess it's because you've made the overlapping objects
> hollow?  This will be another story.
>
> Regards,
> Hugo
>
>


Post a reply to this message

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