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: kurtz le pirate
Date: 31 Mar 2025 12:48:03
Message: <67eac743$1@news.povray.org>
On 31/03/2025 18:00, Alain Martel wrote:
> Le 2025-03-31 à 10:17, gulino a écrit :
> 
>> I want to make a plain like this image, I think heightfields will not 
>> work
>> because it's for mountains. I am not sure how many patches but for 
>> sure more
>> than one. It would be nice if there is a program that for example can 
>> make these
>> and give me the value of the points because it seems very hard doing 
>> by hand
> Heightfields can be used for mountains, but, that's just one of the many 
> way they can be used.
> What you show here can perfectly be done using a heightfield.


Yes, heightfield is a good candidate.

I also think that an isosurface using one of pov's internal functions 
should also do the trick.


#declare plain = height_field {
  function Res,Res {
    <<function here>>
    }
   smooth
   translate <-0.50, 0, -0.50>
   }


All that's left is to find the right function and parameters ;)
<https://www.povray.org/documentation/view/3.60/449/>
<https://www.povray.org/documentation/view/3.60/448/>


Simple combinaison of trigonometrics functions and/or f_ridged_mf() can 
be used as a base.





-- 
kurtz le pirate
compagnie de la banquise


Post a reply to this message

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