POV-Ray : Newsgroups : povray.beta-test : cutaway_texture return black : Re: cutaway_texture return black Server Time
28 Jul 2024 12:24:48 EDT (-0400)
  Re: cutaway_texture return black  
From: Bob Hughes
Date: 25 Jan 2009 05:14:41
Message: <497c3b91$1@news.povray.org>
intersection does same.

"Alain" <ele### [at] netscapenet> wrote in message 
news:497b66b4$1@news.povray.org...
>
> #default{pigment{checker}} // Make sure that the black
> // seen is NOT the default pigment.
>
> difference{
> union{
> box{<0,1,1><2.2,-1,-1>pigment{rgb z}}
> sphere{<-1,0,0>,1.5 pigment{rgb x}}
> }
> box{<-1.3,2,0><1.5,-0.9,-2>}
> cutaway_textures
> translate 4*z
> }
>
> light_source{<0,4,-10> rgb 1}
>
> In 3.6, you get the expected result where you see the pigments of both 
> components.
> In 3.7, the cut part is totaly black.
> If you comment out cutaway_textures, the default pigment, here set as 
> checker, does show.


Post a reply to this message

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