POV-Ray : Newsgroups : povray.advanced-users : drapes/curtians : Re: drapes/curtians Server Time
30 Jul 2024 04:11:45 EDT (-0400)
  Re: drapes/curtians  
From: Chris Huff
Date: 2 Apr 2000 12:43:37
Message: <chrishuff_99-17A2D2.11460002042000@news.povray.org>
In article <WHb+MDA### [at] econymdemoncouk>, Mike Williams 
<mik### [at] econymdemoncouk> wrote:

> Wasn't it Robert Jefferson who wrote:
> 
> >How do you make drapes for a romm
> 
> I do it with isosurfaces.
> 
> I built it up like this:-
...

I prefer to use noise3d() instead of sin() or cos(), here is an example:

    function {z-
        ((noise3d(x*Freq,0,z)*2)-1)*sqrt(y)*Depth
        +((noise3d(x*Freq*5,0,z)*2)-1)*(1/(abs(y)+0.5))*Depth*0.3
    }
    threshold 0

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Web page: http://chrishuff.dhs.org/


Post a reply to this message

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