POV-Ray : Newsgroups : povray.binaries.images : Lumpy Red Things : Re: Lumpy Red Things Server Time
15 Aug 2024 04:28:23 EDT (-0400)
  Re: Lumpy Red Things  
From: TinCanMan
Date: 31 Jul 2002 14:05:10
Message: <3d4826d6@news.povray.org>
> :o)  Sorry I meant it probably "cross fade" the edges, but not to zero,
ehm
> how do you say this in english.. The right edge of the pattern are cut off
> and faded into the left edge.
>
> Another approch is to morph the edges but that's more complicated and I'm
> not sure it's necessary, but on the other hand, I suppose some patterns
> don't crossfade well.
>
> Anyway, your example looks perfect!  :o)

Thanks!
Actually, if you look at the scene file, the way it is done, is by
"unwrapping" spherical coordinates from a pattern and mapping them to a flat
plane so that 360deg stretches from 0 to 1.  That way when you reach 1 on
the flat image, you have essentially looped back to 0 and start over again.
There tends to be a little distortion in the method I used, but I tried to
minimise it as best as I could. Regular type patterns like checker don't
come out so well (not the way you would expect, unless you expect them to
come out the way they do...), but it lends itself well to the more random
type patterns like crackle, bozo, etc. and even with turbulence.
This way there is no messy cross fading of edges, or morphing, everything
just naturally progresses in a loop.  After coming up with this brainstorm
the other day on the way to work, I was happy (and perhaps surprised) that I
was as successful as I was.

-tgq


Post a reply to this message

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