POV-Ray : Newsgroups : povray.newusers : Texture help needed : Re: Texture help needed Server Time
29 Jul 2024 04:22:24 EDT (-0400)
  Re: Texture help needed  
From: Bryan Valencia
Date: 12 Oct 2006 12:25:18
Message: <452e6c6e$1@news.povray.org>
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

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