POV-Ray : Newsgroups : povray.beta-test : Non-smooth heightfields : Re: Non-smooth heightfields Server Time
29 Jul 2024 14:19:09 EDT (-0400)
  Re: Non-smooth heightfields  
From: Warp
Date: 1 May 2002 22:15:10
Message: <3cd0a12e@news.povray.org>
I think that part of the problem is that you are not only scaling the
heightfield non-uniformly but also the normal pattern.
  This modified version of your scene emphasizes the artifacts (replacing
the heightfield with a box gives what one expects):

camera { location -6*z look_at 0 }
light_source { <30,30,-30>,1 }

height_field { function 20,20 { pigment { granite } }
//box { 0,1
 pigment { rgb 1 }
 normal { bumps .5 scale .1 } // Normals activate problem

 translate -.5
 scale <5, 0.001, 5> rotate -90*x
}


-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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