POV-Ray : Newsgroups : povray.general : Infinite object question : Re: Infinite object question Server Time
6 Aug 2024 17:03:48 EDT (-0400)
  Re: Infinite object question  
From: Warp
Date: 2 Apr 2002 17:43:31
Message: <3caa3412@news.povray.org>
JRG <jrg### [at] hotmailcom> wrote:
>>   An inverted box is infinite.

> No, it's not.
> At least not from POV-Ray's point of view (just try).

  In the given example, if I replace "difference" with intersection, the
object becomes finite (POV-Ray reports 1 object, 0 infinite). If I then
make the box inverted, it becomes infinite (POV-Ray reports 1 object,
1 infinite).
  By logic, making the box inverted makes it infinite. Difference inverts
internally the second and subsequent objects, which explain what is
happening.

  Clipping the whole object (with a proper clipped_by object) makes it
finite (POV-Ray reports 1 object, 0 infinite). This is logical because
now the object has been limited to the clipped_by object, which is finite.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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