POV-Ray : Newsgroups : povray.newusers : Detail on curved surfaces? : Re: Detail on curved surfaces? Server Time
2 Nov 2024 17:19:24 EDT (-0400)
  Re: Detail on curved surfaces?  
From: Dave!
Date: 7 Oct 2003 13:00:01
Message: <web.3f82eff17ae16a6af0000e6e0@news.povray.org>
As Mike Williams was kind enough to point out:
>Take a look at the "object" pattern. It allows a surface to have a
>different texture wherever it intersects a second invisible object. Your
>thingie can be coded like this:
>
>#declare thingie = sphere {<0,0,0>,15
>  pigment {
>    object {
>      cylinder {<-4,0,-20>,<-4,0,-10>,4}
>      rgb <1,1,1>
>      rgb <.6,.6,.8>
>    }
>  }
>}

Now the only problem is that I'm at work and can't play around with this
until I get home.  But it sounds like you've hit on exactly what I need!

Thanks so much for the quick response--I'll post again tomorrow with an
update on my progress.

Dave!


Post a reply to this message

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