  | 
  | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
I believe my previous post on this was inadvertently chalked-up to user error:
PII 266 96MB Win98SE POV3.5b4
When using bozo or wood as the pattern type, the results are a severely stepped,
rather than smooth, gradient between textures. Substituting any other
non-blocked pattern type produces the expected behavior though. I've included a
much more simplified scene below.
Also, compared to an ordinary bozo pigment with comparable color_map and scaling
parameters, it appears the map is inverted, but this just may be a side-effect
of the original bug.
//---START SCENE
#version 3.5;
#include "colors.inc"
global_settings {
  assumed_gamma 1.0
  noise_generator 3
}
 background {color MediumBlue}
camera {
  location  <0.0, 0.5, -4.0>
  direction 1.5*z
  right     x*image_width/image_height
  look_at   <0.0, 0.0,  0.0>
}
light_source {
  <0, 0, 0>
  color rgb <1, 1, 1>
  translate <-30, 30, -30>
}
sphere {  0.0, 1
  texture{ pigment_pattern { bozo scale 0.15 }
              texture_map {
                  [0 pigment {color Gray80 } ]
                  [1 pigment {color Gray10 } ]
              }
          }
  rotate y*45
}
//---END SCENE
--
Batronyx ^"^
bat### [at] cadronhsa com
http://www.batronyx.com
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
in news:3bb16cc9$1@news.povray.org Batronyx wrote:
> When using bozo or wood as the pattern type, the results are a
> severely stepped, rather than smooth, gradient between textures.
Think you're bitten by the fact that some patterns have a default color 
scheme. In case of bozo and wood they have no 'gradients'. Adding a 
color_map to the pigment_pattern fixes your problem:
sphere {  
  0.0, 1
  pigment { 
    //pigment_pattern { 
      bozo 
      /*colour_map{
         [0, rgb 0]
         [1, rgb 1]
      }*/ 
      scale 0.15 
    //}
  }
  rotate y*45
}
Ingo
-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
"ingo" <ing### [at] home nl> wrote in message
news:Xns### [at] povray org...
> in news:3bb16cc9$1@news.povray.org Batronyx wrote:
>
> > When using bozo or wood as the pattern type, the results are a
> > severely stepped, rather than smooth, gradient between textures.
>
> Think you're bitten by the fact that some patterns have a default color
> scheme. In case of bozo and wood they have no 'gradients'. Adding a
> color_map to the pigment_pattern fixes your problem:
>
> sphere {
>   0.0, 1
>   pigment {
>     //pigment_pattern {
>       bozo
>       /*colour_map{
>          [0, rgb 0]
>          [1, rgb 1]
>       }*/
>       scale 0.15
>     //}
>   }
>   rotate y*45
> }
>
> Ingo
Indeed it does. A user error after all. :(  I've been using POV since v2.2 and
this is the first I recall learning of this default color scheme for some
patterns. It's located in the docs . . . where? Couldn't find it with a search.
--
Batronyx ^"^
bat### [at] cadronhsa com
http://www.batronyx.com
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
Batronyx wrote:
> Indeed it does. A user error after all. :(  I've been using POV since v2.2 and
> this is the first I recall learning of this default color scheme for some
> patterns. It's located in the docs . . . where? Couldn't find it with a search.
It was kinda snuck into v3.1 and I don't recall that it was ever documented.
Might be worth updating the docs to mention this in the patterns section.
Ingo?
-- 
Ken Tyler - POV-Ray Technical Assistance Group
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
"Ken" <tyl### [at] pacbell net> wrote in message
news:3BB### [at] pacbell net...
>
> Batronyx wrote:
>
> > Indeed it does. A user error after all. :(  I've been using POV since v2.2
and
> > this is the first I recall learning of this default color scheme for some
> > patterns. It's located in the docs . . . where? Couldn't find it with a
search.
>
> It was kinda snuck into v3.1 and I don't recall that it was ever documented.
> Might be worth updating the docs to mention this in the patterns section.
>
Thanks Ken. I was beginning to wonder about myself :) But, to be fair I do have
to retract part of that statement. I 'do' recall some default color schemes
mentioned for some of the block patterns (i.e. brick: red & gray).
--
Batronyx ^"^
bat### [at] cadronhsa com
http://www.batronyx.com
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
in news:3BB### [at] pacbell net Ken wrote:
> It was kinda snuck into v3.1 and I don't recall that it was ever
> documented. Might be worth updating the docs to mention this in the
> patterns section. 
> 
It can be updated, but I would prefer it that this 'feature' is removed 
from 3.5. It adds 'nothing' and causes confusion, especialy now we have 
the pattern function.
Ingo
-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
ingo wrote:
> 
> in news:3BB### [at] pacbell net Ken wrote:
> 
> > It was kinda snuck into v3.1 and I don't recall that it was ever
> > documented. Might be worth updating the docs to mention this in the
> > patterns section.
> >
> 
> It can be updated, but I would prefer it that this 'feature' is removed
> from 3.5. It adds 'nothing' and causes confusion, especialy now we have
> the pattern function.
I guess you would have to ask Chris C. or Thorsten why it was added in
the first place. There might be a very good reason for it.
-- 
Ken Tyler - POV-Ray Technical Assistance Group
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   |