POV-Ray : Newsgroups : povray.newusers : Newbie - inside/outside colours : Re: Newbie - inside/outside colours Server Time
28 Jul 2024 22:23:11 EDT (-0400)
  Re: Newbie - inside/outside colours  
From: TheMightyZog
Date: 5 Jun 2007 12:30:01
Message: <web.46658ec96feb66ceff6e04e90@news.povray.org>
"Stephen" <mcavoys_AT_aolDOT.com> wrote:
> Christian Froeschlin <chr### [at] chrfrde> wrote:
> > TheMightyZog wrote:
> >
> > > The following is a U shaped pipe and I would like the inside to be White and
> > > the outside Yellow.  How can I do it?
> >
> > Model the geometry both for the inside and the outside (your
> > pipe is bound to have some physical thickness), and make the
> > actual object the "difference" of outside - inside. To avoid
> > numeric problems (coincident surfaces), the "inside" pipe
> > should a bit longer than the "outside" pipe.
> >
> > Depending on your geometry, you can often get away with using
> > a scaled down copy of the outer shape for the inner shape.
>
> You forgot to say that the outside should have one texture and the object
> that you are differencing it with, should have another texture.
>
>
> Stephen

Thank you all very much - all obvious, I was just searching Google with the
wrong words and forgot about texture - was just thinking of pigment!


Post a reply to this message

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