POV-Ray : Newsgroups : povray.newusers : bicubic patch editor : Re: bicubic patch editor Server Time
13 Apr 2025 07:00:17 EDT (-0400)
  Re: bicubic patch editor  
From: MichaelJF
Date: 1 Apr 2025 11:05:09
Message: <67ec00a5$1@news.povray.org>
Am 01.04.2025 um 16:52 schrieb gulino:

> height_field {
>    function 1, 2 { f_ridged_mf(x,y,z, 0.6, 3.0, 6.0, -1.0, 3.0, 3.0, 1) }
>    smooth
>    scale <400, 100, 400>
>     pigment { checker rgb 0.05 rgb 1 scale <20, 20, 20>}
>     translate <-200, -120, -200>
> }

You should include "functions.inc" first to define the function 
f_ridged_mf. In addition, you should specify a higher resolution and 
shorten your parameter list one parameter. Soemthing like:

#include "functions.inc"

height_field {
   function 100, 200 { f_ridged_mf(x,y,z, 0.6, 3.0, 6.0, -1.0, 3.0, 3.0) }
   smooth
   scale <400, 100, 400>
    pigment { checker rgb 0.05 rgb 1 scale <20, 20, 20>}
    translate <-200, -120, -200>
}

Best regards
Michael


Post a reply to this message

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