POV-Ray : Newsgroups : povray.general : Scale problems : Re: Scale problems Server Time
5 Aug 2024 08:21:22 EDT (-0400)
  Re: Scale problems  
From: Vahur Krouverk
Date: 17 Oct 2002 16:24:50
Message: <3DAF1D80.6040300@starman.ee>
Warp wrote:
> 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.

I don't think, that this is due to accuracy problems with floating 
points. 170 miles is 1.07E07 inches and this exceeds just a little bit 
value of Max_Distance (1.0e7), which is maximum distance for ray-object 
intersection (according to comment in frame.h)


Post a reply to this message

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