POV-Ray : Newsgroups : povray.binaries.images : Problem with smooth heightfield : Re: Problem with smooth heightfield Server Time
17 Aug 2024 12:22:13 EDT (-0400)
  Re: Problem with smooth heightfield  
From: Ron Parker
Date: 10 Oct 2001 10:35:03
Message: <slrn9s8n4o.9oc.ron.parker@fwi.com>
On Wed, 10 Oct 2001 16:29:14 +0200, Christoph Hormann wrote:
>
>
>Hugo wrote:
>> 
>> Hello,
>> 
>> The attached picture show heightfields created from an isosurface. The
>> bottom ones are "smooth" but don't exactly look like I would expect, or like
>> I remember triangles do when they are smoothed correctly.. I tried different
>> lights.. I tried TGA, PNG and GIF.. I tried POV 3.5, MegaPOV 0.7 and POV
>> 3.1g and two computers.. It's all the same..What do you think?
>> 
>
>That looks much like the heightfield having only 8 bit resolution.  Using
>'hf_gray_16 on' in global_settings should help if you generate the
>heightfield with Povray.  But be careful when using png output in Povray
>3.5 with this since it does not work correctly right now.

Actually, the PNG output is fine.  It's the PNG input that's broken.

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}


Post a reply to this message

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