|
|
// texture: "Stone with patina" or something like "Corroded iron"
// render : [800x600, AA 0.1]
#include "textures.inc"
global_settings {
assumed_gamma 1.5
}
background {rgb 0.75}
torus { 3, 1
texture { Silver_Metal }
pigment { cells
turbulence 1 octaves 5 omega 1 lambda 5
}
normal { cells -5
turbulence 1 octaves 5 omega 1 lambda 5
accuracy 0.001
}
rotate <90,-90,0>
translate <-2,0,2>
no_reflection
}
light_source {<5,5,-5>, 1 area_light <6,0,0>, <0,6,0>,9, 9 adaptive 3 jitter }
light_source {<-5,5,-5>, 0.5 shadowless}
camera {
location <5,0,-5>
look_at 0
}
//---EOF----
Post a reply to this message
|
|
|
|
On Tue, 13 Nov 2007 01:25:31 -0500, Meothuru wrote:
> // texture: "Stone with patina" or something like "Corroded iron" //
> render : [800x600, AA 0.1]
>
> #include "textures.inc"
>
--snip--
I like the texture. Is there a way to vary the colors in the patina/rust
so that it might show some color variation?
-->jeff
Post a reply to this message
|
|
|
|
jgentry <jge### [at] gmailcom> wrote:
> On Tue, 13 Nov 2007 01:25:31 -0500, Meothuru wrote:
>
> > // texture: "Stone with patina" or something like "Corroded iron" //
> > render : [800x600, AA 0.1]
> >
> > #include "textures.inc"
> >
>
> --snip--
>
> I like the texture. Is there a way to vary the colors in the patina/rust
> so that it might show some color variation?
>
> -->jeff
Yes there is, try this:
texture{
pigment { cells
turbulence 1 octaves 5 omega 1 lambda 5
color_map{[0.0 color rgb <0.5,0.3,0.1>][0.5 color rgb 0.45][1.0 color rgb
<0.5,0.3,0.1>]}
}
normal { cells -5
turbulence 1 octaves 5 omega 1 lambda 5
accuracy 0.001
}
}
You can then vary colours to your liking. If you want the rust not to have the
reflective finish, declare the above as My_rust and do the following:
#declare My_rust2=
texture{ cells
turbulence 1 octaves 5 omega 1 lambda 5
texture_map {
[0.0 My_rust][0.5 T_Silver_3C][1.0 My_rust]}
};
It looks really convincing, IMO.
Post a reply to this message
|
|