POV-Ray : Newsgroups : povray.general : Why is this happening? Server Time
10 Aug 2024 15:20:50 EDT (-0400)
  Why is this happening? (Message 1 to 3 of 3)  
From: Jeff Lee
Subject: Why is this happening?
Date: 8 Dec 1999 11:12:08
Message: <384e8358@news.povray.org>
I've created a bozo pattern, and after playing around with the various
turbulence parameters (omega, lambda, and so forth), discovered an odd
effect.

Namely, at certain points in the pattern, there are very obvious
parallel bands where the bozo pattern abruptly changes.  Why does this
happen?  (And the question I'm really interested in, how can I prevent
it from happening?)  I've included a small example source below, and
placed a rendered version at:

    http://www.gate.net/~shipbrk/raytrace/temp/bozobands.jpg


#declare TestTexture = texture {
  pigment { bozo
    colour_map {
      [0.00 colour rgb <1,0,0>]
      [0.50 colour rgb <0,0,1>]
      [0.50 colour rgb <0,0,0>]
      [1.00 colour rgb <1,1,1>]
    }
    warp { turbulence 1.0 lambda 2.35 omega 0.75 octaves 9 }
    scale 0.55
  }
  rotate z*-89.999
  rotate x*-108
  translate <0,9290,0>
}

box { <1000,0,1000>, <-1000,-1,-1000> texture { TestTexture }}
camera { location <0,0.0002,0> look_at <10,0.0002,0> }
light_source { <0,1000,0> colour rgb <1,1,0.95> }


-- 
Jeff Lee         shi### [at] gatenet         http://www.gate.net/~shipbrk/


Post a reply to this message

From: Ron Parker
Subject: Re: Why is this happening?
Date: 8 Dec 1999 11:24:53
Message: <slrn84t1eh.v8.ron.parker@ron.gwmicro.com>
On Wed, 08 Dec 1999 16:18:16 GMT, Jeff Lee wrote:
>I've created a bozo pattern, and after playing around with the various
>turbulence parameters (omega, lambda, and so forth), discovered an odd
>effect.
>
>Namely, at certain points in the pattern, there are very obvious
>parallel bands where the bozo pattern abruptly changes.  Why does this
>happen? 

It's the translate 9290 that does it.  The perlin noise function in POV 
doesn't like being evaluated below certain relatively small negative 
coordinates.

-- 
These are my opinions.  I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html


Post a reply to this message

From: Peter Popov
Subject: Re: Why is this happening?
Date: 9 Dec 1999 03:54:18
Message: <YmZPOEw1W5xPj6sh2saI5tzIPZVN@4ax.com>
On Wed, 08 Dec 1999 16:18:16 GMT, shi### [at] gatenet (Jeff Lee) wrote:

The noise() function in POV-Ray breaks at -10000 for either x, y, or
z. The fact that you translate 9290 up might make the seam show up in
your scene. Consider a smaller number like 5000, for example.


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

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