POV-Ray : Newsgroups : povray.newusers : How to get preserve color through an intersection call? : Re: How to get preserve color through an intersection call? Server Time
4 Jul 2024 14:25:59 EDT (-0400)
  Re: How to get preserve color through an intersection call?  
From: Jim Holsenback
Date: 3 Oct 2010 09:06:29
Message: <4ca87fd5@news.povray.org>
On 10/03/2010 04:42 AM, Brad wrote:
> #declare shell = difference{
> sphere{<0,0,0> 6}
> sphere{<0,0,0> 5}}

try assigning a pigment to the above and that might better visualize
whats going on here ...

> // and this is putting the spherical shell with holes in it with the filled
> //holes
> 
> union{
> object{shell_with_cylindercutouts texture {pigment{color rgb<0,0,0>}}}
> object{cutouts}}

then comment out the union stuff and look at the "cutouts" only ... I
didn't try it but I think having the "bunch_of_cyclinders" extend beyond
the outer skin of the "shell" is the problem.


Post a reply to this message

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