POV-Ray : Newsgroups : povray.general : Far objects are pruned???!!! : Re: Far objects are pruned???!!! Server Time
12 Aug 2024 23:18:20 EDT (-0400)
  Re: Far objects are pruned???!!!  
From: Steven Pigeon
Date: 27 Dec 1998 16:01:20
Message: <36869FD8.580A407A@iro.umontreal.ca>
Steven Pigeon wrote:

> I have this small problem... I have a very large object
> that is very far from the center ( <0,0,0>), but it seems
> that pov prunes objects that are not inside <+-1000000,
> +-1000000,+-1000000>... Is there a way of settings this?
>
> Best,
>
>     S.

Oh, yeah, I use version 3.1a for windows.

It seems in fact that the bug is much more perverse...

#declare EarthMoonDistance =    469928448; // Earth-Moon distance
#declare EarthRadius       =      6379439.6; // in meters (thus, 1 pov unit =~=
1 m)
#declare MoonRadius        =      3476183; // for now

box
 {
  0, MoonRadius
  translate <0,-EarthRadius,0> + EarthMoonDistance*vnormalize(<0,0.5,1>)

  pigment { Green }
 }

Yields a visible box, but:

sphere
 {
  0, MoonRadius
  translate <0,-EarthRadius,0> + EarthMoonDistance*vnormalize(<0,0.5,1>)

  pigment { Green }
 }


does not yield a visible sphere... the object doesn't even exist!

suggestions?



Best,

    S.


----------------------------------------------------------
Steven Pigeon                     Ph. D. Student.
University of Montreal.
pig### [at] iroumontrealca           Topics: data compression,
pig### [at] jspumontrealca          signal processing,
ste### [at] researchattcom           non stationnary signals
                                  and wavelets.
----------------------------------------------------------
         http://www.iro.umontreal.ca/~pigeon


Post a reply to this message

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