POV-Ray : Newsgroups : povray.general : Just musing about a pattern function... : Re: Just musing about a pattern function... Server Time: 17 Jun 2019 06:43:52 GMT
  Re: Just musing about a pattern function...  
From: clipka
Date: 21 Mar 2019 18:36:11
Am 12.03.2019 um 00:43 schrieb Bald Eagle:

> But the problem is that POV-Ray is trying to numerically compare the distance of
> two surfaces from the camera, and it doesn't know which surface is _supposed to_
> be in front.

Nah, that's just the easiest category of coincident surface problems. 
Sometimes one surface will win, sometimes the other, and you'll probably 
get a speckled surface. With high enough anti-aliasing settings, you may 
even get a neat averaged colour.

That's boring. The real coincident surface problems only start after that.

Because then POV-Ray has to shoot secondary rays (for shadow tests, or 
reflections and/or refractions depending on material), and decide 
whether or not to consider that other surface for this purpose: Is it 
/genuinely/ coincident or just extremely close?

That's where the true can of worms is opened.

Post a reply to this message

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