POV-Ray : Newsgroups : povray.advanced-users : re HF heights : Re: re HF heights Server Time
30 Jul 2024 00:23:17 EDT (-0400)
  Re: re HF heights  
From: ingo
Date: 2 Jul 2000 06:40:16
Message: <8F6588BDCseed7@204.213.191.228>
Margus Ramst wrote:

>A basic method in MegaPOV would be to get a grid of height values
>(using trace) and start comparing: if a point is higher than all 8
>points around it (or 5 points at the edges, or 3 points in the corner)
>it is the top of a bump. 

If the base of your HF is an image you can use ImagInc by Remco de Korte 
to get a grid of values: http://www.xs4all.nl/~remcodek/pov.html . It 
turns an image into an INC file so you can use the RGB-data.

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

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