POV-Ray : Newsgroups : povray.general : Scale problems : Re: Scale problems Server Time
5 Aug 2024 08:21:50 EDT (-0400)
  Re: Scale problems  
From: Warp
Date: 17 Oct 2002 16:02:00
Message: <3daf1738@news.povray.org>
Anthony D. Baye <ban### [at] rapidnetcom> wrote:
> Can anybody tell me if there is a theoretical limit to the size/distance
> calculations in pov?

> I'm trying to do a scene inspired by the videogame Halo, but  my
> gas-giant is the size of Jupiter (1 unit = 1 inch.) yet it copletely
> disappears from less than 170 miles out.  Unless i'm much mistaken, an
> object that size should be vizible from several thousand miles distant.

  The accuracy of floating point numbers is limited.
  With such extreme scales you are probably exceeding the accuracy limits
needed for proper raytracing by a whole lot.
  You will have to use a much bigger value as unit (such as 1 km or more).

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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