|
|
In article <web.3fb3a0b3a347d771ccd526b40@news.povray.org>,
"Omega" <nomail@nomail> wrote:
> Nice, it seems to work the way I want.. but is there a way to get rid of the
> discontinuity occuring at x=0? (the sine phase starts at phi=0 and
> increments in both direction, thus creating positive values over an entire
> period of the sine)
Forgot about that...the simplest solution would be to replace "gradient
x" with "function {sin(x)/2 + 0.5}", or you could use cos() if you want
a symmetrical pattern. Oh, and remove the sine_wave keyword, since it is
now in the pattern itself. Or you could just translate the pattern far
enough that the mirroring point is out of your way.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|