POV-Ray : Newsgroups : povray.newusers : Clipping macro : Re: Clipping macro Server Time
4 Nov 2024 23:20:02 EST (-0500)
  Re: Clipping macro  
From: Ron Parker
Date: 20 Apr 2001 14:51:34
Message: <slrn9e119o.1ik.ron.parker@fwi.com>
On Fri, 20 Apr 2001 20:46:01 +0200, John VanSickle wrote:
>Calculate the distance from the camera to each object.  Declare the
>object according to that distance (high detail for near, low for far).
>
>If there are no reflective surfaces in the anim, you can also use
>some math to figure if the object is in the camera view at all, and
>not declare it if it isn't.

Something that hasn't been mentioned in this discussion is that if you
have certain kinds of refractive or reflective curved surfaces, this 
algorithm might give substandard results due to the old "objects in mirror
may be closer than they appear" problem.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

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