|
|
Good morning PovRay Users,
I have a questions regarding the ripples function in Pov-Ray. I have a
smile that basically looks like this. KEYBOARD ART TIME!
O O
O
o o
ooooo
(Probably won't look good when it is xferred over but it's a smiley
face.)
Okay it looks something like that. Anyway, I used the ripples property
on the plane that this smiley face sits on. It looks like the spheres
are floating in water. The ripples property placed it's point of
origin at 0,0,0 I believe. Is there a way that I create a rippled
effect coming from each sphere so it looks more realistic? Any info
will be appreciated.
Thank You,
Jeremy Hartmann
Post a reply to this message
|
|
|
|
Jeremy Hartmann wrote:
> I have a questions regarding the ripples function in Pov-Ray.
> ( my spheres don't float at the center of each ripple)
> Is there a way that I create a rippled effect coming from each sphere so it looks
more realistic?
7.6.7.18 Ripples
The ripples pattern was originally designed only to be used as a normal
pattern. It makes the surface look like ripples of water. The ripples
radiate from 10 random locations inside the unit cube area <0,0,0> to
<1,1,1>. Scale the pattern to make the centers closer or farther apart.
Usually the ripples from any given center are about 1 unit apart. The
frequency keyword changes the spacing between ripples. The phase keyword
can be used to move the ripples outwards for realistic animation.
The number of ripple centers can be changed with the global parameter
global_settings { number_of_waves FLOAT } somewhere in the scene. This
affects the entire scene. You cannot change the number of wave centers
on individual patterns. See section "Number_Of_Waves" for details.
7.8.8 Number_Of_Waves
The wave and ripples pattern are generated by summing a series of waves,
each with a slightly different center and size. By default, ten waves
are summed but this amount can be globally controlled by changing the
number_of_waves setting.
global_settings { number_of_waves INTEGER }
Changing this value affects both waves and ripples alike on all patterns
in the scene.
--
Questions? Comments?
--Patrick Bass
Post a reply to this message
|
|