POV-Ray : Newsgroups : povray.advanced-users : Pattern showing *change* in slope : Re: Pattern showing *change* in slope Server Time
1 Jul 2024 05:34:03 EDT (-0400)
  Re: Pattern showing *change* in slope  
From: Warp
Date: 28 Aug 2009 07:45:22
Message: <4a97c352@news.povray.org>
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:
> // sloped texture with autoilluminated finish
> #declare t_terrain_slope=
> texture{
>   pigment{
>    slope y

  That shows the slope of the heightfield, not the *change* in slope,
which is a bit more involved (it would require the derivative of the
function which indicates the slope of the heightfield; since the slope
function is the derivative of the heightfield function, the change in
slope would thus be the double derivative of the heightfield function).

  Maybe the original poster really wanted to actually see the slope,
rather than the change in slope, in which case your answer would be
the correct one.

-- 
                                                          - Warp


Post a reply to this message

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