POV-Ray : Newsgroups : povray.beta-test : infinite height_field with 2x2 image : infinite height_field with 2x2 image Server Time
29 Jul 2024 16:33:01 EDT (-0400)
  infinite height_field with 2x2 image  
From: Sebastian H 
Date: 9 Apr 2002 08:04:38
Message: <3CB2D94C.9050407@web.de>
This code gives something like a really wide (infinite) height_field.
The problem seems to be the 2x2 resolution of the generated image.
This works (!!?) with every function:


// ----- Scene start -----

#include "colors.inc"
#include "functions.inc"

camera {
   location <0, 20, -50>
   look_at <0, 0, 0>
}

light_source { <100, 100, -100> White }


// *** Buggy object? ***
height_field {

   function 2, 2 {f_gradientX(x,y,z)}  <- Problem here?

   pigment { Cyan }
   finish {ambient .1 diffuse 1.1 specular 1 roughness 0.005}

}

// ----- Scene end -----


Regards
Sebastian H.


P.S.: using linux beta 16


Post a reply to this message

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