POV-Ray : Newsgroups : povray.general : Povray script to OpenGL? : Re: Povray script to OpenGL? Server Time
4 Aug 2024 22:18:30 EDT (-0400)
  Re: Povray script to OpenGL?  
From: Marc Jacquier
Date: 25 Mar 2003 13:29:05
Message: <3e809ff1@news.povray.org>

3e805d9a$1@news.povray.org...
> "Warp" <war### [at] tagpovrayorg> wrote in message
news:3e80451f@news.povray.org...
>
> JOOC, how does pov handle infinities? Okay, the concept of an infinite
plane is
> easy enough, but at what distance does pov stop trying to find
intersections
> between the surface and the ray?
>
The wormhole towards other dimension of non-pov world is here if you
decomment the second line:
/******************************/
#declare Passage=9999999.0;
//#declare Passage=9999999.00002;


sphere { 0, Passage
 pigment{rgb<0,.5,1>}
        }

camera {
  location  <0, 0,-1>
  look_at   <0, 0,  0>
  right x*image_width/image_height
}
light_source{0,2}
/***********************************/
Thanks Martial

And found by Mael (mlPOV) in the frame.h file of the sources:

/*
 * These values determine the minumum and maximum distances
 * that qualify as ray-object intersections.
 */
#define Small_Tolerance 0.001
#define Max_Distance 1.0e7

Marc


Post a reply to this message

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