POV-Ray : Newsgroups : povray.newusers : Detail on curved surfaces? : Re: Detail on curved surfaces? Server Time
2 Nov 2024 17:20:41 EDT (-0400)
  Re: Detail on curved surfaces?  
From: Dave!
Date: 8 Oct 2003 15:10:02
Message: <web.3f8460317ae16a6af0000e6e0@news.povray.org>
Mike Williams suggested that I:

>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>
>    }
>  }
>}

Yes indeed!  That was exactly what I was looking for.  You'll save me
approximately a zillion hours in code-time.

Thanks once again.

Dave!


Post a reply to this message

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