|
|
This is the code i have right now. Looks alright, just the grain
continues into each other "brick"...
-----------------------------------------
#declare WarpScale = 0.3;
#declare MyDeckGrain = texture
{
pigment
{
wood
warp
{
turbulence 0.03725
omega 0.65725
lambda 2.425
}
color_map
{
[ 0.250 color rgb < 1.00000, 0.53373, 0.11665 > ]
[ 0.350 color rgb < 0.66275, 0.28607, 0.00000 > ]
[ 0.525 color rgb < 1.00000, 0.53363, 0.11715 > ]
[ 0.600 color rgb < 0.66475, 0.28647, 0.00000 > ]
[ 0.750 color rgb < 1.00000, 0.53353, 0.11565 > ]
[ 0.850 color rgb < 0.66275, 0.28667, 0.00000 > ]
[ 1.000 color rgb < 1.00000, 0.53143, 0.11795 > ]
}
scale < 0.205, 0.225, 1.2 >
warp { repeat x*WarpScale offset y*2.427 flip y }
}
rotate < 0.0, 90.0, 0.0 >
}
#declare MyDeckLumber = texture
{
pigment
{
wood
scale 1.01275
turbulence 0.0435
omega 0.65
lambda 3.15
color_map
{
[ 0.200 color rgbt < 0.56695, 0.17347, 0.00000, 0.8250 > ]
[ 0.350 color rgbt < 0.96471, 0.54510, 0.22753, 0.7710 > ]
[ 0.400 color rgbt < 0.56341, 0.17547, 0.00000, 0.9150 > ]
[ 0.615 color rgbt < 0.96472, 0.54510, 0.22553, 0.7590 > ]
[ 0.700 color rgbt < 0.56671, 0.17687, 0.00000, 0.7920 > ]
[ 0.850 color rgbt < 0.96485, 0.54510, 0.22453, 0.8975 > ]
[ 1.000 color rgbt < 0.56478, 0.17247, 0.00000, 0.9750 > ]
}
scale < 0.225, 0.2725, 1.0 >
translate < -0.35, 0.095, 1.25 >
warp { repeat x*WarpScale offset -y*0.321 flip z }
}
normal
{
wood 10.0
scale 1.01275
turbulence 0.0435
omega 0.65
lambda 3.15
scale < 0.225, 0.2725, 1.0 >
translate < -0.35, 0.095, 1.25 >
}
finish
{
specular 0.3 roughness 0.12
reflection { 0.001,0.1 fresnel }
}
rotate < 0.0, 90.0, 0.0 >
}
#declare MyDeck2 = texture
{
MyDeckGrain
}
texture
{
MyDeckLumber
}
texture
{
pigment
{
bozo
color_map
{
[ 0.00 color rgbt < 0.71, 0.83, 0.76, 0.35 > ]
[ 1.00 color rgbt < 1.00, 0.98, 0.87, 0.35 > ]
}
turbulence 1.5
scale 1.0
translate < rand(MyRandom)*10, rand(MyRandom)*10, rand(MyRandom)*10 >
rotate < rand(MyRandom)*10, rand(MyRandom)*10, rand(MyRandom)*05 >
}
}
texture
{
pigment
{
brick
pigment { color rgb 0.0 }
pigment { color rgbt < 1.0, 1.0, 1.0, 1.0 > }
brick_size < 7.5, 0.4, WarpScale*10.0 >
mortar 0.01
}
normal
{
brick
brick_size < 7.5, 0.4, WarpScale*10.0 >
mortar 0.02
}
finish { crand 0.1 }
rotate < 90.0, 0.0, 0.0 >
}
---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com
Post a reply to this message
|
|