POV-Ray : Newsgroups : povray.binaries.images : Beach again (34kbbu) : Re: Beach again (34kbbu) Server Time
19 Aug 2024 10:20:12 EDT (-0400)
  Re: Beach again (34kbbu)  
From: Kevin Ellis
Date: 5 Dec 2000 11:09:12
Message: <3a2d1328$1@news.povray.org>
Christoph Hormann wrote in message <3A2D0E5D.D76AF46B@gmx.de>...
>
>
>It's already much better, but as Dawn mentioned, the wet sand should have
>a finer structure.

Thanks, that's now sorted.

>I also wonder about the large scale structures in the water.  They don't
>seem to be reflections from the clouds and look somewhat irritating.

As I said, and have now done. I added an if() statement to the sand iso so
that the RMF pertubations are about 5 times less bumpy below the water level
than they are above it. i.e

function {
    y
    +0.07*if(-z,-z,1) // Sloping off in -z direction
    -35*Func2(x/400,y/200,z/400) // Overall Shape
    -1.9*Func2(x/30,y/30,z/30)*if(y+6,1,0.2) // Less bumpy below water line
}

actually the

+0.07*if(-z,-z,1)

should probably be

+0.07*if(-z,-z,min(z,1)) ,

I'll have to check this one now. That first one should create a problem at
z=0, but then again so should the other one at y=6. Oh well, they seem to
work ok :)

Kev

http://web.libertysurf.co.uk/kevin.ellis


Post a reply to this message

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