POV-Ray : Newsgroups : povray.windows : HELP!! POVRAY QUESTIONS??? Server Time
24 Nov 2024 23:56:07 EST (-0500)
  HELP!! POVRAY QUESTIONS??? (Message 1 to 3 of 3)  
From: Jeremy Hartmann
Subject: HELP!! POVRAY QUESTIONS???
Date: 10 Feb 1998 13:40:50
Message: <34E09F32.F6CA22F8@axiomsmt.com>
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

From: Patrick Bass
Subject: Re: HELP!! POVRAY QUESTIONS???
Date: 11 Feb 1998 08:27:39
Message: <34E1A74B.3D01@hotmail.com>
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

From: Colin Bennett
Subject: Re: HELP!! POVRAY QUESTIONS???
Date: 31 Mar 1998 18:30:21
Message: <35217C8D.2796BEFD@findus.aq.com>
Use the "average" pigment/normal function, and translate the different
normals to wherever you want the center of the ripples.

Search for "average" in the docs.

Colin


Post a reply to this message

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