|
 |
How do the warps work...
I'm not familiar with displace warp...?
Christoph Hormann wrote:
> ian mcdonald wrote:
> >
> > Nice image, very different but attractive.
>
> Thanks, but different form what ? :-)
>
> > I like the positioning and apparent random nature of the SEs.
> >
> > I would love to see the source for this.
> >
>
> The positioning/randomizing is really not that difficult:
>
> #macro Var_SQ()
> superellipsoid {
> <rand(RX)*0.99 + 0.01, rand(RY)*0.99 + 0.01>
> material {
> M_warped
> translate <rand(RX), rand(RY), rand(RZ)>*10
> }
> }
> #end
>
> union {
> #declare CnY=0;
> #while (CnY<60)
> #declare CnX=0;
> #while (CnX<60)
> object { Var_SQ() translate <CnX, -CnY-2, -1> }
> #declare CnX=CnX+2;
> #end
> #declare CnY=CnY+2;
> #end
> }
>
> --
> Christoph Hormann <chr### [at] gmx de>
> Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |