POV-Ray : Newsgroups : povray.unofficial.patches : interior_texture doesn't work with CSG? : Re: interior_texture doesn't work with CSG? Server Time
2 Sep 2024 06:19:54 EDT (-0400)
  Re: interior_texture doesn't work with CSG?  
From: Jetlag
Date: 28 Jul 2000 11:50:29
Message: <3981abc5@news.povray.org>
> #version Unofficial MegaPov 0.5;
>
> global_settings { ambient_light 4 }
> camera { location <-1,2,-5>*1.3 look_at 0 angle 35 }
> light_source { <170,200,-50>, 1 }
> plane { y, -1 pigment { checker rgb 1, rgb .5 } }
>
> sphere
> { -x*1.2, 1
>   pigment { rgbt <1,1,0,.9> }
>   interior_texture { pigment { rgb <0,1,1> } }
> }
> merge
> { sphere { x*1.2, 1 }
>   sphere { <1.2,.5,0>, 1 }
>   pigment { rgbt <1,1,0,.9> }
>   interior_texture { pigment { rgb <0,1,1> } }
> }

interior_texture is not getting distributed to the spheres, do this:

> merge
> { sphere { x*1.2, 1
>     pigment { rgbt <1,1,0,.9> }
>     interior_texture { pigment { rgb <0,1,1> } }
>   }
>   sphere { <1.2,.5,0>, 1
>     pigment { rgbt <1,1,0,.9> }
>     interior_texture { pigment { rgb <0,1,1> } }
>   }
> }


And about those shadows, comment out your own interior_texture's and watch
the shadows on the checkered plane get lighter, seems right to me, unless
you meant something else.


Post a reply to this message

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