POV-Ray : Newsgroups : povray.general : Should this take 5 mins to render? : Re: Should this take 5 mins to render? Server Time
20 Nov 2024 08:33:38 EST (-0500)
  Re: Should this take 5 mins to render?  
From: Micha Riser
Date: 3 Oct 2001 05:55:01
Message: <38nep9.uv1.ln@micha.riser>
Rob Brown-Bayliss wrote:

> #local Outer = difference
> {
> intersection
> {
> sphere {<0, 0, 0>, 8.3}
> box {<0,-3,-1>,<10,3,5>}
> }
> sphere {<0, 0, 0>, 6.3}
> }
> difference
> {
> object {Outer}
> difference
> {
> intersection
> {
> sphere {<0, 0, 0>, 8.2}
> box {<0,-2.9,-1.5>,<10,2.9,5>}
> }
> sphere {<0, 0, 0>, 6.4}
> }
> }

union{
        intersection{
                sphere {<0, 0, 0>, 8.3}
                sphere {<0, 0, 0>, 8.2 inverse}
                box {<0,-2.9,-1.5>,<10,2.9,5>}
                }
        intersection{
                sphere {<0, 0, 0>, 6.3 inverse}
                sphere {<0, 0, 0>, 6.4}
                box {<0,-2.9,-1.5>,<10,2.9,5>}
                }
        intersection{
                box {<0,2.9,-1.5>,<10,3,5>}
                sphere {<0, 0, 0>, 8.3}
                sphere {<0, 0, 0>, 6.3 inverse}
                }
        intersection{
                box {<0,-2.9,-1.5>,<10,-3,5>}
                sphere {<0, 0, 0>, 8.3}
                sphere {<0, 0, 0>, 6.3 inverse}
                }
         }      

works a little bit faster when you have automatic bounding turned on.

- Micha


Post a reply to this message

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