POV-Ray : Newsgroups : povray.general : Leveller 2 and using hf pigments in iso-functions : Re: Leveller 2 and using hf pigments in iso-functions Server Time
3 Aug 2024 16:21:33 EDT (-0400)
  Re: Leveller 2 and using hf pigments in iso-functions  
From: Christopher James Huff
Date: 16 Jan 2004 14:06:41
Message: <cjameshuff-DDD783.14070116012004@netplex.aussie.org>
In article <879### [at] tritonimagicode>,
 Christoph Hormann <chr### [at] gmxde> wrote:

> You can use such files in isosurface via image maps but you will have to 
> do interpolation manually (or use two separate image files for low and 
> high byte).

Wrong. The interpolation will work correctly, and with isosurfaces you 
very definitely want it.


> #declare fn_Height=
> function {
>    fn_Image(x, y, z).red+fn_Image(x, y, z).green/256
> }

A better way is to simply use fn_Image(x, y, z).hf.

-- 
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.