POV-Ray : Newsgroups : povray.advanced-users : gradient ? : Re: gradient ? Server Time
29 Jul 2024 14:23:44 EDT (-0400)
  Re: gradient ?  
From: Christoph Hormann
Date: 20 Jan 2002 10:42:53
Message: <3C4AE575.6172DB98@gmx.de>
Jan Walzer wrote:
> 
> [...]
> 
> My question: Do you see any chance, that we can access the internal (faster)
> gradient-function of POV
> as it is probably the case for trace(), or at least a simple macro (doing
> this in SDL-Space) that comes
> with functions.inc in Pov3.5 ? ...

It is possible with type 1 displace warps in megapov, in Povray 3.5 you
can easily make a macro for that (or a function if you only want the
length of the gradient vector), but it would be slower of course, on the
other hand the displace warp code uses 7 evaluations and often 4 would
probably be sufficient.  

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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