|
|
Patrick Dugan wrote:
> I have a cylinder that I am trying to display two ripple points in.
> As
> though there are two points
> from which the ripples originate. I have tried the code below but
> only the
> last defined normal takes
> effect. Is there any way to apply 2 ripples (or more) to one object?
>
> cylinder {<0,0,0> <0,0,0.3>, 2.4
> texture{Soft_Silver}
> normal { average normal_map {[ ripples 0.8 scale 0.04 translate
> <-1,0,0> ]}}
> normal { average normal_map {[ ripples 0.8 scale 0.04 translate
> <
> 1,0,0> ]}}
> }
I'm not sure, but I think you can make the ripples using an average of
two (or more) wood-patterns with (I think) sine_wave and a little
turbulence. If you use the wood-pattern, you can exactly set the
position of the ripples, because that pattern consists of concentric
circles around the origin, and the ripples' origin is a random point (at
least as far as I remember).
Hope this works.
ZK
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Hendrik Knaepen (hen### [at] skynetbe)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idee Software -- Vlaamse ShareWare
E-Mail: ide### [at] inamecom
WWW: http://www.surf.to/ideesoftware
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Bezoek ons voor gratis Nederlandstalige spellen!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Post a reply to this message
|
|