POV-Ray : Newsgroups : povray.general : height field question : Re: height field question Server Time
5 Nov 2024 05:23:33 EST (-0500)
  Re: height field question  
From: Christopher James Huff
Date: 22 Jun 2003 10:56:33
Message: <cjameshuff-EB009C.09454522062003@netplex.aussie.org>
In article <oprq6at506pkmer3@localhost>,
 Jos Tellings <jte### [at] chellonl> wrote:

> I am using a height-field object as a mountain. I want to place trees on 
> the mountain. The tree object I already have. Now I need a macro that 
> translates the trees to the correct height. I read a tutorial 
> (http://www.mhazelgrove.fsnet.co.uk/levtut.htm) and read that you need a 
> point-array of your heightfield. How can I make a point-array of a tga-file 
> that's not created by a hf-editor? Or is there another solution, without an 
> array? In the tutorial, the author speaks about the 'trace' and the 
> 'hf_height_at' functions; I can't find anything about these in the help 
> (neither POV-Ray nor MegaPOV 1.0).

The hf_height_at feature is obsolete, and no longer exists in any 
current version. The trace() function is a well documented feature of 
the official version, however, and is a better solution than a height 
array:

http://povray.org/documentation/view/138/

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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