POV-Ray : Newsgroups : povray.unofficial.patches : contained_by : Re: contained_by Server Time
2 Sep 2024 06:14:19 EDT (-0400)
  Re: contained_by  
From: Mr  Art
Date: 26 Apr 2000 11:55:24
Message: <39071186.ABCA5EB3@gci.net>
It is just an old convention for describing a box (box{max,min}).
And it seems to have been with us forever. But lets give this 
description a try: box { <4,0,4>,-4 }= a box that has
no size in this universe (max. is less then min) but might have
some volume in a non-POVian universe.

Sigmund Kyrre Aas wrote:
> 
> Not that it matters all that much..
> 
> Why do I get a surface here:
> 
> isosurface {
>   function {sqr(x)+sqr(z)-sqr(y)}
>   contained_by { box { -4,<4,0,4> } }
>   pigment {rgb y}
> }
> 
> but not here:
> 
> isosurface {
>   function {sqr(x)+sqr(z)-sqr(y)}
>   contained_by { box { <4,0,4>,-4 } }
>   pigment {rgb y}
> }


Post a reply to this message

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