POV-Ray : Newsgroups : povray.binaries.images : Displace warp/gradient pattern (27+31k) : Re: Displace warp/gradient pattern (27+31k) Server Time
28 Sep 2024 14:58:32 EDT (-0400)
  Re: Displace warp/gradient pattern (27+31k)  
From: Chris Huff
Date: 20 Feb 2001 07:46:49
Message: <chrishuff-DCF129.07461320022001@news.povray.org>
In article <3A925B1C.CD85ADFE@gmx.de>, Christoph Hormann 
<chr### [at] gmxde> wrote:

> Yes, although a version calculating the dot product with another vector
> could also be interesting.

Too bad this stuff can't (yet) be done with function patterns...if the 
available information was expanded from just xyz coordinates to include 
surface normal and ray direction, you could do most of this stuff as a 
function. Maybe someone will write that patch after POV 3.5 is released.


> A pattern giving the slope of an object just like the slope pattern 
> right now, but that can be applied to any other object too.  The 
> value would be constant in direction of the slope vector. 

If the point being evaluated isn't on the object, how does it get the 
normal? Does it search for the nearest point on the object?


> It would also be possible to use 'eval_pattern' on this.  

It should also work for media density.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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