POV-Ray : Newsgroups : povray.general : Merge Bug ? : Re: Merge Bug ? Server Time
13 Aug 2024 01:23:41 EDT (-0400)
  Re: Merge Bug ?  
From: Spider
Date: 6 Dec 1998 17:53:10
Message: <366B0A32.538B38BA@bahnhof.se>
It seems to me that you are right...
It's in the merge... Strange that the boxes should eliminate eachother...
Well... Congratulations...

I wonder why it hasn't been found earlier....

//Spider


Ken wrote:
> 
> Would one of you kind people do a sanity check for me
> on this bit of pov code and tell me if it's a bug or
> a feature. If I'm not mistaken when using the merge
> function it should only remove interior surfaces
> and not act like a intersection/difference function.
> That is not what is happening with this useage as
> defined below. IF it's a bug it will be the first
> I have found and I will take it through the proper
> channels once verified.
> 
> Thank you for your time,
> 
> Ken Tyler
> 
> camera{location<10,15,-25>look_at y*5}
> 
> light_source{<0, 50,-730>rgb 1}
> 
> //Incorrect behavior:
> merge{
> box{<-5, 5,-1>,<5, 7,1>}
> box{<-1,-5,-1>,<1,10,1>}
>  pigment{rgbf<1,0,0,1>}
>   interior{ior 1.9}
>    finish{ambient .95}
> }
> 
> //Correct behavior:
> merge{
> sphere{<-10.0,10,0>,5
>  pigment{rgbf<1,0,0,1>}
>   interior{ior 1.9}
>    finish{ambient .95}
> }
> 
> sphere{<- 7.5,10,1.5>,5
>  pigment{rgbf<0,0,1,1>}
>   interior{ior 1.9}
>    finish{ambient .95}
>  }
> }
> 
> plane{-z,-50 pigment{rgb 1}}


Post a reply to this message

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