POV-Ray : Newsgroups : povray.advanced-users : Let the rivers flow : Re: Let the rivers flow Server Time
30 Jul 2024 02:24:14 EDT (-0400)
  Re: Let the rivers flow  
From: SamuelT
Date: 10 Jun 2000 14:56:28
Message: <39429000.6BAFC574@aol.com>
You might look into the trace function and maybe eval_pigment in MegaPOV. The
trace function will give you a xyz vector of any point on a heightfield,
eval_pigment will return the color of any point in space, as long as you give it
a pigment to test for. Hope that helps.


kane wrote:

> Hi all, as part of a project I'm working on, I'm trying to create a macro in
> either Pov or MegaPov that will create a river of sorts, a line of objects
> on a hf.
>   You'd just enter in the x,y,z of where it should start, and the macro
> would then place an object there, then determine the next lowest point,
> right next to the previous objects location, and place another object, until
> it has either reached a predetermined length , reached the edge of the
> object, or has reached a pool, or bottom where there is no more lower
> points.
>    Hope that makes sense.
> Thanks ,
>     Kane

--
Samuel Benge

E-Mail: STB### [at] aolcom

Visit my isosurface tutorial at http://members.aol.com/stbenge


Post a reply to this message

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