POV-Ray : Newsgroups : povray.general : Interested in 16-bit height field functions? : Re: Interested in 16-bit height field functions? Server Time
30 Jul 2024 02:23:31 EDT (-0400)
  Re: Interested in 16-bit height field functions?  
From: Christian Froeschlin
Date: 12 Dec 2009 14:24:05
Message: <4b23edd5$1@news.povray.org>
stbenge wrote:

> I'm developing a set of macros to load and manipulate 16-bit height 
> field data. With them, you can import red/green 16-bit grayscale
> images and manipulate them as you would any other pigment.

I'm not sure I understand what these do. As far as I know,
Povray 3.6 already supports 16 bit png as input format both
for height fields and image_map pigments. Wouldn't that be
simpler to use than red/green tga?

> There are functions for finding edges (via a proximity pattern),
> finding angles for special effects

I can see these would be useful. Do they work on pigments which
encapsulate height information both in red and green channel or
do you linearize the data into a gray pigment? The latter case
would be more flexible as your processing functions will then
be independed of the height field image format.

> POV-Ray's handling of image_maps produces strange edge artifacts

What kind of edge artifacts do you mean?


Post a reply to this message

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