POV-Ray : Newsgroups : povray.newusers : size : Re: size Server Time
4 Nov 2024 13:59:30 EST (-0500)
  Re: size  
From: Christopher James Huff
Date: 21 Aug 2002 16:25:13
Message: <chrishuff-C3C4F2.15104821082002@netplex.aussie.org>
In article <3d62eb32@news.povray.org>,
 "jfmiller" <jfm### [at] hotmailcom> wrote:

> What are the limits?  I dont thing I've ever used anything bigger then 10000
> or closer to 0 then .001, but it would be nice to know.

The frame.h file defines two constants, Small_Tolerance and 
Max_Distance. Small_Tolerance is 0.001, and is the closest an 
intersection can get to the beginning of the ray before it is thrown 
away, Max_Distance is 1.0e7 (or 10000000) and is the furthest an 
intersection can get from the ray origin. There is also EPSILON which is 
equal to 1.0e-10 (0.00000000001), anything < EPSILON is usually 
considered 0. Some shapes define their own values...actually, I'm not 
sure if the first two are actually used anywhere.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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