POV-Ray : Newsgroups : povray.advanced-users : modulo / math funktions : Re: modulo / math funktions Server Time
29 Jul 2024 22:20:20 EDT (-0400)
  Re: modulo / math funktions  
From: Ron Parker
Date: 30 Oct 2001 10:45:52
Message: <slrn9ttiph.n34.ron.parker@fwi.com>
On Tue, 30 Oct 2001 10:35:04 -0500, Slime wrote:
> Ah, it's much as I suspected. That's pretty cool.
> 
> Notice that this
>> does not work properly for functions with zero gradients; you should
> detect
>> that and deal with it appropriately.
> 
> 
> How would it be possible to have a point on the surface of the object with
> zero gradient in any direction?

Nobody said it has to be a point on the surface, did they?  I suppose it's
implied by the word "normal" but I thought I'd put the warning out there 
anyway.

By the way, the gradient is a direction, so the phrase "zero gradient in
any direction" is meaningless.

-- 
#local R=<7084844682857967,0787982,826975826580>;#macro L(P)concat(#while(P)chr(
mod(P,100)),#local P=P/100;#end"")#end background{rgb 1}text{ttf L(R.x)L(R.y)0,0
translate<-.8,0,-1>}text{ttf L(R.x)L(R.z)0,0translate<-1.6,-.75,-1>}sphere{z/9e3
4/26/2001finish{reflection 1}}//ron.parker@povray.org My opinions, nobody else's


Post a reply to this message

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