POV-Ray : Newsgroups : povray.beta-test : Possible bug in cutaway_textures in beta30 : Re: Possible bug in cutaway_textures in beta30 Server Time
28 Jul 2024 12:35:15 EDT (-0400)
  Re: Possible bug in cutaway_textures in beta30  
From: Bob Hughes
Date: 25 Jan 2009 12:54:41
Message: <497ca761$1@news.povray.org>
"clipka" <nomail@nomail> wrote in message 
news:web.497c644b42b9e70e3c6235530@news.povray.org...
> "Bob Hughes" <omniverse charter net> wrote:
>> Curiously, if the camera is rotated by 180*z it either fixes or causes 
>> the
>> error when changing the differencing plane to +y or -y.
>
> Maybe it's a question of interior_texture?


Tried adding that in the sphere and box union just now, same result. If put:

texture{pigment{rgb 1}}
interior_texture{pigment{rgb 1}}

into the CSG after the differenced box it overrides the cutaway.

Something else I tried was adding 'inverse' ahead of cutaway_textures, 
thinking it might move the blank cutaway surface outside or be non-blank, 
and got an error about cutaway_textures needing to be used in intersection 
or difference (3.6 errors on this too).
Putting inverse afterward doesn't error, but still only black cutaway.

Looked at the program code (3.6 lighting.cpp, 3.7 trace.cpp) just to see 
what might have changed, just out of curiosity not knowing what's really 
going on in there. Main reason why I admire the programmers, very little of 
it makes sense to me. That stuff scatters around to so many places in the 
code I could never decipher it.


Post a reply to this message

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