Nicolas George <nicolas$george@salle-s.org> wrote:
> I often felt the need of such a purely random height field, to serve as a
> natural floor for a scene. I find the need for an external file somewhat
> annoying: the file must either be carried around with the scene, or
> re-generated, it is cumbersome.
> I just found that patterns and pigments could be programatically queried
> through the use of user-defined functions. Something like:
> #declare height = function { pattern { wrinkles } }
Read the documentation more carefully. You can create a height_field
from such a function without the need for an external image file.
--
- Warp
Post a reply to this message
|