POV-Ray : Newsgroups : povray.general : function height field (f_ridged_mf) : Re: function height field (f_ridged_mf) Server Time
6 Aug 2024 23:22:17 EDT (-0400)
  Re: function height field (f_ridged_mf)  
From: JRG
Date: 6 Jan 2002 14:01:09
Message: <3c389ef5@news.povray.org>
F_ridged_mf is very indicated for that purpose.
Funnily I copy-pasted the settings for the function from this scene:
http://digilander.iol.it/jrgpov/images/boat2.jpg
But large heightfields are very memory consuming and don't look always that good. For
the image above I used an isosurface.

--
#local j=text{ttf"arial""JRG".2,0}#local J=0;#while(J<10)#local R=0;#while
(R<2)#local G=0;#while(G<1)#if(inside(j<R,G.1>))object{j scale.025translate
<R-1G-J/20J/-40+2>pigment{rgb<9J>}}#debug"O"#else#debug" "#end#local G=G+
.025;#end#local R=R+.05;#debug"\n"#end#local J=J+1;#end// JRG

Home: http://digilander.iol.it/jrgpov  //New: Kitchen scene WIP

"Davey B" <kryten@*NOSPAM*totalise.co.uk> ha scritto nel messaggio
news:3c389c8b@news.povray.org...
> Thanks JRG
>
> I am trying to make some nice realistic looking water.
> My efforts are not going too good atm but I will continue experimenting.
> Currently I am getting troughs where I want ridges and vice versa.
>
> Thanks again
>
> Davey B
>
>


Post a reply to this message

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