POV-Ray : Newsgroups : povray.newusers : Draw Vistas Option : Re: Draw Vistas Option Server Time
30 Jul 2024 22:26:23 EDT (-0400)
  Re: Draw Vistas Option  
From: Mike Williams
Date: 2 Feb 2004 13:42:20
Message: <IH06tMAOnpHAFwyv@econym.demon.co.uk>
Wasn't it Carl Hoff who wrote:
>> Here's a rather artificial case where a bounding sphere is faster
>>
>> #include "functions.inc"
>> camera { location  <0, 0, -4> look_at <0, 0, 0> angle 50}
>> light_source {<-100,200,-100> colour rgb 1}
>>
>> #declare Thing =
>> isosurface {
>>   function { x*x + y*y + z*z - 1 + f_noise3d(x*10, y*10, z*10)*0.3}
>>         max_gradient 5
>>         contained_by{sphere{0,2}}
>>         pigment {rgb 1}
>>   bounded_by {box {-1,1}}
>>   //bounded_by {sphere {0,1}}
>> }
>>
>> object {Thing}
>
>Thanks... I see what I was missing now.

One interesting thing to note about this scene is that it behaves
differently with +UR and -UR.

With +UR, POV-Ray says "Warning: unnecessary bounding object removed"
and it renders *faster* without the bounds.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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