POV-Ray : Newsgroups : povray.beta-test : infinite height_field with 2x2 image Server Time
1 Nov 2024 17:23:00 EDT (-0400)
  infinite height_field with 2x2 image (Message 1 to 2 of 2)  
From: Sebastian H 
Subject: infinite height_field with 2x2 image
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

From: Sebastian H 
Subject: Re: infinite height_field with 2x2 image
Date: 9 Apr 2002 09:06:23
Message: <3CB2E7C5.4090900@web.de>
Oh, this goes further:

There seems to be a bug in
the "function image generation" ,
the "f_gradientY" function"
or in the height_field height detection.

Or again I missed something in the docs but I don't think so.

Take a look in p.b.images.

Sebastian H.


Post a reply to this message

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