  | 
  | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
I would like to make a texture for a regular object like a sphere or blob
that would have a base colour with random (controllable) spots of another
colour. Like measles spots or a toadstool. I am at a loss, and would
appreciate a hint or clue about how to go about it?
TIA
Stephen
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
web.452e464ea4e3cf9df1cb1e660@news.povray.org...
> I would like to make a texture for a regular object like a sphere or blob
> that would have a base colour with random (controllable) spots of another
> colour. Like measles spots or a toadstool. I am at a loss, and would
> appreciate a hint or clue about how to go about it?
You could make a union of small  random (controlable) spheres and use
object_pattern
http://www.povray.org/documentation/view/3.6.1/386/
but it's boolean, so you'll get sharp borders to your spots
Marc
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
try this
#include "colors.inc"
light_source{<0,100,-100> color rgb 1}
sphere{<-1,0,0>,1
 texture{
  pigment{leopard turbulence .1
   color_map{
    [0 color Tan]
    [0.6 color Tan]
    [0.8 color Red]
    [1 color White]
   }
   scale .1
  }
 }
}
sphere{<1,0,0>,1
 texture{
  pigment{spotted
   color_map{
    [0 color Tan]
    [0.6 color Tan]
    [0.8 color Red]
    [1 color White]
   }
   scale .1
  }
 }
}
camera{location <0,0,-4.25> look_at<0,0,0>}
background {rgb .5}
"Stephen" <mcavoys_AT_aolDOT.com> wrote in message
news:web.452e464ea4e3cf9df1cb1e660@news.povray.org...
> I would like to make a texture for a regular object like a sphere or blob
> that would have a base colour with random (controllable) spots of another
> colour. Like measles spots or a toadstool. I am at a loss, and would
> appreciate a hint or clue about how to go about it?
>
> TIA
>
> Stephen
>
>
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
"Marc" <jac### [at] wanadoo fr> wrote:
> You could make a union of small  random (controlable) spheres and use
> object_pattern
> http://www.povray.org/documentation/view/3.6.1/386/
> but it's boolean, so you'll get sharp borders to your spots
Stephen
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
"Bryan Valencia" <pov### [at] spamgourmet com> wrote:
> try this
>
[Snip]
pigment{leopard} is what I was looking for, thanks.
I tried spotted but it is the same as bozo, and that did not give me what I
wanted.
Stephen
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
I generally use:
pigment {
  crackle
  form <1,0,0> //make circular shapes, not polygonal ones
  colour_map { [.3 spotcolour][.3 basecolour] }
}
That way the spots have a random distribution but each is perfectly 
circular.
-- 
Tek
http://evilsuperbrain.com
"Stephen" <mcavoys_AT_aolDOT.com> wrote in message 
news:web.452e464ea4e3cf9df1cb1e660@news.povray.org...
>I would like to make a texture for a regular object like a sphere or blob
> that would have a base colour with random (controllable) spots of another
> colour. Like measles spots or a toadstool. I am at a loss, and would
> appreciate a hint or clue about how to go about it?
>
> TIA
>
> Stephen
>
>
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
"Tek" <tek### [at] evilsuperbrain com> wrote:
> I generally use:
>
> pigment {
>   crackle
>   form <1,0,0> //make circular shapes, not polygonal ones
>   colour_map { [.3 spotcolour][.3 basecolour] }
> }
>
> That way the spots have a random distribution but each is perfectly
> circular.
>
good thing, I think :-)
Stephen
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   |