POV-Ray : Newsgroups : povray.beta-test : cutaway_texture return black Server Time
28 Jul 2024 12:31:06 EDT (-0400)
  cutaway_texture return black (Message 1 to 2 of 2)  
From: Alain
Subject: cutaway_texture return black
Date: 24 Jan 2009 14:06:28
Message: <497b66b4$1@news.povray.org>
The result is black, NOT the default texture.

Render the following minimal scene in both 3.6 and 3.7

#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.

-- 
Alain
-------------------------------------------------
You know you've been raytracing too long when you even think about using Povray 
for writing letters.
Sven Rudolph (Germany)


Post a reply to this message

From: Bob Hughes
Subject: Re: cutaway_texture return black
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.