POV-Ray : Newsgroups : povray.general : MegaPov height_of to Pov 3.5 : Re: MegaPov height_of to Pov 3.5 Server Time
5 Aug 2024 18:25:58 EDT (-0400)
  Re: MegaPov height_of to Pov 3.5  
From: Christopher James Huff
Date: 5 Aug 2002 17:54:18
Message: <chrishuff-33D097.16441305082002@netplex.aussie.org>
In article <B9744727.4BFF%gle### [at] isrvcom>,
 Glenn Greenway <gle### [at] isrvcom> wrote:

> Thank you for your comments.  However, I would like to evaluate a height
> field at parse time, not render time. 

The trace() function is a scene description language feature that 
operates at parse time, not render time.


> I've been trying to use bitmap data to add a deformation map feature 
> to a mesh creation macro i've been working on. I thought that the 3.5 
> function feature might be the way to go.  But i can't figger it.  
> With MegaPov hf_height_at() i could loop through and evaluate values 
> at each point before rendering.  Thanks again. 

You could do the exact same thing with the trace() function, see the 
manual. However, it sounds like functions are a better solution. You 
might want to look at the height field macros in shapes.inc for examples.

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

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