POV-Ray : Newsgroups : povray.general : Infinite object question : Re: Infinite object question Server Time
6 Aug 2024 17:01:14 EDT (-0400)
  Re: Infinite object question  
From:
Date: 2 Apr 2002 17:36:13
Message: <oackauobbrirc21f1fqqcl796lo3getm21@4ax.com>
On Wed, 3 Apr 2002 00:27:03 +0200, "JRG" <jrg### [at] hotmailcom> wrote:
> You know that anything out of the bounding box is just clipped, don't you?

Not at all. It separates rays to perform intersection test. But when
intersection point is outside bounding box but ray goes through bounding box
then it is visible.
Also iirc there is a switch in ini settings.

> So a finite bounding_box _means_ a finite object.

I never saw basic trick with bounding box near camera probably.

> > > Either an inverted object isn't infinite, or that message is wrong.
> >
> > Another test: make box, add inverse, hollow and media and tell me where media
> > appear ?
>
> Nowhere. I tried and it looked plain wrong.

I've not tested proposed example. I was really interested what result it could
produce. Perhaps it could be considered a bug. I don't know.

ABX
--
disc{z,-z#macro O()asc(substr("-+((1*(,1,/.-,*/(,&.323/'1"e,1))*.1-4#declare
e=e-1;#end#local e=26;5pigment{#local g=function(_){ceil(_)-_}function#local
k=function{pattern{object{sphere_sweep{linear_spline 13#while(e)<O(),O()//35
>.01#end}}}}{k(g(atan2(x,y)),g(ln((y+x)^2+1e-5)),0)}}finish{ambient 1}}//ABX


Post a reply to this message

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