POV-Ray : Newsgroups : povray.general : Infinite object question : Re: Infinite object question Server Time
19 Nov 2024 07:46:33 EST (-0500)
  Re: Infinite object question  
From: Christopher James Huff
Date: 2 Apr 2002 17:17:47
Message: <chrishuff-0655F0.17185602042002@netplex.aussie.org>
In article <f1akau43uc8teqpiq8pcch83k4s23rjkui@4ax.com>,
 W?odzimierz ABX Skiba <abx### [at] babilonorg> wrote:

> ok, try inverse box - it is hole in everything
> 
> // begin scene
> box{-1 1 translate z*10 inverse}
> // end scene
> 
> Warning: Camera is _inside_ a non-hollow object.
> And put camera anywhere to test where box will finish.

You are mistaken. This message means exactly what it says, the camera is 
inside the box. It has nothing to do with finite-vs-infinite, any solid 
shape can produce it. If you put it at < 0, 0, 0>, you won't get this 
message.


> but min/max_extent returns coordinates of _bounding box_ which isn't 
> object but speed trick - as documentation says: "the bounding box 
> does not represent the actual dimensions of the object".

But infinite objects don't have finite bounding boxes. And anyway, the 
bounding box of an axis-aligned box is pretty accurate.

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

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