POV-Ray : Newsgroups : povray.general : Using a function in a height_field declaration : Using a function in a height_field declaration Server Time
25 Apr 2024 11:35:27 EDT (-0400)
  Using a function in a height_field declaration  
From: Bald Eagle
Date: 13 Feb 2023 14:45:00
Message: <web.63ea928499ce13121f9dae3025979125@news.povray.org>
According to:
https://wiki.povray.org/content/Reference:Height_Field

(At the very bottom)

"The height field object also allows for substituting a user defined function
instead of specifying an image. That function can either be in it's literal
form, or it can be a call to a function that you have predeclared. The user
supplied parameters FieldResolution_X and FieldResolution_Y are integer values
that affect the resolution of the color/index values, not size of the unscaled
height field."

There is, of course, no code snippet supplied, so I'm just casting about trying
to get this to work.

Has anyone used this method before?

-BW


Post a reply to this message

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